atari_stdma.h 514 B

123456789101112131415161718192021222324
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #ifndef _atari_stdma_h
  3. #define _atari_stdma_h
  4. #include <linux/interrupt.h>
  5. /***************************** Prototypes *****************************/
  6. int stdma_try_lock(irq_handler_t, void *);
  7. void stdma_lock(irq_handler_t handler, void *data);
  8. void stdma_release( void );
  9. int stdma_islocked( void );
  10. int stdma_is_locked_by(irq_handler_t);
  11. void stdma_init( void );
  12. /************************* End of Prototypes **************************/
  13. #endif /* _atari_stdma_h */