23 lines
475 B
C
23 lines
475 B
C
|
|
||
|
#ifndef _atari_stdma_h
|
||
|
#define _atari_stdma_h
|
||
|
|
||
|
|
||
|
#include <linux/interrupt.h>
|
||
|
|
||
|
|
||
|
/***************************** Prototypes *****************************/
|
||
|
|
||
|
int stdma_try_lock(irq_handler_t, void *);
|
||
|
void stdma_lock(irq_handler_t handler, void *data);
|
||
|
void stdma_release( void );
|
||
|
int stdma_islocked( void );
|
||
|
int stdma_is_locked_by(irq_handler_t);
|
||
|
void stdma_init( void );
|
||
|
|
||
|
/************************* End of Prototypes **************************/
|
||
|
|
||
|
|
||
|
|
||
|
#endif /* _atari_stdma_h */
|