Lines Matching defs:hwdep
16 #include <sound/hwdep.h>
544 /* NOTE: hwdep layer provides atomicity here */
564 line6_hwdep_read(struct snd_hwdep *hwdep, char __user *buf, long count,
567 struct usb_line6 *line6 = hwdep->private_data;
605 line6_hwdep_write(struct snd_hwdep *hwdep, const char __user *data, long count,
608 struct usb_line6 *line6 = hwdep->private_data;
628 line6_hwdep_poll(struct snd_hwdep *hwdep, struct file *file, poll_table *wait)
630 struct usb_line6 *line6 = hwdep->private_data;
664 struct snd_hwdep *hwdep;
673 err = snd_hwdep_new(line6->card, "config", 0, &hwdep);
676 strscpy(hwdep->name, "config");
677 hwdep->iface = SNDRV_HWDEP_IFACE_LINE6;
678 hwdep->ops = hwdep_ops;
679 hwdep->private_data = line6;
680 hwdep->exclusive = true;