Home
last modified time | relevance | path

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

/linux-4.4.14/sound/core/
Dhwdep.c48 struct snd_hwdep *hwdep; in snd_hwdep_search() local
50 list_for_each_entry(hwdep, &snd_hwdep_devices, list) in snd_hwdep_search()
51 if (hwdep->card == card && hwdep->device == device) in snd_hwdep_search()
52 return hwdep; in snd_hwdep_search()
306 struct snd_hwdep *hwdep; in snd_hwdep_control_ioctl() local
311 hwdep = snd_hwdep_search(card, device); in snd_hwdep_control_ioctl()
312 if (hwdep) in snd_hwdep_control_ioctl()
313 err = snd_hwdep_info(hwdep, info); in snd_hwdep_control_ioctl()
368 struct snd_hwdep *hwdep; in snd_hwdep_new() local
380 hwdep = kzalloc(sizeof(*hwdep), GFP_KERNEL); in snd_hwdep_new()
[all …]
DMakefile32 snd-hwdep-objs := hwdep.o
37 obj-$(CONFIG_SND_HWDEP) += snd-hwdep.o
/linux-4.4.14/sound/pci/hda/
Dhda_hwdep.c100 struct snd_hwdep *hwdep; in snd_hda_create_hwdep() local
104 err = snd_hwdep_new(codec->card, hwname, codec->addr, &hwdep); in snd_hda_create_hwdep()
107 codec->hwdep = hwdep; in snd_hda_create_hwdep()
108 sprintf(hwdep->name, "HDA Codec %d", codec->addr); in snd_hda_create_hwdep()
109 hwdep->iface = SNDRV_HWDEP_IFACE_HDA; in snd_hda_create_hwdep()
110 hwdep->private_data = codec; in snd_hda_create_hwdep()
111 hwdep->exclusive = 1; in snd_hda_create_hwdep()
113 hwdep->ops.open = hda_hwdep_open; in snd_hda_create_hwdep()
114 hwdep->ops.ioctl = hda_hwdep_ioctl; in snd_hda_create_hwdep()
116 hwdep->ops.ioctl_compat = hda_hwdep_ioctl_compat; in snd_hda_create_hwdep()
[all …]
DKconfig42 bool "Build hwdep interface for HD-audio driver"
45 Say Y here to build a hwdep interface for HD-audio driver.
Dhda_codec.h231 struct snd_hwdep *hwdep; /* assigned hwdep device */ member
/linux-4.4.14/sound/firewire/oxfw/
Doxfw-hwdep.c19 static long hwdep_read(struct snd_hwdep *hwdep, char __user *buf, long count, in hwdep_read() argument
22 struct snd_oxfw *oxfw = hwdep->private_data; in hwdep_read()
55 static unsigned int hwdep_poll(struct snd_hwdep *hwdep, struct file *file, in hwdep_poll() argument
58 struct snd_oxfw *oxfw = hwdep->private_data; in hwdep_poll()
128 static int hwdep_release(struct snd_hwdep *hwdep, struct file *file) in hwdep_release() argument
130 struct snd_oxfw *oxfw = hwdep->private_data; in hwdep_release()
140 static int hwdep_ioctl(struct snd_hwdep *hwdep, struct file *file, in hwdep_ioctl() argument
143 struct snd_oxfw *oxfw = hwdep->private_data; in hwdep_ioctl()
158 static int hwdep_compat_ioctl(struct snd_hwdep *hwdep, struct file *file, in hwdep_compat_ioctl() argument
161 return hwdep_ioctl(hwdep, file, cmd, in hwdep_compat_ioctl()
[all …]
DMakefile2 oxfw-proc.o oxfw-midi.o oxfw-hwdep.o oxfw.o
/linux-4.4.14/sound/firewire/digi00x/
Ddigi00x-hwdep.c20 static long hwdep_read(struct snd_hwdep *hwdep, char __user *buf, long count, in hwdep_read() argument
23 struct snd_dg00x *dg00x = hwdep->private_data; in hwdep_read()
63 static unsigned int hwdep_poll(struct snd_hwdep *hwdep, struct file *file, in hwdep_poll() argument
66 struct snd_dg00x *dg00x = hwdep->private_data; in hwdep_poll()
136 static int hwdep_release(struct snd_hwdep *hwdep, struct file *file) in hwdep_release() argument
138 struct snd_dg00x *dg00x = hwdep->private_data; in hwdep_release()
148 static int hwdep_ioctl(struct snd_hwdep *hwdep, struct file *file, in hwdep_ioctl() argument
151 struct snd_dg00x *dg00x = hwdep->private_data; in hwdep_ioctl()
166 static int hwdep_compat_ioctl(struct snd_hwdep *hwdep, struct file *file, in hwdep_compat_ioctl() argument
169 return hwdep_ioctl(hwdep, file, cmd, in hwdep_compat_ioctl()
[all …]
DMakefile2 digi00x-pcm.o digi00x-hwdep.o \
/linux-4.4.14/sound/firewire/dice/
Ddice-hwdep.c12 static long hwdep_read(struct snd_hwdep *hwdep, char __user *buf, in hwdep_read() argument
15 struct snd_dice *dice = hwdep->private_data; in hwdep_read()
55 static unsigned int hwdep_poll(struct snd_hwdep *hwdep, struct file *file, in hwdep_poll() argument
58 struct snd_dice *dice = hwdep->private_data; in hwdep_poll()
128 static int hwdep_release(struct snd_hwdep *hwdep, struct file *file) in hwdep_release() argument
130 struct snd_dice *dice = hwdep->private_data; in hwdep_release()
140 static int hwdep_ioctl(struct snd_hwdep *hwdep, struct file *file, in hwdep_ioctl() argument
143 struct snd_dice *dice = hwdep->private_data; in hwdep_ioctl()
158 static int hwdep_compat_ioctl(struct snd_hwdep *hwdep, struct file *file, in hwdep_compat_ioctl() argument
161 return hwdep_ioctl(hwdep, file, cmd, in hwdep_compat_ioctl()
[all …]
DMakefile2 dice-pcm.o dice-hwdep.o dice.o
/linux-4.4.14/sound/firewire/bebob/
Dbebob_hwdep.c20 hwdep_read(struct snd_hwdep *hwdep, char __user *buf, long count, in hwdep_read() argument
23 struct snd_bebob *bebob = hwdep->private_data; in hwdep_read()
57 hwdep_poll(struct snd_hwdep *hwdep, struct file *file, poll_table *wait) in hwdep_poll() argument
59 struct snd_bebob *bebob = hwdep->private_data; in hwdep_poll()
133 hwdep_release(struct snd_hwdep *hwdep, struct file *file) in hwdep_release() argument
135 struct snd_bebob *bebob = hwdep->private_data; in hwdep_release()
146 hwdep_ioctl(struct snd_hwdep *hwdep, struct file *file, in hwdep_ioctl() argument
149 struct snd_bebob *bebob = hwdep->private_data; in hwdep_ioctl()
165 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 …]
/linux-4.4.14/sound/firewire/tascam/
Dtascam-hwdep.c38 static long hwdep_read(struct snd_hwdep *hwdep, char __user *buf, long count, in hwdep_read() argument
41 struct snd_tscm *tscm = hwdep->private_data; in hwdep_read()
64 static unsigned int hwdep_poll(struct snd_hwdep *hwdep, struct file *file, in hwdep_poll() argument
67 struct snd_tscm *tscm = hwdep->private_data; in hwdep_poll()
137 static int hwdep_release(struct snd_hwdep *hwdep, struct file *file) in hwdep_release() argument
139 struct snd_tscm *tscm = hwdep->private_data; in hwdep_release()
149 static int hwdep_ioctl(struct snd_hwdep *hwdep, struct file *file, in hwdep_ioctl() argument
152 struct snd_tscm *tscm = hwdep->private_data; in hwdep_ioctl()
167 static int hwdep_compat_ioctl(struct snd_hwdep *hwdep, struct file *file, in hwdep_compat_ioctl() argument
170 return hwdep_ioctl(hwdep, file, cmd, in hwdep_compat_ioctl()
[all …]
DMakefile2 tascam-pcm.o tascam-hwdep.o tascam-transaction.o \
/linux-4.4.14/sound/firewire/fireworks/
Dfireworks_hwdep.c96 hwdep_read(struct snd_hwdep *hwdep, char __user *buf, long count, in hwdep_read() argument
99 struct snd_efw *efw = hwdep->private_data; in hwdep_read()
125 hwdep_write(struct snd_hwdep *hwdep, const char __user *data, long count, in hwdep_write() argument
128 struct snd_efw *efw = hwdep->private_data; in hwdep_write()
155 hwdep_poll(struct snd_hwdep *hwdep, struct file *file, poll_table *wait) in hwdep_poll() argument
157 struct snd_efw *efw = hwdep->private_data; in hwdep_poll()
231 hwdep_release(struct snd_hwdep *hwdep, struct file *file) in hwdep_release() argument
233 struct snd_efw *efw = hwdep->private_data; in hwdep_release()
244 hwdep_ioctl(struct snd_hwdep *hwdep, struct file *file, in hwdep_ioctl() argument
247 struct snd_efw *efw = hwdep->private_data; in hwdep_ioctl()
[all …]
/linux-4.4.14/sound/drivers/opl3/
Dopl3_seq.c55 struct snd_hwdep *hwdep = opl3->hwdep; in snd_opl3_synth_setup() local
57 mutex_lock(&hwdep->open_mutex); in snd_opl3_synth_setup()
58 if (hwdep->used) { in snd_opl3_synth_setup()
59 mutex_unlock(&hwdep->open_mutex); in snd_opl3_synth_setup()
62 hwdep->used++; in snd_opl3_synth_setup()
63 mutex_unlock(&hwdep->open_mutex); in snd_opl3_synth_setup()
86 struct snd_hwdep *hwdep; in snd_opl3_synth_cleanup() local
97 hwdep = opl3->hwdep; in snd_opl3_synth_cleanup()
98 mutex_lock(&hwdep->open_mutex); in snd_opl3_synth_cleanup()
99 hwdep->used--; in snd_opl3_synth_cleanup()
[all …]
Dopl3_lib.c529 opl3->hwdep = hw; in snd_opl3_hwdep_new()
/linux-4.4.14/sound/synth/emux/
Demux_hwdep.c127 emu->hwdep = hw; in snd_emux_init_hwdep()
149 if (emu->hwdep) { in snd_emux_delete_hwdep()
150 snd_device_free(emu->card, emu->hwdep); in snd_emux_delete_hwdep()
151 emu->hwdep = NULL; in snd_emux_delete_hwdep()
/linux-4.4.14/include/sound/
Dhwdep.h70 void (*private_free) (struct snd_hwdep *hwdep);
Demux_synth.h108 struct snd_hwdep *hwdep; /* hwdep device */ member
Dopl3.h318 struct snd_hwdep *hwdep; member
Dvx_core.h172 struct snd_hwdep *hwdep; member
/linux-4.4.14/sound/usb/
Dmixer_quirks.c252 struct snd_hwdep *hwdep; in snd_usb_soundblaster_remote_init() local
265 err = snd_hwdep_new(mixer->chip->card, "SB remote control", 0, &hwdep); in snd_usb_soundblaster_remote_init()
268 snprintf(hwdep->name, sizeof(hwdep->name), in snd_usb_soundblaster_remote_init()
270 hwdep->iface = SNDRV_HWDEP_IFACE_SB_RC; in snd_usb_soundblaster_remote_init()
271 hwdep->private_data = mixer; in snd_usb_soundblaster_remote_init()
272 hwdep->ops.read = snd_usb_sbrc_hwdep_read; in snd_usb_soundblaster_remote_init()
273 hwdep->ops.poll = snd_usb_sbrc_hwdep_poll; in snd_usb_soundblaster_remote_init()
274 hwdep->exclusive = 1; in snd_usb_soundblaster_remote_init()
/linux-4.4.14/sound/pci/mixart/
Dmixart.h173 struct snd_hwdep *hwdep; /* DSP loader, only for the first card */ member
/linux-4.4.14/Documentation/DocBook/
D.alsa-driver-api.xml.cmd2 …s.c sound/soc/soc-dapm.c sound/soc/soc-generic-dmaengine-pcm.c sound/core/hwdep.c include/sound/ja…
D.device-drivers.xml.cmd2 … sound/core/isadma.c sound/core/control.c sound/core/pcm_lib.c sound/core/hwdep.c sound/core/pcm_n…
Dalsa-driver-api.xml.db331 API-snd-hwdep-new
Ddevice-drivers.xml.db767 API-snd-hwdep-new
/linux-4.4.14/Documentation/sound/alsa/
DProcfile.txt36 hwdep
37 Lists the currently available hwdep devices in format of
DHD-Audio.txt292 below. You'd need to enable hwdep for using these tools. See "Kernel
321 hda-verb and hda-analyzer, the hwdep device has to be enabled.
325 hwdep option above. When enabled, you'll have some sysfs files under
326 the corresponding hwdep directory. See "HD-audio reconfiguration"
357 files are available under each codec-hwdep device directory (e.g.
724 configuration via hwdep sysfs file if hda-reconfig option is enabled.
726 `probe_only=3` as module option). The hwdep interface can be used
734 This program accesses the hwdep device, thus you need to enable the
737 The hda-verb program takes four arguments: the hwdep device file, the
Dhdspm.txt96 hwdep-interface.
99 hwdep-interface. Since it could be a performance problem always
DALSA-Configuration.txt235 enable_hpi_hwdep - enable HPI hwdep for AudioScience soundcard
/linux-4.4.14/sound/usb/usx2y/
Dusx2yhwdeppcm.c700 static void snd_usX2Y_hwdep_pcm_private_free(struct snd_hwdep *hwdep) in snd_usX2Y_hwdep_pcm_private_free() argument
702 struct usX2Ydev *usX2Y = hwdep->private_data; in snd_usX2Y_hwdep_pcm_private_free()
/linux-4.4.14/sound/isa/sb/
Dsb16_csp.c168 static void snd_sb_csp_free(struct snd_hwdep *hwdep) in snd_sb_csp_free() argument
171 struct snd_sb_csp *p = hwdep->private_data; in snd_sb_csp_free()
/linux-4.4.14/sound/pci/rme9652/
Dhdsp.c502 struct snd_hwdep *hwdep; member
4895 hdsp->hwdep = hw; in snd_hdsp_create_hwdep()
Dhdspm.c1056 struct snd_hwdep *hwdep; /* and a hwdep for additional ioctl */ member
6386 hdspm->hwdep = hw; in snd_hdspm_create_hwdep()