Home
last modified time | relevance | path

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

/linux-2.6.39/sound/core/
Dhwdep.c40 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 …]
DMakefile22 snd-hwdep-objs := hwdep.o
25 obj-$(CONFIG_SND_HWDEP) += snd-hwdep.o
/linux-2.6.39/sound/pci/hda/
Dhda_hwdep.c123 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 …]
DKconfig18 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.
Dhda_codec.h839 struct snd_hwdep *hwdep; /* assigned hwdep device */ member
/linux-2.6.39/sound/drivers/opl3/
Dopl3_seq.c54 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 …]
Dopl3_lib.c530 opl3->hwdep = hw; in snd_opl3_hwdep_new()
/linux-2.6.39/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-2.6.39/sound/usb/
Dmixer_quirks.c119 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/
Dhwdep.h71 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.h182 struct snd_hwdep *hwdep; member
/linux-2.6.39/sound/pci/mixart/
Dmixart.h177 struct snd_hwdep *hwdep; /* DSP loader, only for the first card */ member
/linux-2.6.39/sound/drivers/vx/
Dvx_hwdep.c241 chip->hwdep = hw; in snd_vx_setup_firmware()
/linux-2.6.39/Documentation/sound/alsa/
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.
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
DProcfile.txt36 hwdep
37 Lists the currently available hwdep devices in format of
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-2.6.39/sound/usb/usx2y/
Dusx2yhwdeppcm.c732 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/
Dsb16_csp.c167 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/
Dhdsp.c504 struct snd_hwdep *hwdep; member
5169 hdsp->hwdep = hw; in snd_hdsp_create_hwdep()
Dhdspm.c931 struct snd_hwdep *hwdep; /* and a hwdep for additional ioctl */ member
6209 hdspm->hwdep = hw; in snd_hdspm_create_hwdep()