OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rc203soc/] [sw/] [uClinux/] [drivers/] [sound/] [os.h] - Blame information for rev 1772

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1626 jcastillo
 
2
#define ALLOW_SELECT
3
#undef NO_INLINE_ASM
4
#define SHORT_BANNERS
5
 
6
#ifdef MODULE
7
#define __NO_VERSION__
8
#include <linux/module.h>
9
#include <linux/version.h>
10
#ifdef MODVERSIONS
11
#include <linux/modversions.h>
12
#endif
13
#endif
14
 
15
#include <linux/param.h>
16
#include <linux/types.h>
17
#include <linux/errno.h>
18
#include <linux/signal.h>
19
#include <linux/fcntl.h>
20
#include <linux/sched.h>
21
#include <linux/ctype.h>
22
#include <asm/io.h>
23
#include <asm/segment.h>
24
#include <asm/system.h>
25
#include <asm/dma.h>
26
#include <linux/wait.h>
27
#include <linux/malloc.h>
28
#include <linux/string.h>
29
#include <linux/ioport.h>
30
#include <linux/utsname.h>
31
 
32
#include <linux/wrapper.h>
33
 
34
#include <linux/soundcard.h>
35
 
36
#define FALSE   0
37
#define TRUE    1
38
 
39
struct snd_wait {
40
          int flags;
41
        };
42
 
43
extern int sound_alloc_dma(int chn, char *deviceID);
44
extern int sound_open_dma(int chn, char *deviceID);
45
extern void sound_free_dma(int chn);
46
extern void sound_close_dma(int chn);
47
 
48
#define RUNTIME_DMA_ALLOC
49
 
50
extern caddr_t sound_mem_blocks[1024];
51
extern int sound_nblocks;
52
 
53
#undef PSEUDO_DMA_AUTOINIT
54
#define ALLOW_BUFFER_MAPPING
55
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.