mirror of https://gitee.com/openkylin/linux.git
24 lines
514 B
C
24 lines
514 B
C
/* 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 */
|