root/drivers/sound/os.h

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

INCLUDED FROM


   1 
   2 #define ALLOW_SELECT
   3 #define ALLOW_BUFFER_MAPPING
   4 #undef NO_INLINE_ASM
   5 #undef SHORT_BANNERS
   6 
   7 #ifdef MODULE
   8 #include <linux/config.h>
   9 #include <linux/module.h>
  10 #include <linux/version.h>
  11 #endif
  12 
  13 #include <linux/param.h>
  14 #include <linux/types.h>
  15 #include <linux/errno.h>
  16 #include <linux/signal.h>
  17 #include <linux/fcntl.h>
  18 #include <linux/sched.h>
  19 #include <linux/timer.h>
  20 #include <linux/tty.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 <sys/kd.h>
  27 #include <linux/wait.h>
  28 #include <linux/malloc.h>
  29 #include <linux/string.h>
  30 #include <linux/ioport.h>
  31 
  32 #include <linux/soundcard.h>
  33 
  34 typedef char snd_rw_buf;
  35 typedef caddr_t ioctl_arg;
  36 
  37 #define FALSE   0
  38 #define TRUE    1
  39 
  40 struct snd_wait {
  41           int mode; int aborting;
  42         };
  43 
  44 extern int sound_alloc_dma(int chn, char *deviceID);
  45 extern int sound_open_dma(int chn, char *deviceID);
  46 extern void sound_free_dma(int chn);
  47 extern void sound_close_dma(int chn);
  48 
  49 #define RUNTIME_DMA_ALLOC
  50 
  51 extern caddr_t sound_mem_blocks[1024];
  52 extern int sound_num_blocks;
  53 
  54 #define SND_SA_INTERRUPT
  55 
  56 typedef int sound_os_info;

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