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

Go to the source code of this file.

Data Structures

struct  snd_dm_fm_info
 
struct  snd_dm_fm_voice
 
struct  snd_dm_fm_note
 
struct  snd_dm_fm_params
 
struct  sbi_patch
 

Macros

#define SNDRV_DM_FM_MODE_OPL2   0x00
 
#define SNDRV_DM_FM_MODE_OPL3   0x01
 
#define SNDRV_DM_FM_IOCTL_INFO   _IOR('H', 0x20, struct snd_dm_fm_info)
 
#define SNDRV_DM_FM_IOCTL_RESET   _IO ('H', 0x21)
 
#define SNDRV_DM_FM_IOCTL_PLAY_NOTE   _IOW('H', 0x22, struct snd_dm_fm_note)
 
#define SNDRV_DM_FM_IOCTL_SET_VOICE   _IOW('H', 0x23, struct snd_dm_fm_voice)
 
#define SNDRV_DM_FM_IOCTL_SET_PARAMS   _IOW('H', 0x24, struct snd_dm_fm_params)
 
#define SNDRV_DM_FM_IOCTL_SET_MODE   _IOW('H', 0x25, int)
 
#define SNDRV_DM_FM_IOCTL_SET_CONNECTION   _IOW('H', 0x26, int)
 
#define SNDRV_DM_FM_IOCTL_CLEAR_PATCHES   _IO ('H', 0x40)
 
#define SNDRV_DM_FM_OSS_IOCTL_RESET   0x20
 
#define SNDRV_DM_FM_OSS_IOCTL_PLAY_NOTE   0x21
 
#define SNDRV_DM_FM_OSS_IOCTL_SET_VOICE   0x22
 
#define SNDRV_DM_FM_OSS_IOCTL_SET_PARAMS   0x23
 
#define SNDRV_DM_FM_OSS_IOCTL_SET_MODE   0x24
 
#define SNDRV_DM_FM_OSS_IOCTL_SET_OPL   0x25
 
#define FM_KEY_SBI   "SBI\032"
 
#define FM_KEY_2OP   "2OP\032"
 
#define FM_KEY_4OP   "4OP\032"
 

Macro Definition Documentation

#define FM_KEY_2OP   "2OP\032"

Definition at line 122 of file asound_fm.h.

#define FM_KEY_4OP   "4OP\032"

Definition at line 123 of file asound_fm.h.

#define FM_KEY_SBI   "SBI\032"

Definition at line 121 of file asound_fm.h.

#define SNDRV_DM_FM_IOCTL_CLEAR_PATCHES   _IO ('H', 0x40)

Definition at line 108 of file asound_fm.h.

#define SNDRV_DM_FM_IOCTL_INFO   _IOR('H', 0x20, struct snd_dm_fm_info)

Definition at line 99 of file asound_fm.h.

#define SNDRV_DM_FM_IOCTL_PLAY_NOTE   _IOW('H', 0x22, struct snd_dm_fm_note)

Definition at line 101 of file asound_fm.h.

#define SNDRV_DM_FM_IOCTL_RESET   _IO ('H', 0x21)

Definition at line 100 of file asound_fm.h.

#define SNDRV_DM_FM_IOCTL_SET_CONNECTION   _IOW('H', 0x26, int)

Definition at line 106 of file asound_fm.h.

#define SNDRV_DM_FM_IOCTL_SET_MODE   _IOW('H', 0x25, int)

Definition at line 104 of file asound_fm.h.

#define SNDRV_DM_FM_IOCTL_SET_PARAMS   _IOW('H', 0x24, struct snd_dm_fm_params)

Definition at line 103 of file asound_fm.h.

#define SNDRV_DM_FM_IOCTL_SET_VOICE   _IOW('H', 0x23, struct snd_dm_fm_voice)

Definition at line 102 of file asound_fm.h.

#define SNDRV_DM_FM_MODE_OPL2   0x00

Definition at line 29 of file asound_fm.h.

#define SNDRV_DM_FM_MODE_OPL3   0x01

Definition at line 30 of file asound_fm.h.

#define SNDRV_DM_FM_OSS_IOCTL_PLAY_NOTE   0x21

Definition at line 111 of file asound_fm.h.

#define SNDRV_DM_FM_OSS_IOCTL_RESET   0x20

Definition at line 110 of file asound_fm.h.

#define SNDRV_DM_FM_OSS_IOCTL_SET_MODE   0x24

Definition at line 114 of file asound_fm.h.

#define SNDRV_DM_FM_OSS_IOCTL_SET_OPL   0x25

Definition at line 115 of file asound_fm.h.

#define SNDRV_DM_FM_OSS_IOCTL_SET_PARAMS   0x23

Definition at line 113 of file asound_fm.h.

#define SNDRV_DM_FM_OSS_IOCTL_SET_VOICE   0x22

Definition at line 112 of file asound_fm.h.