Home
last modified time | relevance | path

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

/linux-6.1.9/sound/virtio/
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 …]
Dvirtio_card.h60 struct virtio_snd_chmap_info *chmaps; member
Dvirtio_pcm.h75 struct snd_pcm_chmap_elem *chmaps; member
/linux-6.1.9/include/uapi/linux/
Dvirtio_snd.h19 __le32 chmaps; member
/linux-6.1.9/include/sound/
Dac97_codec.h284 struct snd_pcm_chmap *chmaps[2]; /* channel-maps (optional) */ member
/linux-6.1.9/sound/pci/
Dvia82xx.c1482 chip->ac97->chmaps[SNDRV_PCM_STREAM_PLAYBACK] = chmap; in snd_via8233_pcm_new()
1525 chip->ac97->chmaps[SNDRV_PCM_STREAM_PLAYBACK] = chmap; in snd_via8233a_pcm_new()
Datiixp.c1288 chip->ac97[0]->chmaps[SNDRV_PCM_STREAM_PLAYBACK] = chmap; in snd_atiixp_pcm_new()
Dintel8x0.c1482 chip->ac97[0]->chmaps[SNDRV_PCM_STREAM_PLAYBACK] = chmap; in snd_intel8x0_pcm1()
/linux-6.1.9/sound/pci/ac97/
Dac97_patch.c2560 struct snd_pcm_chmap *map = ac97->chmaps[SNDRV_PCM_STREAM_PLAYBACK]; in alc650_swap_surround_put()