Lines Matching refs:stream

713 				      struct sdw_cdns_streams *stream, bool pcm)
715 intel_pdi_get_ch_update(sdw, stream->bd, stream->num_bd,
716 &stream->num_ch_bd, pcm);
718 intel_pdi_get_ch_update(sdw, stream->in, stream->num_in,
719 &stream->num_ch_in, pcm);
721 intel_pdi_get_ch_update(sdw, stream->out, stream->num_out,
722 &stream->num_ch_out, pcm);
749 * Program stream parameters to stream SHIM register
750 * This is applicable for PCM stream only.
925 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE)
953 /* Inform DSP about PDI stream number */
983 pconfig, 1, dma->stream);
985 dev_err(cdns->dev, "add master to stream failed:%d\n", ret);
1019 /* configure stream */
1021 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE)
1030 /* Inform DSP about PDI stream number */
1053 * The sdw stream state will transition to RELEASED when stream->
1054 * master_list is empty. So the stream state will transition to
1058 ret = sdw_stream_remove_master(&cdns->bus, dma->stream);
1060 dev_err(dai->dev, "remove master from stream %s failed: %d\n",
1061 dma->stream->name, ret);
1110 void *stream, int direction)
1112 return cdns_set_sdw_stream(dai, stream, true, direction);
1116 void *stream, int direction)
1118 return cdns_set_sdw_stream(dai, stream, false, direction);
1134 return dma->stream;
1206 struct sdw_cdns_streams *stream;
1218 stream = &cdns->pcm;
1221 off, stream->num_ch_in, true);
1227 off, stream->num_ch_out, true);
1233 off, stream->num_ch_bd, true);
1238 stream = &cdns->pdm;
1241 off, stream->num_ch_in, false);
1247 off, stream->num_ch_out, false);
1253 off, stream->num_ch_bd, false);
1415 * of the number of segments used by a stream: SSP-based