root/drivers/sound/os.h

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

INCLUDED FROM


   1 
   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/timer.h>
  22 #include <linux/tty.h>
  23 #include <linux/ctype.h>
  24 #include <asm/io.h>
  25 #include <asm/segment.h>
  26 #include <asm/system.h>
  27 #include <asm/dma.h>
  28 #include <sys/kd.h>
  29 #include <linux/wait.h>
  30 #include <linux/malloc.h>
  31 #include <linux/string.h>
  32 #include <linux/ioport.h>
  33 #include <linux/utsname.h>
  34 
  35 #include <linux/wrapper.h>
  36 
  37 #include <linux/soundcard.h>
  38 
  39 #define FALSE   0
  40 #define TRUE    1
  41 
  42 struct snd_wait {
  43           int mode;
  44         };
  45 
  46 extern int sound_alloc_dma(int chn, char *deviceID);
  47 extern int sound_open_dma(int chn, char *deviceID);
  48 extern void sound_free_dma(int chn);
  49 extern void sound_close_dma(int chn);
  50 
  51 #define RUNTIME_DMA_ALLOC
  52 
  53 extern caddr_t sound_mem_blocks[1024];
  54 extern int sound_num_blocks;
  55 
  56 #undef PSEUDO_DMA_AUTOINIT
  57 #define ALLOW_BUFFER_MAPPING
  58 

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