Lines Matching refs:stream

405 		offsetof(struct snd_sof_pcm, stream[0].d0i3_compatible)},
407 offsetof(struct snd_sof_pcm, stream[1].d0i3_compatible)},
1062 int stream;
1066 dev_err(scomp->dev, "Widget %s does not have stream\n", w->name);
1071 stream = SNDRV_PCM_STREAM_CAPTURE;
1073 stream = SNDRV_PCM_STREAM_PLAYBACK;
1078 /* does stream match DAI link ? */
1089 if (!snd_soc_dai_get_widget(cpu_dai, stream)) {
1090 snd_soc_dai_set_widget(cpu_dai, stream, w);
1107 dev_err(scomp->dev, "error: can't connect DAI %s stream %s\n",
1122 int i, stream;
1128 stream = SNDRV_PCM_STREAM_CAPTURE;
1130 stream = SNDRV_PCM_STREAM_PLAYBACK;
1135 /* does stream match DAI link ? */
1141 if (snd_soc_dai_get_widget(cpu_dai, stream) == w) {
1142 snd_soc_dai_set_widget(cpu_dai, stream, NULL);
1166 spcm->stream[dir].comp_id = host_widget->comp_id;
1460 "tplg: widget %d (%s) is ready [type: %d, pipe: %d, pins: %d / %d, stream: %s]\n",
1532 "error: failed to add widget id %d type %d name : %s stream %s\n",
1712 int stream;
1725 for_each_pcm_streams(stream) {
1726 spcm->stream[stream].comp_id = COMP_ID_UNASSIGNED;
1728 snd_sof_compr_init_elapsed_work(&spcm->stream[stream].period_elapsed_work);
1730 snd_sof_pcm_init_elapsed_work(&spcm->stream[stream].period_elapsed_work);
1752 dev_err(scomp->dev, "error: parse stream tokens failed %d\n",
1761 stream = SNDRV_PCM_STREAM_PLAYBACK;
1763 caps = &spcm->pcm.caps[stream];
1767 PAGE_SIZE, &spcm->stream[stream].page_table);
1776 ret = spcm_bind(scomp, spcm, stream);
1784 stream = SNDRV_PCM_STREAM_CAPTURE;
1790 caps = &spcm->pcm.caps[stream];
1794 PAGE_SIZE, &spcm->stream[stream].page_table);
1802 ret = spcm_bind(scomp, spcm, stream);
1806 snd_dma_free_pages(&spcm->stream[stream].page_table);
1814 snd_dma_free_pages(&spcm->stream[SNDRV_PCM_STREAM_PLAYBACK].page_table);
1828 snd_dma_free_pages(&spcm->stream[SNDRV_PCM_STREAM_PLAYBACK].page_table);
1831 snd_dma_free_pages(&spcm->stream[SNDRV_PCM_STREAM_CAPTURE].page_table);