2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
#ifndef _atari_stdma_h
|
|
|
|
#define _atari_stdma_h
|
|
|
|
|
|
|
|
|
2006-06-25 05:47:00 -07:00
|
|
|
#include <linux/interrupt.h>
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
|
|
/***************************** Prototypes *****************************/
|
|
|
|
|
2014-11-12 16:12:08 +11:00
|
|
|
int stdma_try_lock(irq_handler_t, void *);
|
2006-10-09 12:19:47 +01:00
|
|
|
void stdma_lock(irq_handler_t handler, void *data);
|
2005-04-16 15:20:36 -07:00
|
|
|
void stdma_release( void );
|
|
|
|
int stdma_islocked( void );
|
2014-11-12 16:12:08 +11:00
|
|
|
int stdma_is_locked_by(irq_handler_t);
|
2005-04-16 15:20:36 -07:00
|
|
|
void stdma_init( void );
|
|
|
|
|
|
|
|
/************************* End of Prototypes **************************/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endif /* _atari_stdma_h */
|