Lines Matching refs:hwdep
16 #include <sound/hwdep.h>
540 /* NOTE: hwdep layer provides atomicity here */
560 line6_hwdep_read(struct snd_hwdep *hwdep, char __user *buf, long count,
563 struct usb_line6 *line6 = hwdep->private_data;
601 line6_hwdep_write(struct snd_hwdep *hwdep, const char __user *data, long count,
604 struct usb_line6 *line6 = hwdep->private_data;
624 line6_hwdep_poll(struct snd_hwdep *hwdep, struct file *file, poll_table *wait)
627 struct usb_line6 *line6 = hwdep->private_data;
664 struct snd_hwdep *hwdep;
673 err = snd_hwdep_new(line6->card, "config", 0, &hwdep);
676 strcpy(hwdep->name, "config");
677 hwdep->iface = SNDRV_HWDEP_IFACE_LINE6;
678 hwdep->ops = hwdep_ops;
679 hwdep->private_data = line6;
680 hwdep->exclusive = true;