Go to the documentation of this file. 1 #ifndef __SOUND_ASOUND_FM_H
2 #define __SOUND_ASOUND_FM_H
29 #define SNDRV_DM_FM_MODE_OPL2 0x00
30 #define SNDRV_DM_FM_MODE_OPL3 0x01
99 #define SNDRV_DM_FM_IOCTL_INFO _IOR('H', 0x20, struct snd_dm_fm_info)
100 #define SNDRV_DM_FM_IOCTL_RESET _IO ('H', 0x21)
101 #define SNDRV_DM_FM_IOCTL_PLAY_NOTE _IOW('H', 0x22, struct snd_dm_fm_note)
102 #define SNDRV_DM_FM_IOCTL_SET_VOICE _IOW('H', 0x23, struct snd_dm_fm_voice)
103 #define SNDRV_DM_FM_IOCTL_SET_PARAMS _IOW('H', 0x24, struct snd_dm_fm_params)
104 #define SNDRV_DM_FM_IOCTL_SET_MODE _IOW('H', 0x25, int)
106 #define SNDRV_DM_FM_IOCTL_SET_CONNECTION _IOW('H', 0x26, int)
108 #define SNDRV_DM_FM_IOCTL_CLEAR_PATCHES _IO ('H', 0x40)
110 #define SNDRV_DM_FM_OSS_IOCTL_RESET 0x20
111 #define SNDRV_DM_FM_OSS_IOCTL_PLAY_NOTE 0x21
112 #define SNDRV_DM_FM_OSS_IOCTL_SET_VOICE 0x22
113 #define SNDRV_DM_FM_OSS_IOCTL_SET_PARAMS 0x23
114 #define SNDRV_DM_FM_OSS_IOCTL_SET_MODE 0x24
115 #define SNDRV_DM_FM_OSS_IOCTL_SET_OPL 0x25
121 #define FM_KEY_SBI "SBI\032"
122 #define FM_KEY_2OP "2OP\032"
123 #define FM_KEY_4OP "4OP\032"