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 */
v3.5.6
 
 1
 2#ifndef _atari_stdma_h
 3#define _atari_stdma_h
 4
 5
 6#include <linux/interrupt.h>
 7
 8
 9/***************************** Prototypes *****************************/
10
 
11void stdma_lock(irq_handler_t handler, void *data);
12void stdma_release( void );
13int stdma_others_waiting( void );
14int stdma_islocked( void );
15void *stdma_locked_by( void );
16void stdma_init( void );
17
18/************************* End of Prototypes **************************/
19
20
21
22#endif  /* _atari_stdma_h */