Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | |
| 2 | #ifndef _atari_stdma_h |
| 3 | #define _atari_stdma_h |
| 4 | |
| 5 | |
Roman Zippel | b5dc784 | 2006-06-25 05:47:00 -0700 | [diff] [blame] | 6 | #include <linux/interrupt.h> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 7 | |
| 8 | |
| 9 | /***************************** Prototypes *****************************/ |
| 10 | |
David Howells | 40220c1 | 2006-10-09 12:19:47 +0100 | [diff] [blame] | 11 | void stdma_lock(irq_handler_t handler, void *data); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 12 | void stdma_release( void ); |
| 13 | int stdma_others_waiting( void ); |
| 14 | int stdma_islocked( void ); |
| 15 | void *stdma_locked_by( void ); |
| 16 | void stdma_init( void ); |
| 17 | |
| 18 | /************************* End of Prototypes **************************/ |
| 19 | |
| 20 | |
| 21 | |
| 22 | #endif /* _atari_stdma_h */ |