/linux-2.6.39/sound/core/ |
D | hwdep.c | 40 static int snd_hwdep_free(struct snd_hwdep *hwdep); 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() 292 struct snd_hwdep *hwdep; in snd_hwdep_control_ioctl() local 297 hwdep = snd_hwdep_search(card, device); in snd_hwdep_control_ioctl() 298 if (hwdep) in snd_hwdep_control_ioctl() 299 err = snd_hwdep_info(hwdep, info); in snd_hwdep_control_ioctl() 349 struct snd_hwdep *hwdep; in snd_hwdep_new() local [all …]
|
D | Makefile | 22 snd-hwdep-objs := hwdep.o 25 obj-$(CONFIG_SND_HWDEP) += snd-hwdep.o
|
/linux-2.6.39/sound/pci/hda/ |
D | hda_hwdep.c | 123 static void hwdep_free(struct snd_hwdep *hwdep) in hwdep_free() argument 125 clear_hwdep_elements(hwdep->private_data); in hwdep_free() 131 struct snd_hwdep *hwdep; in snd_hda_create_hwdep() local 135 err = snd_hwdep_new(codec->bus->card, hwname, codec->addr, &hwdep); in snd_hda_create_hwdep() 138 codec->hwdep = hwdep; in snd_hda_create_hwdep() 139 sprintf(hwdep->name, "HDA Codec %d", codec->addr); in snd_hda_create_hwdep() 140 hwdep->iface = SNDRV_HWDEP_IFACE_HDA; in snd_hda_create_hwdep() 141 hwdep->private_data = codec; in snd_hda_create_hwdep() 142 hwdep->private_free = hwdep_free; in snd_hda_create_hwdep() 143 hwdep->exclusive = 1; in snd_hda_create_hwdep() [all …]
|
D | Kconfig | 18 bool "Build hwdep interface for HD-audio driver" 21 Say Y here to build a hwdep interface for HD-audio driver. 72 This option turns on hwdep and reconfig features automatically.
|
D | hda_codec.h | 839 struct snd_hwdep *hwdep; /* assigned hwdep device */ member
|
/linux-2.6.39/sound/drivers/opl3/ |
D | opl3_seq.c | 54 struct snd_hwdep *hwdep = opl3->hwdep; in snd_opl3_synth_setup() local 56 mutex_lock(&hwdep->open_mutex); in snd_opl3_synth_setup() 57 if (hwdep->used) { in snd_opl3_synth_setup() 58 mutex_unlock(&hwdep->open_mutex); in snd_opl3_synth_setup() 61 hwdep->used++; in snd_opl3_synth_setup() 62 mutex_unlock(&hwdep->open_mutex); in snd_opl3_synth_setup() 85 struct snd_hwdep *hwdep; in snd_opl3_synth_cleanup() local 96 hwdep = opl3->hwdep; in snd_opl3_synth_cleanup() 97 mutex_lock(&hwdep->open_mutex); in snd_opl3_synth_cleanup() 98 hwdep->used--; in snd_opl3_synth_cleanup() [all …]
|
D | opl3_lib.c | 530 opl3->hwdep = hw; in snd_opl3_hwdep_new()
|
/linux-2.6.39/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-2.6.39/sound/usb/ |
D | mixer_quirks.c | 119 struct snd_hwdep *hwdep; in snd_usb_soundblaster_remote_init() local 132 err = snd_hwdep_new(mixer->chip->card, "SB remote control", 0, &hwdep); in snd_usb_soundblaster_remote_init() 135 snprintf(hwdep->name, sizeof(hwdep->name), in snd_usb_soundblaster_remote_init() 137 hwdep->iface = SNDRV_HWDEP_IFACE_SB_RC; in snd_usb_soundblaster_remote_init() 138 hwdep->private_data = mixer; in snd_usb_soundblaster_remote_init() 139 hwdep->ops.read = snd_usb_sbrc_hwdep_read; in snd_usb_soundblaster_remote_init() 140 hwdep->ops.poll = snd_usb_sbrc_hwdep_poll; in snd_usb_soundblaster_remote_init() 141 hwdep->exclusive = 1; in snd_usb_soundblaster_remote_init()
|
/linux-2.6.39/include/sound/ |
D | hwdep.h | 71 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 | 182 struct snd_hwdep *hwdep; member
|
/linux-2.6.39/sound/pci/mixart/ |
D | mixart.h | 177 struct snd_hwdep *hwdep; /* DSP loader, only for the first card */ member
|
/linux-2.6.39/sound/drivers/vx/ |
D | vx_hwdep.c | 241 chip->hwdep = hw; in snd_vx_setup_firmware()
|
/linux-2.6.39/Documentation/sound/alsa/ |
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. 603 configuration via hwdep sysfs file if hda-reconfig option is enabled. 605 `probe_only=3` as module option). The hwdep interface can be used 613 This program accesses the hwdep device, thus you need to enable the 616 The hda-verb program takes four arguments: the hwdep device file, the
|
D | Procfile.txt | 36 hwdep 37 Lists the currently available hwdep devices in format of
|
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-2.6.39/sound/usb/usx2y/ |
D | usx2yhwdeppcm.c | 732 static void snd_usX2Y_hwdep_pcm_private_free(struct snd_hwdep *hwdep) in snd_usX2Y_hwdep_pcm_private_free() argument 734 struct usX2Ydev *usX2Y = hwdep->private_data; in snd_usX2Y_hwdep_pcm_private_free()
|
/linux-2.6.39/sound/isa/sb/ |
D | sb16_csp.c | 167 static void snd_sb_csp_free(struct snd_hwdep *hwdep) in snd_sb_csp_free() argument 170 struct snd_sb_csp *p = hwdep->private_data; in snd_sb_csp_free()
|
/linux-2.6.39/sound/pci/rme9652/ |
D | hdsp.c | 504 struct snd_hwdep *hwdep; member 5169 hdsp->hwdep = hw; in snd_hdsp_create_hwdep()
|
D | hdspm.c | 931 struct snd_hwdep *hwdep; /* and a hwdep for additional ioctl */ member 6209 hdspm->hwdep = hw; in snd_hdspm_create_hwdep()
|