Lines Matching refs:hwdep
577 line6_hwdep_read(struct snd_hwdep *hwdep, char __user *buf, long count, in line6_hwdep_read() argument
580 struct usb_line6 *line6 = hwdep->private_data; in line6_hwdep_read()
615 line6_hwdep_write(struct snd_hwdep *hwdep, const char __user *data, long count, in line6_hwdep_write() argument
618 struct usb_line6 *line6 = hwdep->private_data; in line6_hwdep_write()
662 struct snd_hwdep *hwdep; in line6_hwdep_init() local
671 err = snd_hwdep_new(line6->card, "config", 0, &hwdep); in line6_hwdep_init()
674 strcpy(hwdep->name, "config"); in line6_hwdep_init()
675 hwdep->iface = SNDRV_HWDEP_IFACE_LINE6; in line6_hwdep_init()
676 hwdep->ops = hwdep_ops; in line6_hwdep_init()
677 hwdep->private_data = line6; in line6_hwdep_init()
678 hwdep->exclusive = true; in line6_hwdep_init()