forked from Qortal/Brooklyn
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
514 B
24 lines
514 B
3 years ago
|
/* SPDX-License-Identifier: GPL-2.0 */
|
||
|
|
||
|
#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 */
|