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 | |
| 6 | #include <asm/irq.h> |
| 7 | |
| 8 | |
| 9 | /***************************** Prototypes *****************************/ |
| 10 | |
| 11 | void stdma_lock(irqreturn_t (*handler)(int, void *, struct pt_regs *), |
| 12 | void *data); |
| 13 | void stdma_release( void ); |
| 14 | int stdma_others_waiting( void ); |
| 15 | int stdma_islocked( void ); |
| 16 | void *stdma_locked_by( void ); |
| 17 | void stdma_init( void ); |
| 18 | |
| 19 | /************************* End of Prototypes **************************/ |
| 20 | |
| 21 | |
| 22 | |
| 23 | #endif /* _atari_stdma_h */ |