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

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