2005-04-16 22:20:36 +00:00
|
|
|
|
|
|
|
#ifndef _atari_stdma_h
|
|
|
|
#define _atari_stdma_h
|
|
|
|
|
|
|
|
|
2006-06-25 12:47:00 +00:00
|
|
|
#include <linux/interrupt.h>
|
2005-04-16 22:20:36 +00:00
|
|
|
|
|
|
|
|
|
|
|
/***************************** Prototypes *****************************/
|
|
|
|
|
|
|
|
void stdma_lock(irqreturn_t (*handler)(int, void *, struct pt_regs *),
|
|
|
|
void *data);
|
|
|
|
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 */
|