root/drivers/sound/os.h

/* [previous][next][first][last][top][bottom][index][help] */

INCLUDED FROM


   1 #define ALLOW_SELECT
   2 #undef ALLOW_BUFFER_MAPPING
   3 #undef NO_INLINE_ASM
   4 #undef SHORT_BANNERS
   5 
   6 #include <linux/param.h>
   7 #include <linux/types.h>
   8 #include <linux/errno.h>
   9 #include <linux/signal.h>
  10 #include <linux/fcntl.h>
  11 #include <linux/sched.h>
  12 #include <linux/timer.h>
  13 #include <linux/tty.h>
  14 #include <linux/ctype.h>
  15 #include <asm/io.h>
  16 #include <asm/segment.h>
  17 #include <asm/system.h>
  18 #include <asm/dma.h>
  19 #include <sys/kd.h>
  20 #include <linux/wait.h>
  21 #include <linux/malloc.h>
  22 #include <linux/string.h>
  23 #include <linux/ioport.h>
  24 
  25 
  26 #include <linux/soundcard.h>
  27 
  28 typedef char snd_rw_buf;
  29 typedef caddr_t ioctl_arg;
  30 
  31 #define FALSE   0
  32 #define TRUE    1
  33 
  34 struct snd_wait {
  35           int mode;
  36         };
  37 
  38 extern int sound_alloc_dma(int chn, char *deviceID);
  39 extern int sound_open_dma(int chn, char *deviceID);
  40 extern void sound_free_dma(int chn);
  41 extern void sound_close_dma(int chn);
  42 
  43 #define RUNTIME_DMA_ALLOC
  44 
  45 extern caddr_t sound_mem_blocks[1024];
  46 extern int sound_num_blocks;
  47 
  48 typedef int sound_os_info;

/* [previous][next][first][last][top][bottom][index][help] */