Home
last modified time | relevance | path

Searched refs:chmaps (Results 1 – 6 of 6) 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_kzalloc_objs(&vdev->dev, *snd->chmaps, snd->nchmaps); in virtsnd_chmap_parse_cfg()
71 if (!snd->chmaps) in virtsnd_chmap_parse_cfg()
75 snd->nchmaps, sizeof(*snd->chmaps), in virtsnd_chmap_parse_cfg()
76 snd->chmaps); in virtsnd_chmap_parse_cfg()
82 struct virtio_snd_chmap_info *info = &snd->chmaps[i]; in virtsnd_chmap_parse_cfg()
127 if (max_channels < vs->chmaps[i].channels) in virtsnd_chmap_add_ctls()
128 max_channels = vs->chmaps[i].channels; in virtsnd_chmap_add_ctls()
130 return snd_pcm_add_chmap_ctls(pcm, direction, vs->chmaps, max_channel in virtsnd_chmap_add_ctls()
[all...]
H A Dvirtio_pcm.h70 * @chmaps: Kernel channel maps belonging to the stream.
76 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.c1466 chip->ac97->chmaps[SNDRV_PCM_STREAM_PLAYBACK] = chmap; in snd_via8233_pcm_new()
1509 chip->ac97->chmaps[SNDRV_PCM_STREAM_PLAYBACK] = chmap; in snd_via8233a_pcm_new()