Home
last modified time | relevance | path

Searched refs:chmaps (Results 1 – 9 of 9) sorted by relevance

/linux/sound/virtio/
H A Dvirtio_chmap.c66 virtio_cread_le(vdev, struct virtio_snd_config, chmaps, &snd->nchmaps); in virtsnd_chmap_parse_cfg()
70 snd->chmaps = devm_kcalloc(&vdev->dev, snd->nchmaps, in virtsnd_chmap_parse_cfg()
71 sizeof(*snd->chmaps), GFP_KERNEL); in virtsnd_chmap_parse_cfg()
72 if (!snd->chmaps) in virtsnd_chmap_parse_cfg()
76 snd->nchmaps, sizeof(*snd->chmaps), in virtsnd_chmap_parse_cfg()
77 snd->chmaps); in virtsnd_chmap_parse_cfg()
83 struct virtio_snd_chmap_info *info = &snd->chmaps[i]; in virtsnd_chmap_parse_cfg()
128 if (max_channels < vs->chmaps[i].channels) in virtsnd_chmap_add_ctls()
129 max_channels = vs->chmaps[i].channels; in virtsnd_chmap_add_ctls()
131 return snd_pcm_add_chmap_ctls(pcm, direction, vs->chmaps, max_channels, in virtsnd_chmap_add_ctls()
[all …]
H A Dvirtio_pcm.h77 struct snd_pcm_chmap_elem *chmaps; member
H A Dvirtio_card.h73 struct virtio_snd_chmap_info *chmaps; member
/linux/include/uapi/linux/
H A Dvirtio_snd.h27 __le32 chmaps; member
/linux/include/sound/
H A Dac97_codec.h284 struct snd_pcm_chmap *chmaps[2]; /* channel-maps (optional) */ member
/linux/sound/pci/
H A Dvia82xx.c1480 chip->ac97->chmaps[SNDRV_PCM_STREAM_PLAYBACK] = chmap; in snd_via8233_pcm_new()
1523 chip->ac97->chmaps[SNDRV_PCM_STREAM_PLAYBACK] = chmap; in snd_via8233a_pcm_new()
H A Datiixp.c1286 chip->ac97[0]->chmaps[SNDRV_PCM_STREAM_PLAYBACK] = chmap; in snd_atiixp_pcm_new()
H A Dintel8x0.c1479 chip->ac97[0]->chmaps[SNDRV_PCM_STREAM_PLAYBACK] = chmap; in snd_intel8x0_pcm1()
/linux/sound/pci/ac97/
H A Dac97_patch.c2557 struct snd_pcm_chmap *map = ac97->chmaps[SNDRV_PCM_STREAM_PLAYBACK]; in alc650_swap_surround_put()