Home
last modified time | relevance | path

Searched refs:hwdep (Results 1 – 25 of 41) sorted by relevance

12

/kernel/linux/linux-5.10/sound/core/
Dhwdep.c34 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, info); in snd_hwdep_control_ioctl()
361 struct snd_hwdep *hwdep; in snd_hwdep_new() local
373 hwdep = kzalloc(sizeof(*hwdep), GFP_KERNEL); in snd_hwdep_new()
[all …]
DMakefile36 snd-hwdep-objs := hwdep.o
42 obj-$(CONFIG_SND_HWDEP) += snd-hwdep.o
/kernel/linux/linux-5.10/sound/firewire/bebob/
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, file, cmd, in hwdep_compat_ioctl()
[all …]
/kernel/linux/linux-5.10/sound/firewire/fireface/
Dff-hwdep.c18 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, struct file *file, in hwdep_compat_ioctl() argument
160 return hwdep_ioctl(hwdep, file, cmd, in hwdep_compat_ioctl()
[all …]
DMakefile3 ff-stream.o ff-pcm.o ff-hwdep.o ff-protocol-former.o \
/kernel/linux/linux-5.10/sound/firewire/digi00x/
Ddigi00x-hwdep.c19 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, struct file *file, in hwdep_compat_ioctl() argument
168 return hwdep_ioctl(hwdep, file, cmd, in hwdep_compat_ioctl()
[all …]
DMakefile3 digi00x-pcm.o digi00x-hwdep.o \
/kernel/linux/linux-5.10/sound/firewire/dice/
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, file, cmd, in hwdep_compat_ioctl()
[all …]
DMakefile3 dice-pcm.o dice-hwdep.o dice.o dice-tcelectronic.o \
/kernel/linux/linux-5.10/sound/firewire/oxfw/
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, file, cmd, in hwdep_compat_ioctl()
[all …]
DMakefile3 oxfw-midi.o oxfw-hwdep.o oxfw-spkr.o oxfw-scs1x.o oxfw.o
/kernel/linux/linux-5.10/sound/firewire/motu/
Dmotu-hwdep.c19 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, struct file *file, in hwdep_compat_ioctl() argument
167 return hwdep_ioctl(hwdep, file, cmd, in hwdep_compat_ioctl()
[all …]
DMakefile5 motu-proc.o motu-pcm.o motu-midi.o motu-hwdep.o \
/kernel/linux/linux-5.10/sound/pci/hda/
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->ops.ioctl = hda_hwdep_ioctl; in snd_hda_create_hwdep()
113 hwdep->ops.ioctl_compat = hda_hwdep_ioctl_compat; in snd_hda_create_hwdep()
[all …]
/kernel/linux/linux-5.10/sound/firewire/tascam/
Dtascam-hwdep.c98 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, struct file *file, in hwdep_compat_ioctl() argument
245 return hwdep_ioctl(hwdep, file, cmd, in hwdep_compat_ioctl()
[all …]
DMakefile3 tascam-pcm.o tascam-hwdep.o tascam-transaction.o \
Dtascam.h96 struct snd_hwdep *hwdep; member
/kernel/linux/linux-5.10/sound/firewire/fireworks/
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->private_data; in hwdep_ioctl()
[all …]
/kernel/linux/linux-5.10/sound/drivers/opl3/
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()
84 mutex_lock(&hwdep->open_mutex); in snd_opl3_synth_cleanup()
85 hwdep->used--; in snd_opl3_synth_cleanup()
[all …]
/kernel/linux/linux-5.10/sound/usb/line6/
Ddriver.c560 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()
676 strcpy(hwdep->name, "config"); in line6_hwdep_init()
677 hwdep->iface = SNDRV_HWDEP_IFACE_LINE6; in line6_hwdep_init()
[all …]
/kernel/linux/linux-5.10/sound/synth/emux/
Demux_hwdep.c121 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-5.10/include/sound/
Dhwdep.h55 void (*private_free) (struct snd_hwdep *hwdep);
Demux_synth.h93 struct snd_hwdep *hwdep; /* hwdep device */ member
Dopl3.h300 struct snd_hwdep *hwdep; member
/kernel/linux/linux-5.10/sound/pci/mixart/
Dmixart.h156 struct snd_hwdep *hwdep; /* DSP loader, only for the first card */ member

12