Lines Matching refs:hw
122 static int vx_hwdep_open(struct snd_hwdep *hw, struct file *file) in vx_hwdep_open() argument
127 static int vx_hwdep_release(struct snd_hwdep *hw, struct file *file) in vx_hwdep_release() argument
132 static int vx_hwdep_dsp_status(struct snd_hwdep *hw, in vx_hwdep_dsp_status() argument
142 struct vx_core *vx = hw->private_data; in vx_hwdep_dsp_status()
165 static int vx_hwdep_dsp_load(struct snd_hwdep *hw, in vx_hwdep_dsp_load() argument
168 struct vx_core *vx = hw->private_data; in vx_hwdep_dsp_load()
239 struct snd_hwdep *hw; in snd_vx_setup_firmware() local
241 if ((err = snd_hwdep_new(chip->card, SND_VX_HWDEP_ID, 0, &hw)) < 0) in snd_vx_setup_firmware()
244 hw->iface = SNDRV_HWDEP_IFACE_VX; in snd_vx_setup_firmware()
245 hw->private_data = chip; in snd_vx_setup_firmware()
246 hw->ops.open = vx_hwdep_open; in snd_vx_setup_firmware()
247 hw->ops.release = vx_hwdep_release; in snd_vx_setup_firmware()
248 hw->ops.dsp_status = vx_hwdep_dsp_status; in snd_vx_setup_firmware()
249 hw->ops.dsp_load = vx_hwdep_dsp_load; in snd_vx_setup_firmware()
250 hw->exclusive = 1; in snd_vx_setup_firmware()
251 sprintf(hw->name, "VX Loader (%s)", chip->card->driver); in snd_vx_setup_firmware()
252 chip->hwdep = hw; in snd_vx_setup_firmware()