Home
last modified time | relevance | path

Searched refs:nsubstreams (Results 1 – 4 of 4) sorted by relevance

/linux-5.19.10/sound/virtio/ !
Dvirtio_pcm.c331 &snd->nsubstreams); in virtsnd_pcm_parse_cfg()
332 if (!snd->nsubstreams) in virtsnd_pcm_parse_cfg()
335 snd->substreams = devm_kcalloc(&vdev->dev, snd->nsubstreams, in virtsnd_pcm_parse_cfg()
340 info = kcalloc(snd->nsubstreams, sizeof(*info), GFP_KERNEL); in virtsnd_pcm_parse_cfg()
345 snd->nsubstreams, sizeof(*info), info); in virtsnd_pcm_parse_cfg()
349 for (i = 0; i < snd->nsubstreams; ++i) { in virtsnd_pcm_parse_cfg()
385 vpcm->streams[vss->direction].nsubstreams++; in virtsnd_pcm_parse_cfg()
410 vpcm->streams[SNDRV_PCM_STREAM_PLAYBACK].nsubstreams; in virtsnd_pcm_build_devs()
412 vpcm->streams[SNDRV_PCM_STREAM_CAPTURE].nsubstreams; in virtsnd_pcm_build_devs()
436 if (!stream->nsubstreams) in virtsnd_pcm_build_devs()
[all …]
Dvirtio_card.c244 if (snd->nsubstreams) { in virtsnd_build_devs()
355 for (i = 0; snd->substreams && i < snd->nsubstreams; ++i) { in virtsnd_remove()
384 for (i = 0; i < snd->nsubstreams; ++i) in virtsnd_freeze()
Dvirtio_card.h59 u32 nsubstreams; member
Dvirtio_pcm.h74 u32 nsubstreams; member