Home
last modified time | relevance | path

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

12

/linux-6.6.21/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()
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, info); in snd_hwdep_control_ioctl()
341 static void snd_hwdep_free(struct snd_hwdep *hwdep) in snd_hwdep_free() argument
343 if (!hwdep) in snd_hwdep_free()
[all …]
DMakefile35 snd-hwdep-objs := hwdep.o
42 obj-$(CONFIG_SND_HWDEP) += snd-hwdep.o
/linux-6.6.21/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()
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, file, cmd, in hwdep_compat_ioctl()
[all …]
/linux-6.6.21/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()
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, file, cmd, in hwdep_compat_ioctl()
[all …]
DMakefile3 oxfw-midi.o oxfw-hwdep.o oxfw-spkr.o oxfw-scs1x.o oxfw.o
/linux-6.6.21/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 \
/linux-6.6.21/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 \
/linux-6.6.21/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 …]
/linux-6.6.21/sound/firewire/fireface/
Dff-hwdep.c26 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, struct file *file, in hwdep_compat_ioctl() argument
177 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 \
/linux-6.6.21/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.h94 struct snd_hwdep *hwdep; member
/linux-6.6.21/sound/firewire/motu/
Dmotu-hwdep.c27 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, struct file *file, in hwdep_compat_ioctl() argument
270 return hwdep_ioctl(hwdep, file, cmd, in hwdep_compat_ioctl()
[all …]
DMakefile5 motu-proc.o motu-pcm.o motu-midi.o motu-hwdep.o \
Dmotu-register-dsp-message-parser.c133 if (!motu->hwdep || motu->hwdep->used == 0) in queue_event()
/linux-6.6.21/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 …]
/linux-6.6.21/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 …]
/linux-6.6.21/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 …]
/linux-6.6.21/sound/synth/emux/
Demux_hwdep.c122 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()
/linux-6.6.21/include/sound/
Dhwdep.h55 void (*private_free) (struct snd_hwdep *hwdep);
Demux_synth.h93 struct snd_hwdep *hwdep; /* hwdep device */ member
/linux-6.6.21/sound/pci/mixart/
Dmixart.h156 struct snd_hwdep *hwdep; /* DSP loader, only for the first card */ member

12