Searched defs:hwdep (Results 1 - 11 of 11) sorted by relevance

/sound/core/
H A DMakefile22 snd-hwdep-objs := hwdep.o
25 obj-$(CONFIG_SND_HWDEP) += snd-hwdep.o
H A Dhwdep.c30 #include <sound/hwdep.h>
40 static int snd_hwdep_free(struct snd_hwdep *hwdep);
48 struct snd_hwdep *hwdep; local
50 list_for_each_entry(hwdep, &snd_hwdep_devices, list)
51 if (hwdep->card == card && hwdep->device == device)
52 return hwdep;
292 struct snd_hwdep *hwdep; local
297 hwdep = snd_hwdep_search(card, device);
298 if (hwdep)
349 struct snd_hwdep *hwdep; local
384 snd_hwdep_free(struct snd_hwdep *hwdep) argument
396 struct snd_hwdep *hwdep = device->device_data; local
402 struct snd_hwdep *hwdep = device->device_data; local
445 struct snd_hwdep *hwdep = device->device_data; local
472 struct snd_hwdep *hwdep; local
[all...]
/sound/drivers/opl3/
H A Dopl3_seq.c54 struct snd_hwdep *hwdep = opl3->hwdep; local
56 mutex_lock(&hwdep->open_mutex);
57 if (hwdep->used) {
58 mutex_unlock(&hwdep->open_mutex);
61 hwdep->used++;
62 mutex_unlock(&hwdep->open_mutex);
85 struct snd_hwdep *hwdep; local
96 hwdep = opl3->hwdep;
[all...]
/sound/usb/
H A Dmixer_quirks.c35 #include <sound/hwdep.h>
122 struct snd_hwdep *hwdep; local
135 err = snd_hwdep_new(mixer->chip->card, "SB remote control", 0, &hwdep);
138 snprintf(hwdep->name, sizeof(hwdep->name),
140 hwdep->iface = SNDRV_HWDEP_IFACE_SB_RC;
141 hwdep->private_data = mixer;
142 hwdep->ops.read = snd_usb_sbrc_hwdep_read;
143 hwdep->ops.poll = snd_usb_sbrc_hwdep_poll;
144 hwdep
[all...]
/sound/usb/usx2y/
H A Dusx2yhwdeppcm.c59 #include <sound/hwdep.h>
732 static void snd_usX2Y_hwdep_pcm_private_free(struct snd_hwdep *hwdep) argument
734 struct usX2Ydev *usX2Y = hwdep->private_data;
761 err = snd_pcm_new(card, NAME_ALLCAPS" hwdep Audio", 2, 1, 1, &pcm);
771 sprintf(pcm->name, NAME_ALLCAPS" hwdep Audio");
/sound/isa/sb/
H A Dsb16_csp.c165 * free_private for hwdep instance
167 static void snd_sb_csp_free(struct snd_hwdep *hwdep) argument
170 struct snd_sb_csp *p = hwdep->private_data;
192 * ioctl for hwdep device:
/sound/pci/hda/
H A Dhda_hwdep.c123 static void hwdep_free(struct snd_hwdep *hwdep) argument
125 clear_hwdep_elements(hwdep->private_data);
131 struct snd_hwdep *hwdep; local
135 err = snd_hwdep_new(codec->bus->card, hwname, codec->addr, &hwdep);
138 codec->hwdep = hwdep;
139 sprintf(hwdep->name, "HDA Codec %d", codec->addr);
140 hwdep->iface = SNDRV_HWDEP_IFACE_HDA;
141 hwdep->private_data = codec;
142 hwdep
163 struct snd_hwdep *hwdep = dev_get_drvdata(dev); local
173 struct snd_hwdep *hwdep = dev_get_drvdata(dev); local
186 struct snd_hwdep *hwdep = codec->hwdep; local
346 struct snd_hwdep *hwdep = dev_get_drvdata(dev); local
380 struct snd_hwdep *hwdep = dev_get_drvdata(dev); local
392 struct snd_hwdep *hwdep = dev_get_drvdata(dev); local
479 struct snd_hwdep *hwdep = dev_get_drvdata(dev); local
504 struct snd_hwdep *hwdep = dev_get_drvdata(dev); local
513 struct snd_hwdep *hwdep = dev_get_drvdata(dev); local
522 struct snd_hwdep *hwdep = dev_get_drvdata(dev); local
544 struct snd_hwdep *hwdep = dev_get_drvdata(dev); local
582 struct snd_hwdep *hwdep = codec->hwdep; local
[all...]
H A Dhda_codec.h27 #include <sound/hwdep.h>
844 struct snd_hwdep *hwdep; /* assigned hwdep device */ member in struct:hda_codec
950 hda_nid_t nid, unsigned int cfg); /* for hwdep */
/sound/pci/mixart/
H A Dmixart.h177 struct snd_hwdep *hwdep; /* DSP loader, only for the first card */ member in struct:snd_mixart
/sound/pci/rme9652/
H A Dhdsp.c38 #include <sound/hwdep.h>
504 struct snd_hwdep *hwdep; member in struct:hdsp
5166 if ((err = snd_hwdep_new(card, "HDSP hwdep", 0, &hw)) < 0)
5169 hdsp->hwdep = hw;
5171 strcpy(hw->name, "HDSP hwdep interface");
5397 snd_printk(KERN_ERR "Hammerfall-DSP: error creating hwdep device\n");
H A Dhdspm.c57 #include <sound/hwdep.h>
932 struct snd_hwdep *hwdep; /* and a hwdep for additional ioctl */ member in struct:hdspm
940 /* full mixer accessible over mixer ioctl or hwdep-device */
6208 err = snd_hwdep_new(card, "HDSPM hwdep", 0, &hw);
6212 hdspm->hwdep = hw;
6214 strcpy(hw->name, "HDSPM hwdep interface");

Completed in 249 milliseconds