2005-04-17 00:20:36 +02:00
|
|
|
|
|
|
|
#ifndef _atari_stdma_h
|
|
|
|
#define _atari_stdma_h
|
|
|
|
|
|
|
|
|
2006-06-25 14:47:00 +02:00
|
|
|
#include <linux/interrupt.h>
|
2005-04-17 00:20:36 +02:00
|
|
|
|
|
|
|
|
|
|
|
/***************************** Prototypes *****************************/
|
|
|
|
|
2006-10-09 13:19:47 +02:00
|
|
|
void stdma_lock(irq_handler_t handler, void *data);
|
2005-04-17 00:20:36 +02:00
|
|
|
void stdma_release( void );
|
|
|
|
int stdma_others_waiting( void );
|
|
|
|
int stdma_islocked( void );
|
|
|
|
void *stdma_locked_by( void );
|
|
|
|
void stdma_init( void );
|
|
|
|
|
|
|
|
/************************* End of Prototypes **************************/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endif /* _atari_stdma_h */
|