Home
last modified time | relevance | path

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

/openbmc/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_card.h60 struct virtio_snd_chmap_info *chmaps; member
H A Dvirtio_pcm.h75 struct snd_pcm_chmap_elem *chmaps; member
/openbmc/qemu/hw/audio/
H A Dtrace-events43 …int32_t jacks, uint32_t streams, uint32_t chmaps) "snd %p: get_config jacks=%"PRIu32" streams=%"PR…
H A Dvirtio-snd.c86 DEFINE_PROP_UINT32("chmaps", VirtIOSound, snd_conf.chmaps,
100 s->snd_conf.chmaps); in virtio_snd_get_config()
105 cpu_to_le32s(&sndconfig->chmaps); in virtio_snd_get_config()
1050 if (vsnd->snd_conf.chmaps > VIRTIO_SND_CHMAP_MAX_SIZE) { in virtio_snd_realize()
1053 vsnd->snd_conf.chmaps); in virtio_snd_realize()
/openbmc/qemu/docs/system/devices/
H A Dvirtio-snd.rst26 * ``chmaps`` number of channel maps (Unimplemented).
/openbmc/linux/include/uapi/linux/
H A Dvirtio_snd.h19 __le32 chmaps; member
/openbmc/qemu/include/standard-headers/linux/
H A Dvirtio_snd.h27 uint32_t chmaps; member
/openbmc/linux/include/sound/
H A Dac97_codec.h284 struct snd_pcm_chmap *chmaps[2]; /* channel-maps (optional) */ member
/openbmc/linux/sound/pci/
H A 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()
H A Datiixp.c1288 chip->ac97[0]->chmaps[SNDRV_PCM_STREAM_PLAYBACK] = chmap; in snd_atiixp_pcm_new()
H A Dintel8x0.c1482 chip->ac97[0]->chmaps[SNDRV_PCM_STREAM_PLAYBACK] = chmap; in snd_intel8x0_pcm1()
/openbmc/linux/sound/pci/ac97/
H A Dac97_patch.c2560 struct snd_pcm_chmap *map = ac97->chmaps[SNDRV_PCM_STREAM_PLAYBACK]; in alc650_swap_surround_put()