Lines Matching refs:hw
85 snd_emux_hwdep_ioctl(struct snd_hwdep * hw, struct file *file,
88 struct snd_emux *emu = hw->private_data;
122 struct snd_hwdep *hw;
125 if ((err = snd_hwdep_new(emu->card, SNDRV_EMUX_HWDEP_NAME, emu->hwdep_idx, &hw)) < 0)
127 emu->hwdep = hw;
128 strcpy(hw->name, SNDRV_EMUX_HWDEP_NAME);
129 hw->iface = SNDRV_HWDEP_IFACE_EMUX_WAVETABLE;
130 hw->ops.ioctl = snd_emux_hwdep_ioctl;
131 hw->exclusive = 1;
132 hw->private_data = emu;