Home
last modified time | relevance | path

Searched refs:pcm_dev (Results 1 – 5 of 5) sorted by relevance

/linux/sound/soc/codecs/
H A Dpcm6240.c541 static int pcmdev_dev_read(struct pcmdevice_priv *pcm_dev, in pcmdev_dev_read() argument
544 struct regmap *map = pcm_dev->regmap; in pcmdev_dev_read()
547 if (dev_no >= pcm_dev->ndev) { in pcmdev_dev_read()
548 dev_err(pcm_dev->dev, "%s: no such channel(%d)\n", __func__, in pcmdev_dev_read()
553 ret = pcmdev_change_dev(pcm_dev, dev_no); in pcmdev_dev_read()
555 dev_err(pcm_dev->dev, "%s: chg dev err = %d\n", __func__, ret); in pcmdev_dev_read()
561 dev_err(pcm_dev->dev, "%s: err = %d\n", __func__, ret); in pcmdev_dev_read()
566 static int pcmdev_dev_update_bits(struct pcmdevice_priv *pcm_dev, in pcmdev_dev_update_bits() argument
570 struct regmap *map = pcm_dev->regmap; in pcmdev_dev_update_bits()
573 if (dev_no >= pcm_dev->ndev) { in pcmdev_dev_update_bits()
[all …]
/linux/sound/pci/trident/
H A Dtrident.c56 int err, pcm_dev = 0; in snd_trident_probe() local
101 err = snd_trident_pcm(trident, pcm_dev++); in snd_trident_probe()
107 err = snd_trident_foldback_pcm(trident, pcm_dev++); in snd_trident_probe()
113 err = snd_trident_spdif_pcm(trident, pcm_dev++); in snd_trident_probe()
/linux/sound/usb/
H A Dmedia.c38 struct device *pcm_dev = pcm->streams[stream].dev; in snd_media_stream_init() local
76 MAJOR(pcm_dev->devt), in snd_media_stream_init()
77 MINOR(pcm_dev->devt)); in snd_media_stream_init()
/linux/sound/hda/common/
H A Dcontroller.c699 int pcm_dev = cpcm->device; in snd_hda_attach_pcm_stream() local
705 if (apcm->pcm->device == pcm_dev) { in snd_hda_attach_pcm_stream()
707 pcm_dev); in snd_hda_attach_pcm_stream()
711 err = snd_pcm_new(chip->card, cpcm->name, pcm_dev, in snd_hda_attach_pcm_stream()
/linux/sound/isa/gus/
H A Dgus_pcm.c804 int snd_gf1_pcm_new(struct snd_gus_card *gus, int pcm_dev, int control_index) in snd_gf1_pcm_new() argument
816 pcm_dev, in snd_gf1_pcm_new()