]> git.ipfire.org Git - people/arne_f/kernel.git/blame - sound/oss/os.h
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[people/arne_f/kernel.git] / sound / oss / os.h
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
1da177e4
LT
2#define ALLOW_SELECT
3#undef NO_INLINE_ASM
4#define SHORT_BANNERS
5#define MANUAL_PNP
6#undef DO_TIMINGS
7
8#include <linux/module.h>
1da177e4
LT
9
10#ifdef __KERNEL__
1da177e4
LT
11#include <linux/string.h>
12#include <linux/fs.h>
13#include <asm/dma.h>
14#include <asm/io.h>
15#include <asm/param.h>
16#include <linux/sched.h>
17#include <linux/slab.h>
18#include <linux/ioport.h>
19#include <asm/page.h>
1da177e4 20#include <linux/vmalloc.h>
7c0f6ba6 21#include <linux/uaccess.h>
1da177e4
LT
22#include <linux/poll.h>
23#include <linux/pci.h>
24#endif
25
26#include <linux/soundcard.h>
27
28#define FALSE 0
29#define TRUE 1
30
31extern int sound_alloc_dma(int chn, char *deviceID);
32extern int sound_open_dma(int chn, char *deviceID);
33extern void sound_free_dma(int chn);
34extern void sound_close_dma(int chn);
35
36extern void reprogram_timer(void);
37
38#define USE_AUTOINIT_DMA
39
40extern void *sound_mem_blocks[1024];
41extern int sound_nblocks;
42
43#undef PSEUDO_DMA_AUTOINIT
44#define ALLOW_BUFFER_MAPPING
45
9c2e08c5 46extern const struct file_operations oss_sound_fops;