Lines Matching refs:hw
79 snd_emux_hwdep_ioctl(struct snd_hwdep * hw, struct file *file, in snd_emux_hwdep_ioctl() argument
82 struct snd_emux *emu = hw->private_data; in snd_emux_hwdep_ioctl()
116 struct snd_hwdep *hw; in snd_emux_init_hwdep() local
119 err = snd_hwdep_new(emu->card, SNDRV_EMUX_HWDEP_NAME, emu->hwdep_idx, &hw); in snd_emux_init_hwdep()
122 emu->hwdep = hw; in snd_emux_init_hwdep()
123 strcpy(hw->name, SNDRV_EMUX_HWDEP_NAME); in snd_emux_init_hwdep()
124 hw->iface = SNDRV_HWDEP_IFACE_EMUX_WAVETABLE; in snd_emux_init_hwdep()
125 hw->ops.ioctl = snd_emux_hwdep_ioctl; in snd_emux_init_hwdep()
128 hw->ops.ioctl_compat = snd_emux_hwdep_ioctl; in snd_emux_init_hwdep()
129 hw->exclusive = 1; in snd_emux_init_hwdep()
130 hw->private_data = emu; in snd_emux_init_hwdep()