Lines Matching refs:ops
60 if (hw->ops.llseek) in snd_hwdep_llseek()
61 return hw->ops.llseek(hw, file, offset, orig); in snd_hwdep_llseek()
69 if (hw->ops.read) in snd_hwdep_read()
70 return hw->ops.read(hw, buf, count, offset); in snd_hwdep_read()
78 if (hw->ops.write) in snd_hwdep_write()
79 return hw->ops.write(hw, buf, count, offset); in snd_hwdep_write()
116 if (!hw->ops.open) { in snd_hwdep_open()
120 err = hw->ops.open(hw, file); in snd_hwdep_open()
150 if (hw->ops.release) in snd_hwdep_open()
151 hw->ops.release(hw, file); in snd_hwdep_open()
168 if (hw->ops.release) in snd_hwdep_release()
169 err = hw->ops.release(hw, file); in snd_hwdep_release()
183 if (hw->ops.poll) in snd_hwdep_poll()
184 return hw->ops.poll(hw, file, wait); in snd_hwdep_poll()
209 if (! hw->ops.dsp_status) in snd_hwdep_dsp_status()
213 if ((err = hw->ops.dsp_status(hw, &info)) < 0) in snd_hwdep_dsp_status()
226 if (! hw->ops.dsp_load) in snd_hwdep_dsp_load()
236 err = hw->ops.dsp_load(hw, &info); in snd_hwdep_dsp_load()
258 if (hw->ops.ioctl) in snd_hwdep_ioctl()
259 return hw->ops.ioctl(hw, file, cmd, arg); in snd_hwdep_ioctl()
266 if (hw->ops.mmap) in snd_hwdep_mmap()
267 return hw->ops.mmap(hw, file, vma); in snd_hwdep_mmap()
371 static struct snd_device_ops ops = { in snd_hwdep_new() local
399 err = snd_device_new(card, SNDRV_DEV_HWDEP, hwdep, &ops); in snd_hwdep_new()