Linux Audio

Check our new training course

Loading...
v5.9
 1/* SPDX-License-Identifier: GPL-2.0 */
 2
 3#ifndef _atari_stdma_h
 4#define _atari_stdma_h
 5
 6
 7#include <linux/interrupt.h>
 8
 9
10/***************************** Prototypes *****************************/
11
12int stdma_try_lock(irq_handler_t, void *);
13void stdma_lock(irq_handler_t handler, void *data);
14void stdma_release( void );
15int stdma_islocked( void );
16int stdma_is_locked_by(irq_handler_t);
17void stdma_init( void );
18
19/************************* End of Prototypes **************************/
20
21
22
23#endif  /* _atari_stdma_h */
v6.8
 1/* SPDX-License-Identifier: GPL-2.0 */
 2
 3#ifndef _atari_stdma_h
 4#define _atari_stdma_h
 5
 6
 7#include <linux/interrupt.h>
 8
 9
10/***************************** Prototypes *****************************/
11
12int stdma_try_lock(irq_handler_t, void *);
13void stdma_lock(irq_handler_t handler, void *data);
14void stdma_release( void );
15int stdma_islocked( void );
16int stdma_is_locked_by(irq_handler_t);
17void stdma_init( void );
18
19/************************* End of Prototypes **************************/
20
21
22
23#endif  /* _atari_stdma_h */