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

/linux-master/sound/virtio/
H A Dvirtio_pcm.c333 &snd->nsubstreams);
334 if (!snd->nsubstreams)
337 snd->substreams = devm_kcalloc(&vdev->dev, snd->nsubstreams,
342 info = kcalloc(snd->nsubstreams, sizeof(*info), GFP_KERNEL);
347 snd->nsubstreams, sizeof(*info), info);
351 for (i = 0; i < snd->nsubstreams; ++i) {
387 vpcm->streams[vss->direction].nsubstreams++;
412 vpcm->streams[SNDRV_PCM_STREAM_PLAYBACK].nsubstreams;
414 vpcm->streams[SNDRV_PCM_STREAM_CAPTURE].nsubstreams;
438 if (!stream->nsubstreams)
[all...]
H A Dvirtio_pcm.h70 * @nsubstreams: Number of substreams.
76 u32 nsubstreams; member in struct:virtio_pcm_stream
H A Dvirtio_card.h55 * @nsubstreams: Number of PCM substreams.
72 u32 nsubstreams; member in struct:virtio_snd
H A Dvirtio_card.c251 if (snd->nsubstreams) {
368 for (i = 0; snd->substreams && i < snd->nsubstreams; ++i) {
397 for (i = 0; i < snd->nsubstreams; ++i)

Completed in 123 milliseconds