/linux-4.1.27/sound/core/ |
D | hwdep.c | 48 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 …]
|
D | Makefile | 26 snd-hwdep-objs := hwdep.o 31 obj-$(CONFIG_SND_HWDEP) += snd-hwdep.o
|
/linux-4.1.27/sound/pci/hda/ |
D | hda_hwdep.c | 100 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 …]
|
D | Kconfig | 58 bool "Build hwdep interface for HD-audio driver" 61 Say Y here to build a hwdep interface for HD-audio driver.
|
D | hda_codec.h | 257 struct snd_hwdep *hwdep; /* assigned hwdep device */ member
|
/linux-4.1.27/sound/firewire/bebob/ |
D | bebob_hwdep.c | 20 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.1.27/sound/firewire/dice/ |
D | dice-hwdep.c | 12 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 …]
|
D | Makefile | 2 dice-pcm.o dice-hwdep.o dice.o
|
/linux-4.1.27/sound/firewire/oxfw/ |
D | oxfw-hwdep.c | 19 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 …]
|
D | Makefile | 2 oxfw-proc.o oxfw-midi.o oxfw-hwdep.o oxfw.o
|
/linux-4.1.27/sound/firewire/fireworks/ |
D | fireworks_hwdep.c | 96 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.1.27/sound/drivers/opl3/ |
D | opl3_seq.c | 55 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 …]
|
D | opl3_lib.c | 529 opl3->hwdep = hw; in snd_opl3_hwdep_new()
|
/linux-4.1.27/sound/synth/emux/ |
D | emux_hwdep.c | 127 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.1.27/include/sound/ |
D | hwdep.h | 70 void (*private_free) (struct snd_hwdep *hwdep);
|
D | emux_synth.h | 108 struct snd_hwdep *hwdep; /* hwdep device */ member
|
D | opl3.h | 318 struct snd_hwdep *hwdep; member
|
D | vx_core.h | 172 struct snd_hwdep *hwdep; member
|
/linux-4.1.27/sound/usb/ |
D | mixer_quirks.c | 252 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.1.27/sound/pci/mixart/ |
D | mixart.h | 173 struct snd_hwdep *hwdep; /* DSP loader, only for the first card */ member
|
/linux-4.1.27/Documentation/DocBook/ |
D | .alsa-driver-api.xml.cmd | 2 …m.c sound/soc/soc-dapm.c sound/soc/soc-generic-dmaengine-pcm.c sound/core/hwdep.c include/sound/ja…
|
D | .device-drivers.xml.cmd | 2 … sound/core/isadma.c sound/core/control.c sound/core/pcm_lib.c sound/core/hwdep.c sound/core/pcm_n…
|
/linux-4.1.27/Documentation/sound/alsa/ |
D | Procfile.txt | 36 hwdep 37 Lists the currently available hwdep devices in format of
|
D | HD-Audio.txt | 292 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
|
D | hdspm.txt | 96 hwdep-interface. 99 hwdep-interface. Since it could be a performance problem always
|
D | ALSA-Configuration.txt | 235 enable_hpi_hwdep - enable HPI hwdep for AudioScience soundcard
|
/linux-4.1.27/sound/usb/usx2y/ |
D | usx2yhwdeppcm.c | 700 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.1.27/sound/isa/sb/ |
D | sb16_csp.c | 168 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.1.27/sound/pci/rme9652/ |
D | hdsp.c | 502 struct snd_hwdep *hwdep; member 4894 hdsp->hwdep = hw; in snd_hdsp_create_hwdep()
|
D | hdspm.c | 1056 struct snd_hwdep *hwdep; /* and a hwdep for additional ioctl */ member 6387 hdspm->hwdep = hw; in snd_hdspm_create_hwdep()
|