Searched refs:chmaps (Results 1 – 5 of 5) sorted by relevance
| /linux/sound/virtio/ |
| H A D | virtio_chmap.c | 66 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 D | virtio_pcm.h | 77 struct snd_pcm_chmap_elem *chmaps; member
|
| H A D | virtio_card.h | 73 struct virtio_snd_chmap_info *chmaps; member
|
| /linux/include/uapi/linux/ |
| H A D | virtio_snd.h | 27 __le32 chmaps; member
|
| /linux/include/sound/ |
| H A D | ac97_codec.h | 284 struct snd_pcm_chmap *chmaps[2]; /* channel-maps (optional) */ member
|