Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros
sb16_csp.h File Reference

Go to the source code of this file.

Data Structures

struct  snd_sb_csp_mc_header
 
struct  snd_sb_csp_microcode
 
struct  snd_sb_csp_start
 
struct  snd_sb_csp_info
 

Macros

#define SNDRV_SB_CSP_MODE_NONE   0x00
 
#define SNDRV_SB_CSP_MODE_DSP_READ   0x01 /* Record from DSP */
 
#define SNDRV_SB_CSP_MODE_DSP_WRITE   0x02 /* Play to DSP */
 
#define SNDRV_SB_CSP_MODE_QSOUND   0x04 /* QSound */
 
#define SNDRV_SB_CSP_LOAD_FROMUSER   0x01
 
#define SNDRV_SB_CSP_LOAD_INITBLOCK   0x02
 
#define SNDRV_SB_CSP_SAMPLE_8BIT   0x01
 
#define SNDRV_SB_CSP_SAMPLE_16BIT   0x02
 
#define SNDRV_SB_CSP_MONO   0x01
 
#define SNDRV_SB_CSP_STEREO   0x02
 
#define SNDRV_SB_CSP_RATE_8000   0x01
 
#define SNDRV_SB_CSP_RATE_11025   0x02
 
#define SNDRV_SB_CSP_RATE_22050   0x04
 
#define SNDRV_SB_CSP_RATE_44100   0x08
 
#define SNDRV_SB_CSP_RATE_ALL   0x0f
 
#define SNDRV_SB_CSP_ST_IDLE   0x00
 
#define SNDRV_SB_CSP_ST_LOADED   0x01
 
#define SNDRV_SB_CSP_ST_RUNNING   0x02
 
#define SNDRV_SB_CSP_ST_PAUSED   0x04
 
#define SNDRV_SB_CSP_ST_AUTO   0x08
 
#define SNDRV_SB_CSP_ST_QSOUND   0x10
 
#define SNDRV_SB_CSP_QSOUND_MAX_RIGHT   0x20
 
#define SNDRV_SB_CSP_MAX_MICROCODE_FILE_SIZE   0x3000
 
#define SNDRV_SB_CSP_IOCTL_INFO   _IOR('H', 0x10, struct snd_sb_csp_info)
 
#define SNDRV_SB_CSP_IOCTL_LOAD_CODE   _IOC(_IOC_WRITE, 'H', 0x11, sizeof(struct snd_sb_csp_microcode))
 
#define SNDRV_SB_CSP_IOCTL_UNLOAD_CODE   _IO('H', 0x12)
 
#define SNDRV_SB_CSP_IOCTL_START   _IOW('H', 0x13, struct snd_sb_csp_start)
 
#define SNDRV_SB_CSP_IOCTL_STOP   _IO('H', 0x14)
 
#define SNDRV_SB_CSP_IOCTL_PAUSE   _IO('H', 0x15)
 
#define SNDRV_SB_CSP_IOCTL_RESTART   _IO('H', 0x16)
 

Macro Definition Documentation

#define SNDRV_SB_CSP_IOCTL_INFO   _IOR('H', 0x10, struct snd_sb_csp_info)

Definition at line 100 of file sb16_csp.h.

#define SNDRV_SB_CSP_IOCTL_LOAD_CODE   _IOC(_IOC_WRITE, 'H', 0x11, sizeof(struct snd_sb_csp_microcode))

Definition at line 108 of file sb16_csp.h.

#define SNDRV_SB_CSP_IOCTL_PAUSE   _IO('H', 0x15)

Definition at line 117 of file sb16_csp.h.

#define SNDRV_SB_CSP_IOCTL_RESTART   _IO('H', 0x16)

Definition at line 119 of file sb16_csp.h.

#define SNDRV_SB_CSP_IOCTL_START   _IOW('H', 0x13, struct snd_sb_csp_start)

Definition at line 113 of file sb16_csp.h.

#define SNDRV_SB_CSP_IOCTL_STOP   _IO('H', 0x14)

Definition at line 115 of file sb16_csp.h.

#define SNDRV_SB_CSP_IOCTL_UNLOAD_CODE   _IO('H', 0x12)

Definition at line 111 of file sb16_csp.h.

#define SNDRV_SB_CSP_LOAD_FROMUSER   0x01

Definition at line 33 of file sb16_csp.h.

#define SNDRV_SB_CSP_LOAD_INITBLOCK   0x02

Definition at line 34 of file sb16_csp.h.

#define SNDRV_SB_CSP_MAX_MICROCODE_FILE_SIZE   0x3000

Definition at line 63 of file sb16_csp.h.

#define SNDRV_SB_CSP_MODE_DSP_READ   0x01 /* Record from DSP */

Definition at line 28 of file sb16_csp.h.

#define SNDRV_SB_CSP_MODE_DSP_WRITE   0x02 /* Play to DSP */

Definition at line 29 of file sb16_csp.h.

#define SNDRV_SB_CSP_MODE_NONE   0x00

Definition at line 27 of file sb16_csp.h.

#define SNDRV_SB_CSP_MODE_QSOUND   0x04 /* QSound */

Definition at line 30 of file sb16_csp.h.

#define SNDRV_SB_CSP_MONO   0x01

Definition at line 41 of file sb16_csp.h.

#define SNDRV_SB_CSP_QSOUND_MAX_RIGHT   0x20

Definition at line 60 of file sb16_csp.h.

#define SNDRV_SB_CSP_RATE_11025   0x02

Definition at line 46 of file sb16_csp.h.

#define SNDRV_SB_CSP_RATE_22050   0x04

Definition at line 47 of file sb16_csp.h.

#define SNDRV_SB_CSP_RATE_44100   0x08

Definition at line 48 of file sb16_csp.h.

#define SNDRV_SB_CSP_RATE_8000   0x01

Definition at line 45 of file sb16_csp.h.

#define SNDRV_SB_CSP_RATE_ALL   0x0f

Definition at line 49 of file sb16_csp.h.

#define SNDRV_SB_CSP_SAMPLE_16BIT   0x02

Definition at line 38 of file sb16_csp.h.

#define SNDRV_SB_CSP_SAMPLE_8BIT   0x01

Definition at line 37 of file sb16_csp.h.

#define SNDRV_SB_CSP_ST_AUTO   0x08

Definition at line 56 of file sb16_csp.h.

#define SNDRV_SB_CSP_ST_IDLE   0x00

Definition at line 52 of file sb16_csp.h.

#define SNDRV_SB_CSP_ST_LOADED   0x01

Definition at line 53 of file sb16_csp.h.

#define SNDRV_SB_CSP_ST_PAUSED   0x04

Definition at line 55 of file sb16_csp.h.

#define SNDRV_SB_CSP_ST_QSOUND   0x10

Definition at line 57 of file sb16_csp.h.

#define SNDRV_SB_CSP_ST_RUNNING   0x02

Definition at line 54 of file sb16_csp.h.

#define SNDRV_SB_CSP_STEREO   0x02

Definition at line 42 of file sb16_csp.h.