repo: https://github.com/T-head-Semi/linux commit: b1313fe517ca3703119dcc99ef3bbf75ab42bcfb Change-Id: I6cbb35294024ea3a66140e311f4bb705fd7fd626
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 */
|