Home
last modified time | relevance | path

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

/linux-6.12.1/sound/virtio/
Dvirtio_pcm.c333 &snd->nsubstreams); in virtsnd_pcm_parse_cfg()
334 if (!snd->nsubstreams) in virtsnd_pcm_parse_cfg()
337 snd->substreams = devm_kcalloc(&vdev->dev, snd->nsubstreams, in virtsnd_pcm_parse_cfg()
342 info = kcalloc(snd->nsubstreams, sizeof(*info), GFP_KERNEL); in virtsnd_pcm_parse_cfg()
347 snd->nsubstreams, sizeof(*info), info); in virtsnd_pcm_parse_cfg()
351 for (i = 0; i < snd->nsubstreams; ++i) { in virtsnd_pcm_parse_cfg()
387 vpcm->streams[vss->direction].nsubstreams++; in virtsnd_pcm_parse_cfg()
412 vpcm->streams[SNDRV_PCM_STREAM_PLAYBACK].nsubstreams; in virtsnd_pcm_build_devs()
414 vpcm->streams[SNDRV_PCM_STREAM_CAPTURE].nsubstreams; in virtsnd_pcm_build_devs()
438 if (!stream->nsubstreams) in virtsnd_pcm_build_devs()
[all …]
Dvirtio_card.c248 if (snd->nsubstreams) { in virtsnd_build_devs()
365 for (i = 0; snd->substreams && i < snd->nsubstreams; ++i) { in virtsnd_remove()
394 for (i = 0; i < snd->nsubstreams; ++i) in virtsnd_freeze()
Dvirtio_pcm.h76 u32 nsubstreams; member
Dvirtio_card.h72 u32 nsubstreams; member