Lines Matching defs:stream
1238 struct sdw_cdns_pdi **stream,
1255 *stream = pdi;
1268 struct sdw_cdns_streams *stream;
1277 stream = &cdns->pcm;
1282 ret = cdns_allocate_pdi(cdns, &stream->bd,
1283 stream->num_bd, offset);
1287 offset += stream->num_bd;
1289 ret = cdns_allocate_pdi(cdns, &stream->in,
1290 stream->num_in, offset);
1294 offset += stream->num_in;
1296 ret = cdns_allocate_pdi(cdns, &stream->out,
1297 stream->num_out, offset);
1302 stream->num_pdi = stream->num_bd + stream->num_in + stream->num_out;
1303 cdns->num_ports = stream->num_pdi;
1754 void *stream, int direction)
1761 if (stream) {
1780 dai_runtime->stream = stream;
1793 /* for NULL stream we release allocated dai_runtime */
1829 * sdw_cdns_config_stream: Configure a stream
1863 * @stream: Stream to be allocated
1869 struct sdw_cdns_streams *stream,
1875 pdi = cdns_find_pdi(cdns, 0, stream->num_in, stream->in,
1878 pdi = cdns_find_pdi(cdns, 0, stream->num_out, stream->out,
1883 pdi = cdns_find_pdi(cdns, 2, stream->num_bd, stream->bd,