Lines Matching defs:stream
76 /* find and copy the referenced stream caps */
161 /* get playback & capture stream caps */
211 struct snd_soc_tplg_stream *stream,
219 strm = stream + i;
237 err = tplg_build_stream_cfg(tplg, link->stream,
323 SNDERR("unsupported stream format %s", s);
366 SNDERR("unsupported stream rate %s", s);
396 /* Parse pcm stream capabilities */
537 /* save stream caps */
614 /* Parse the caps and config of a pcm stream */
626 int stream;
652 stream = SND_SOC_TPLG_STREAM_PLAYBACK;
655 stream = SND_SOC_TPLG_STREAM_CAPTURE;
671 /* store stream caps name, to find and merge
674 snd_strlcpy(caps[stream].name, value,
685 /* Save the caps and config of a pcm stream */
699 unsigned int streams[2], stream;
718 for (stream = 0; stream < 2; stream++) {
719 if (streams[stream] == 0)
723 s = caps[stream_types[stream]].name;
726 err = tplg_save_printf(dst, pfx, "pcm.%s {\n", stream_ids[stream]);
777 /* Save the caps and config of a pcm stream */
1042 /* stream capabilities */
1733 /* copy stream object */
1824 tplg_add_stream_object(&pcm->stream[i], &pcm_tpl->stream[i]);
1909 /* stream configs */
1914 tplg_add_stream_object(&link->stream[i], &link_tpl->stream[i]);
1962 /* stream caps */
2002 struct snd_tplg_stream_template *stream;
2011 asize = sizeof(*pt) + SND_SOC_TPLG_STREAM_CONFIG_MAX * sizeof(*stream);
2055 stream = &pt->stream[i];
2056 if (pcm->stream[i].size != sizeof(pcm->stream[0])) {
2057 SNDERR("pcm: unknown stream structure size %d",
2058 pcm->stream[i].size);
2061 stream->name = pcm->stream[i].name;
2062 tplg_log(tplg, 'D', pos + offsetof(struct snd_soc_tplg_pcm, stream[i]),
2063 "stream %d: '%s'", i, stream->name);
2064 stream->format = pcm->stream[i].format;
2065 stream->rate = pcm->stream[i].rate;
2066 stream->period_bytes = pcm->stream[i].period_bytes;
2067 stream->buffer_bytes = pcm->stream[i].buffer_bytes;
2068 stream->channels = pcm->stream[i].channels;
2151 struct snd_tplg_stream_template *stream;
2205 stream = &streams[i];
2206 if (link->stream[i].size != sizeof(link->stream[0])) {
2207 SNDERR("link: unknown stream structure size %d",
2208 link->stream[i].size);
2211 stream->name = link->stream[i].name;
2213 pos + offsetof(struct snd_soc_tplg_link_config, stream[i]),
2214 "stream %d: '%s'", i, stream->name);
2215 stream->format = link->stream[i].format;
2216 stream->rate = link->stream[i].rate;
2217 stream->period_bytes = link->stream[i].period_bytes;
2218 stream->buffer_bytes = link->stream[i].buffer_bytes;
2219 stream->channels = link->stream[i].channels;
2221 lt.stream = streams;