b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame^] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
| 2 | |
| 3 | #ifndef _atari_stdma_h |
| 4 | #define _atari_stdma_h |
| 5 | |
| 6 | |
| 7 | #include <linux/interrupt.h> |
| 8 | |
| 9 | |
| 10 | /***************************** Prototypes *****************************/ |
| 11 | |
| 12 | int stdma_try_lock(irq_handler_t, void *); |
| 13 | void stdma_lock(irq_handler_t handler, void *data); |
| 14 | void stdma_release( void ); |
| 15 | int stdma_islocked( void ); |
| 16 | int stdma_is_locked_by(irq_handler_t); |
| 17 | void stdma_init( void ); |
| 18 | |
| 19 | /************************* End of Prototypes **************************/ |
| 20 | |
| 21 | |
| 22 | |
| 23 | #endif /* _atari_stdma_h */ |