Lines Matching defs:stream
70 /* get runtime PCM params using widget's stream name */
117 /* send stream trigger ipc */
122 struct sof_ipc_stream stream;
126 /* set IPC stream params */
127 stream.hdr.size = sizeof(stream);
128 stream.hdr.cmd = SOF_IPC_GLB_STREAM_MSG | cmd;
129 stream.comp_id = swidget->comp_id;
132 ret = sof_ipc_tx_message(sdev->ipc, stream.hdr.cmd, &stream,
133 sizeof(stream), &reply, sizeof(reply));
146 int stream = SNDRV_PCM_STREAM_CAPTURE;
158 /* get runtime PCM params using widget's stream name */
169 if (spcm->stream[stream].suspend_ignored) {
175 ret = ipc_pcm_params(swidget, stream);
191 if (spcm->stream[stream].suspend_ignored) {
627 offsetof(struct snd_sof_pcm, stream[0].d0i3_compatible), 0},
630 offsetof(struct snd_sof_pcm, stream[1].d0i3_compatible), 0},
1392 dev_vdbg(scomp->dev, "tplg: check widget: %s stream: %s dai stream: %s\n",
1398 /* does stream match DAI link ? */
1454 dev_err(scomp->dev, "error: can't connect DAI %s stream %s\n",
1633 spcm->stream[dir].comp_id = host_widget->comp_id;
1737 /* component at start of pipeline is our stream id */
2406 dev_dbg(scomp->dev, "tplg: ready widget id %d pipe %d type %d name : %s stream %s\n",
2514 "error: DSP failed to add widget id %d type %d name : %s stream %s reply %d\n",
2664 int stream;
2677 for_each_pcm_streams(stream) {
2678 spcm->stream[stream].comp_id = COMP_ID_UNASSIGNED;
2679 INIT_WORK(&spcm->stream[stream].period_elapsed_work,
2693 dev_err(scomp->dev, "error: parse stream tokens failed %d\n",
2702 stream = SNDRV_PCM_STREAM_PLAYBACK;
2704 dev_vdbg(scomp->dev, "tplg: pcm %s stream tokens: playback d0i3:%d\n",
2705 spcm->pcm.pcm_name, spcm->stream[stream].d0i3_compatible);
2707 caps = &spcm->pcm.caps[stream];
2711 PAGE_SIZE, &spcm->stream[stream].page_table);
2720 ret = spcm_bind(scomp, spcm, stream);
2728 stream = SNDRV_PCM_STREAM_CAPTURE;
2734 dev_vdbg(scomp->dev, "tplg: pcm %s stream tokens: capture d0i3:%d\n",
2735 spcm->pcm.pcm_name, spcm->stream[stream].d0i3_compatible);
2737 caps = &spcm->pcm.caps[stream];
2741 PAGE_SIZE, &spcm->stream[stream].page_table);
2749 ret = spcm_bind(scomp, spcm, stream);
2753 snd_dma_free_pages(&spcm->stream[stream].page_table);
2761 snd_dma_free_pages(&spcm->stream[SNDRV_PCM_STREAM_PLAYBACK].page_table);
2773 snd_dma_free_pages(&spcm->stream[SNDRV_PCM_STREAM_PLAYBACK].page_table);
2776 snd_dma_free_pages(&spcm->stream[SNDRV_PCM_STREAM_CAPTURE].page_table);