Home
last modified time | relevance | path

Searched refs:hwdep (Results 1 - 25 of 105) sorted by relevance

12345

/kernel/linux/linux-6.6/sound/core/
H A Dhwdep.c17 #include <sound/hwdep.h>
34 struct snd_hwdep *hwdep; in snd_hwdep_search() local
36 list_for_each_entry(hwdep, &snd_hwdep_devices, list) in snd_hwdep_search()
37 if (hwdep->card == card && hwdep->device == device) in snd_hwdep_search()
38 return hwdep; in snd_hwdep_search()
300 struct snd_hwdep *hwdep; in snd_hwdep_control_ioctl() local
305 hwdep = snd_hwdep_search(card, device); in snd_hwdep_control_ioctl()
306 if (hwdep) in snd_hwdep_control_ioctl()
307 err = snd_hwdep_info(hwdep, inf in snd_hwdep_control_ioctl()
341 snd_hwdep_free(struct snd_hwdep *hwdep) snd_hwdep_free() argument
367 struct snd_hwdep *hwdep; snd_hwdep_new() local
421 struct snd_hwdep *hwdep = device->device_data; snd_hwdep_dev_register() local
463 struct snd_hwdep *hwdep = device->device_data; snd_hwdep_dev_disconnect() local
493 struct snd_hwdep *hwdep; snd_hwdep_proc_read() local
[all...]
/kernel/linux/linux-5.10/sound/core/
H A Dhwdep.c17 #include <sound/hwdep.h>
34 struct snd_hwdep *hwdep; in snd_hwdep_search() local
36 list_for_each_entry(hwdep, &snd_hwdep_devices, list) in snd_hwdep_search()
37 if (hwdep->card == card && hwdep->device == device) in snd_hwdep_search()
38 return hwdep; in snd_hwdep_search()
299 struct snd_hwdep *hwdep; in snd_hwdep_control_ioctl() local
304 hwdep = snd_hwdep_search(card, device); in snd_hwdep_control_ioctl()
305 if (hwdep) in snd_hwdep_control_ioctl()
306 err = snd_hwdep_info(hwdep, inf in snd_hwdep_control_ioctl()
361 struct snd_hwdep *hwdep; snd_hwdep_new() local
405 struct snd_hwdep *hwdep = device->device_data; snd_hwdep_dev_free() local
416 struct snd_hwdep *hwdep = device->device_data; snd_hwdep_dev_register() local
458 struct snd_hwdep *hwdep = device->device_data; snd_hwdep_dev_disconnect() local
488 struct snd_hwdep *hwdep; snd_hwdep_proc_read() local
[all...]
/kernel/linux/linux-5.10/sound/firewire/digi00x/
H A Ddigi00x-hwdep.c3 * digi00x-hwdep.c - a part of driver for Digidesign Digi 002/003 family
19 static long hwdep_read(struct snd_hwdep *hwdep, char __user *buf, long count, in hwdep_read() argument
22 struct snd_dg00x *dg00x = hwdep->private_data; in hwdep_read()
62 static __poll_t hwdep_poll(struct snd_hwdep *hwdep, struct file *file, in hwdep_poll() argument
65 struct snd_dg00x *dg00x = hwdep->private_data; in hwdep_poll()
135 static int hwdep_release(struct snd_hwdep *hwdep, struct file *file) in hwdep_release() argument
137 struct snd_dg00x *dg00x = hwdep->private_data; in hwdep_release()
147 static int hwdep_ioctl(struct snd_hwdep *hwdep, struct file *file, in hwdep_ioctl() argument
150 struct snd_dg00x *dg00x = hwdep->private_data; in hwdep_ioctl()
165 static int hwdep_compat_ioctl(struct snd_hwdep *hwdep, struc argument
184 struct snd_hwdep *hwdep; snd_dg00x_create_hwdep_device() local
[all...]
/kernel/linux/linux-5.10/sound/firewire/oxfw/
H A Doxfw-hwdep.c18 static long hwdep_read(struct snd_hwdep *hwdep, char __user *buf, long count, in hwdep_read() argument
21 struct snd_oxfw *oxfw = hwdep->private_data; in hwdep_read()
54 static __poll_t hwdep_poll(struct snd_hwdep *hwdep, struct file *file, in hwdep_poll() argument
57 struct snd_oxfw *oxfw = hwdep->private_data; in hwdep_poll()
127 static int hwdep_release(struct snd_hwdep *hwdep, struct file *file) in hwdep_release() argument
129 struct snd_oxfw *oxfw = hwdep->private_data; in hwdep_release()
139 static int hwdep_ioctl(struct snd_hwdep *hwdep, struct file *file, in hwdep_ioctl() argument
142 struct snd_oxfw *oxfw = hwdep->private_data; in hwdep_ioctl()
157 static int hwdep_compat_ioctl(struct snd_hwdep *hwdep, struct file *file, in hwdep_compat_ioctl() argument
160 return hwdep_ioctl(hwdep, fil in hwdep_compat_ioctl()
176 struct snd_hwdep *hwdep; snd_oxfw_create_hwdep() local
[all...]
/kernel/linux/linux-5.10/sound/firewire/bebob/
H A Dbebob_hwdep.c19 hwdep_read(struct snd_hwdep *hwdep, char __user *buf, long count, in hwdep_read() argument
22 struct snd_bebob *bebob = hwdep->private_data; in hwdep_read()
55 hwdep_poll(struct snd_hwdep *hwdep, struct file *file, poll_table *wait) in hwdep_poll() argument
57 struct snd_bebob *bebob = hwdep->private_data; in hwdep_poll()
131 hwdep_release(struct snd_hwdep *hwdep, struct file *file) in hwdep_release() argument
133 struct snd_bebob *bebob = hwdep->private_data; in hwdep_release()
144 hwdep_ioctl(struct snd_hwdep *hwdep, struct file *file, in hwdep_ioctl() argument
147 struct snd_bebob *bebob = hwdep->private_data; in hwdep_ioctl()
163 hwdep_compat_ioctl(struct snd_hwdep *hwdep, struct file *file, in hwdep_compat_ioctl() argument
166 return hwdep_ioctl(hwdep, fil in hwdep_compat_ioctl()
182 struct snd_hwdep *hwdep; snd_bebob_create_hwdep_device() local
[all...]
/kernel/linux/linux-5.10/sound/firewire/fireface/
H A Dff-hwdep.c3 * ff-hwdep.c - a part of driver for RME Fireface series
18 static long hwdep_read(struct snd_hwdep *hwdep, char __user *buf, long count, in hwdep_read() argument
21 struct snd_ff *ff = hwdep->private_data; in hwdep_read()
54 static __poll_t hwdep_poll(struct snd_hwdep *hwdep, struct file *file, in hwdep_poll() argument
57 struct snd_ff *ff = hwdep->private_data; in hwdep_poll()
127 static int hwdep_release(struct snd_hwdep *hwdep, struct file *file) in hwdep_release() argument
129 struct snd_ff *ff = hwdep->private_data; in hwdep_release()
139 static int hwdep_ioctl(struct snd_hwdep *hwdep, struct file *file, in hwdep_ioctl() argument
142 struct snd_ff *ff = hwdep->private_data; in hwdep_ioctl()
157 static int hwdep_compat_ioctl(struct snd_hwdep *hwdep, struc argument
176 struct snd_hwdep *hwdep; snd_ff_create_hwdep_devices() local
[all...]
/kernel/linux/linux-5.10/sound/firewire/dice/
H A Ddice-hwdep.c11 static long hwdep_read(struct snd_hwdep *hwdep, char __user *buf, in hwdep_read() argument
14 struct snd_dice *dice = hwdep->private_data; in hwdep_read()
54 static __poll_t hwdep_poll(struct snd_hwdep *hwdep, struct file *file, in hwdep_poll() argument
57 struct snd_dice *dice = hwdep->private_data; in hwdep_poll()
127 static int hwdep_release(struct snd_hwdep *hwdep, struct file *file) in hwdep_release() argument
129 struct snd_dice *dice = hwdep->private_data; in hwdep_release()
139 static int hwdep_ioctl(struct snd_hwdep *hwdep, struct file *file, in hwdep_ioctl() argument
142 struct snd_dice *dice = hwdep->private_data; in hwdep_ioctl()
157 static int hwdep_compat_ioctl(struct snd_hwdep *hwdep, struct file *file, in hwdep_compat_ioctl() argument
160 return hwdep_ioctl(hwdep, fil in hwdep_compat_ioctl()
176 struct snd_hwdep *hwdep; snd_dice_create_hwdep() local
[all...]
/kernel/linux/linux-5.10/sound/firewire/motu/
H A Dmotu-hwdep.c3 * motu-hwdep.c - a part of driver for MOTU FireWire series
19 static long hwdep_read(struct snd_hwdep *hwdep, char __user *buf, long count, in hwdep_read() argument
22 struct snd_motu *motu = hwdep->private_data; in hwdep_read()
61 static __poll_t hwdep_poll(struct snd_hwdep *hwdep, struct file *file, in hwdep_poll() argument
64 struct snd_motu *motu = hwdep->private_data; in hwdep_poll()
134 static int hwdep_release(struct snd_hwdep *hwdep, struct file *file) in hwdep_release() argument
136 struct snd_motu *motu = hwdep->private_data; in hwdep_release()
146 static int hwdep_ioctl(struct snd_hwdep *hwdep, struct file *file, in hwdep_ioctl() argument
149 struct snd_motu *motu = hwdep->private_data; in hwdep_ioctl()
164 static int hwdep_compat_ioctl(struct snd_hwdep *hwdep, struc argument
183 struct snd_hwdep *hwdep; snd_motu_create_hwdep_device() local
[all...]
/kernel/linux/linux-6.6/sound/firewire/bebob/
H A Dbebob_hwdep.c19 hwdep_read(struct snd_hwdep *hwdep, char __user *buf, long count, in hwdep_read() argument
22 struct snd_bebob *bebob = hwdep->private_data; in hwdep_read()
53 hwdep_poll(struct snd_hwdep *hwdep, struct file *file, poll_table *wait) in hwdep_poll() argument
55 struct snd_bebob *bebob = hwdep->private_data; in hwdep_poll()
129 hwdep_release(struct snd_hwdep *hwdep, struct file *file) in hwdep_release() argument
131 struct snd_bebob *bebob = hwdep->private_data; in hwdep_release()
142 hwdep_ioctl(struct snd_hwdep *hwdep, struct file *file, in hwdep_ioctl() argument
145 struct snd_bebob *bebob = hwdep->private_data; in hwdep_ioctl()
161 hwdep_compat_ioctl(struct snd_hwdep *hwdep, struct file *file, in hwdep_compat_ioctl() argument
164 return hwdep_ioctl(hwdep, fil in hwdep_compat_ioctl()
180 struct snd_hwdep *hwdep; snd_bebob_create_hwdep_device() local
[all...]
/kernel/linux/linux-6.6/sound/firewire/dice/
H A Ddice-hwdep.c11 static long hwdep_read(struct snd_hwdep *hwdep, char __user *buf, in hwdep_read() argument
14 struct snd_dice *dice = hwdep->private_data; in hwdep_read()
54 static __poll_t hwdep_poll(struct snd_hwdep *hwdep, struct file *file, in hwdep_poll() argument
57 struct snd_dice *dice = hwdep->private_data; in hwdep_poll()
127 static int hwdep_release(struct snd_hwdep *hwdep, struct file *file) in hwdep_release() argument
129 struct snd_dice *dice = hwdep->private_data; in hwdep_release()
139 static int hwdep_ioctl(struct snd_hwdep *hwdep, struct file *file, in hwdep_ioctl() argument
142 struct snd_dice *dice = hwdep->private_data; in hwdep_ioctl()
157 static int hwdep_compat_ioctl(struct snd_hwdep *hwdep, struct file *file, in hwdep_compat_ioctl() argument
160 return hwdep_ioctl(hwdep, fil in hwdep_compat_ioctl()
176 struct snd_hwdep *hwdep; snd_dice_create_hwdep() local
[all...]
/kernel/linux/linux-6.6/sound/firewire/digi00x/
H A Ddigi00x-hwdep.c3 * digi00x-hwdep.c - a part of driver for Digidesign Digi 002/003 family
19 static long hwdep_read(struct snd_hwdep *hwdep, char __user *buf, long count, in hwdep_read() argument
22 struct snd_dg00x *dg00x = hwdep->private_data; in hwdep_read()
62 static __poll_t hwdep_poll(struct snd_hwdep *hwdep, struct file *file, in hwdep_poll() argument
65 struct snd_dg00x *dg00x = hwdep->private_data; in hwdep_poll()
135 static int hwdep_release(struct snd_hwdep *hwdep, struct file *file) in hwdep_release() argument
137 struct snd_dg00x *dg00x = hwdep->private_data; in hwdep_release()
147 static int hwdep_ioctl(struct snd_hwdep *hwdep, struct file *file, in hwdep_ioctl() argument
150 struct snd_dg00x *dg00x = hwdep->private_data; in hwdep_ioctl()
165 static int hwdep_compat_ioctl(struct snd_hwdep *hwdep, struc argument
184 struct snd_hwdep *hwdep; snd_dg00x_create_hwdep_device() local
[all...]
/kernel/linux/linux-6.6/sound/firewire/fireface/
H A Dff-hwdep.c3 * ff-hwdep.c - a part of driver for RME Fireface series
26 static long hwdep_read(struct snd_hwdep *hwdep, char __user *buf, long count, in hwdep_read() argument
29 struct snd_ff *ff = hwdep->private_data; in hwdep_read()
71 static __poll_t hwdep_poll(struct snd_hwdep *hwdep, struct file *file, in hwdep_poll() argument
74 struct snd_ff *ff = hwdep->private_data; in hwdep_poll()
144 static int hwdep_release(struct snd_hwdep *hwdep, struct file *file) in hwdep_release() argument
146 struct snd_ff *ff = hwdep->private_data; in hwdep_release()
156 static int hwdep_ioctl(struct snd_hwdep *hwdep, struct file *file, in hwdep_ioctl() argument
159 struct snd_ff *ff = hwdep->private_data; in hwdep_ioctl()
174 static int hwdep_compat_ioctl(struct snd_hwdep *hwdep, struc argument
193 struct snd_hwdep *hwdep; snd_ff_create_hwdep_devices() local
[all...]
/kernel/linux/linux-6.6/sound/firewire/oxfw/
H A Doxfw-hwdep.c18 static long hwdep_read(struct snd_hwdep *hwdep, char __user *buf, long count, in hwdep_read() argument
21 struct snd_oxfw *oxfw = hwdep->private_data; in hwdep_read()
52 static __poll_t hwdep_poll(struct snd_hwdep *hwdep, struct file *file, in hwdep_poll() argument
55 struct snd_oxfw *oxfw = hwdep->private_data; in hwdep_poll()
125 static int hwdep_release(struct snd_hwdep *hwdep, struct file *file) in hwdep_release() argument
127 struct snd_oxfw *oxfw = hwdep->private_data; in hwdep_release()
137 static int hwdep_ioctl(struct snd_hwdep *hwdep, struct file *file, in hwdep_ioctl() argument
140 struct snd_oxfw *oxfw = hwdep->private_data; in hwdep_ioctl()
155 static int hwdep_compat_ioctl(struct snd_hwdep *hwdep, struct file *file, in hwdep_compat_ioctl() argument
158 return hwdep_ioctl(hwdep, fil in hwdep_compat_ioctl()
174 struct snd_hwdep *hwdep; snd_oxfw_create_hwdep() local
[all...]
/kernel/linux/linux-5.10/sound/firewire/tascam/
H A Dtascam-hwdep.c3 * tascam-hwdep.c - a part of driver for TASCAM FireWire series
98 static long hwdep_read(struct snd_hwdep *hwdep, char __user *buf, long count, in hwdep_read() argument
101 struct snd_tscm *tscm = hwdep->private_data; in hwdep_read()
129 static __poll_t hwdep_poll(struct snd_hwdep *hwdep, struct file *file, in hwdep_poll() argument
132 struct snd_tscm *tscm = hwdep->private_data; in hwdep_poll()
210 static int hwdep_release(struct snd_hwdep *hwdep, struct file *file) in hwdep_release() argument
212 struct snd_tscm *tscm = hwdep->private_data; in hwdep_release()
222 static int hwdep_ioctl(struct snd_hwdep *hwdep, struct file *file, in hwdep_ioctl() argument
225 struct snd_tscm *tscm = hwdep->private_data; in hwdep_ioctl()
242 static int hwdep_compat_ioctl(struct snd_hwdep *hwdep, struc argument
261 struct snd_hwdep *hwdep; snd_tscm_create_hwdep_device() local
[all...]
/kernel/linux/linux-6.6/sound/firewire/tascam/
H A Dtascam-hwdep.c3 * tascam-hwdep.c - a part of driver for TASCAM FireWire series
98 static long hwdep_read(struct snd_hwdep *hwdep, char __user *buf, long count, in hwdep_read() argument
101 struct snd_tscm *tscm = hwdep->private_data; in hwdep_read()
129 static __poll_t hwdep_poll(struct snd_hwdep *hwdep, struct file *file, in hwdep_poll() argument
132 struct snd_tscm *tscm = hwdep->private_data; in hwdep_poll()
210 static int hwdep_release(struct snd_hwdep *hwdep, struct file *file) in hwdep_release() argument
212 struct snd_tscm *tscm = hwdep->private_data; in hwdep_release()
222 static int hwdep_ioctl(struct snd_hwdep *hwdep, struct file *file, in hwdep_ioctl() argument
225 struct snd_tscm *tscm = hwdep->private_data; in hwdep_ioctl()
242 static int hwdep_compat_ioctl(struct snd_hwdep *hwdep, struc argument
261 struct snd_hwdep *hwdep; snd_tscm_create_hwdep_device() local
[all...]
/kernel/linux/linux-5.10/sound/pci/hda/
H A Dhda_hwdep.c97 struct snd_hwdep *hwdep; in snd_hda_create_hwdep() local
101 err = snd_hwdep_new(codec->card, hwname, codec->addr, &hwdep); in snd_hda_create_hwdep()
104 codec->hwdep = hwdep; in snd_hda_create_hwdep()
105 sprintf(hwdep->name, "HDA Codec %d", codec->addr); in snd_hda_create_hwdep()
106 hwdep->iface = SNDRV_HWDEP_IFACE_HDA; in snd_hda_create_hwdep()
107 hwdep->private_data = codec; in snd_hda_create_hwdep()
108 hwdep->exclusive = 1; in snd_hda_create_hwdep()
110 hwdep->ops.open = hda_hwdep_open; in snd_hda_create_hwdep()
111 hwdep in snd_hda_create_hwdep()
[all...]
/kernel/linux/linux-6.6/sound/pci/hda/
H A Dhda_hwdep.c97 struct snd_hwdep *hwdep; in snd_hda_create_hwdep() local
101 err = snd_hwdep_new(codec->card, hwname, codec->addr, &hwdep); in snd_hda_create_hwdep()
104 codec->hwdep = hwdep; in snd_hda_create_hwdep()
105 sprintf(hwdep->name, "HDA Codec %d", codec->addr); in snd_hda_create_hwdep()
106 hwdep->iface = SNDRV_HWDEP_IFACE_HDA; in snd_hda_create_hwdep()
107 hwdep->private_data = codec; in snd_hda_create_hwdep()
108 hwdep->exclusive = 1; in snd_hda_create_hwdep()
110 hwdep->ops.open = hda_hwdep_open; in snd_hda_create_hwdep()
111 hwdep in snd_hda_create_hwdep()
[all...]
/kernel/linux/linux-5.10/sound/firewire/fireworks/
H A Dfireworks_hwdep.c122 hwdep_read(struct snd_hwdep *hwdep, char __user *buf, long count, in hwdep_read() argument
125 struct snd_efw *efw = hwdep->private_data; in hwdep_read()
158 hwdep_write(struct snd_hwdep *hwdep, const char __user *data, long count, in hwdep_write() argument
161 struct snd_efw *efw = hwdep->private_data; in hwdep_write()
188 hwdep_poll(struct snd_hwdep *hwdep, struct file *file, poll_table *wait) in hwdep_poll() argument
190 struct snd_efw *efw = hwdep->private_data; in hwdep_poll()
264 hwdep_release(struct snd_hwdep *hwdep, struct file *file) in hwdep_release() argument
266 struct snd_efw *efw = hwdep->private_data; in hwdep_release()
277 hwdep_ioctl(struct snd_hwdep *hwdep, struct file *file, in hwdep_ioctl() argument
280 struct snd_efw *efw = hwdep in hwdep_ioctl()
296 hwdep_compat_ioctl(struct snd_hwdep *hwdep, struct file *file, unsigned int cmd, unsigned long arg) hwdep_compat_ioctl() argument
316 struct snd_hwdep *hwdep; snd_efw_create_hwdep_device() local
[all...]
/kernel/linux/linux-6.6/sound/firewire/fireworks/
H A Dfireworks_hwdep.c122 hwdep_read(struct snd_hwdep *hwdep, char __user *buf, long count, in hwdep_read() argument
125 struct snd_efw *efw = hwdep->private_data; in hwdep_read()
158 hwdep_write(struct snd_hwdep *hwdep, const char __user *data, long count, in hwdep_write() argument
161 struct snd_efw *efw = hwdep->private_data; in hwdep_write()
188 hwdep_poll(struct snd_hwdep *hwdep, struct file *file, poll_table *wait) in hwdep_poll() argument
190 struct snd_efw *efw = hwdep->private_data; in hwdep_poll()
264 hwdep_release(struct snd_hwdep *hwdep, struct file *file) in hwdep_release() argument
266 struct snd_efw *efw = hwdep->private_data; in hwdep_release()
277 hwdep_ioctl(struct snd_hwdep *hwdep, struct file *file, in hwdep_ioctl() argument
280 struct snd_efw *efw = hwdep in hwdep_ioctl()
296 hwdep_compat_ioctl(struct snd_hwdep *hwdep, struct file *file, unsigned int cmd, unsigned long arg) hwdep_compat_ioctl() argument
316 struct snd_hwdep *hwdep; snd_efw_create_hwdep_device() local
[all...]
/kernel/linux/linux-6.6/sound/firewire/motu/
H A Dmotu-hwdep.c3 * motu-hwdep.c - a part of driver for MOTU FireWire series
27 static long hwdep_read(struct snd_hwdep *hwdep, char __user *buf, long count, in hwdep_read() argument
30 struct snd_motu *motu = hwdep->private_data; in hwdep_read()
99 static __poll_t hwdep_poll(struct snd_hwdep *hwdep, struct file *file, in hwdep_poll() argument
102 struct snd_motu *motu = hwdep->private_data; in hwdep_poll()
172 static int hwdep_release(struct snd_hwdep *hwdep, struct file *file) in hwdep_release() argument
174 struct snd_motu *motu = hwdep->private_data; in hwdep_release()
184 static int hwdep_ioctl(struct snd_hwdep *hwdep, struct file *file, in hwdep_ioctl() argument
187 struct snd_motu *motu = hwdep->private_data; in hwdep_ioctl()
267 static int hwdep_compat_ioctl(struct snd_hwdep *hwdep, struc argument
286 struct snd_hwdep *hwdep; snd_motu_create_hwdep_device() local
[all...]
/kernel/linux/linux-5.10/sound/drivers/opl3/
H A Dopl3_seq.c41 struct snd_hwdep *hwdep = opl3->hwdep; in snd_opl3_synth_setup() local
43 mutex_lock(&hwdep->open_mutex); in snd_opl3_synth_setup()
44 if (hwdep->used) { in snd_opl3_synth_setup()
45 mutex_unlock(&hwdep->open_mutex); in snd_opl3_synth_setup()
48 hwdep->used++; in snd_opl3_synth_setup()
49 mutex_unlock(&hwdep->open_mutex); in snd_opl3_synth_setup()
72 struct snd_hwdep *hwdep; in snd_opl3_synth_cleanup() local
83 hwdep = opl3->hwdep; in snd_opl3_synth_cleanup()
[all...]
/kernel/linux/linux-6.6/sound/drivers/opl3/
H A Dopl3_seq.c41 struct snd_hwdep *hwdep = opl3->hwdep; in snd_opl3_synth_setup() local
43 mutex_lock(&hwdep->open_mutex); in snd_opl3_synth_setup()
44 if (hwdep->used) { in snd_opl3_synth_setup()
45 mutex_unlock(&hwdep->open_mutex); in snd_opl3_synth_setup()
48 hwdep->used++; in snd_opl3_synth_setup()
49 mutex_unlock(&hwdep->open_mutex); in snd_opl3_synth_setup()
72 struct snd_hwdep *hwdep; in snd_opl3_synth_cleanup() local
83 hwdep = opl3->hwdep; in snd_opl3_synth_cleanup()
[all...]
/kernel/linux/linux-5.10/sound/synth/emux/
H A Demux_hwdep.c3 * Interface for hwdep device
9 #include <sound/hwdep.h>
110 * register hwdep device
121 emu->hwdep = hw; in snd_emux_init_hwdep()
143 if (emu->hwdep) { in snd_emux_delete_hwdep()
144 snd_device_free(emu->card, emu->hwdep); in snd_emux_delete_hwdep()
145 emu->hwdep = NULL; in snd_emux_delete_hwdep()
/kernel/linux/linux-6.6/sound/synth/emux/
H A Demux_hwdep.c3 * Interface for hwdep device
9 #include <sound/hwdep.h>
110 * register hwdep device
122 emu->hwdep = hw; in snd_emux_init_hwdep()
145 if (emu->hwdep) { in snd_emux_delete_hwdep()
146 snd_device_free(emu->card, emu->hwdep); in snd_emux_delete_hwdep()
147 emu->hwdep = NULL; in snd_emux_delete_hwdep()
/kernel/linux/linux-5.10/sound/usb/line6/
H A Ddriver.c16 #include <sound/hwdep.h>
540 /* NOTE: hwdep layer provides atomicity here */ in line6_hwdep_open()
560 line6_hwdep_read(struct snd_hwdep *hwdep, char __user *buf, long count, in line6_hwdep_read() argument
563 struct usb_line6 *line6 = hwdep->private_data; in line6_hwdep_read()
601 line6_hwdep_write(struct snd_hwdep *hwdep, const char __user *data, long count, in line6_hwdep_write() argument
604 struct usb_line6 *line6 = hwdep->private_data; in line6_hwdep_write()
624 line6_hwdep_poll(struct snd_hwdep *hwdep, struct file *file, poll_table *wait) in line6_hwdep_poll() argument
627 struct usb_line6 *line6 = hwdep->private_data; in line6_hwdep_poll()
664 struct snd_hwdep *hwdep; in line6_hwdep_init() local
673 err = snd_hwdep_new(line6->card, "config", 0, &hwdep); in line6_hwdep_init()
[all...]

Completed in 11 milliseconds

12345