Lines Matching refs:str_params
174 const struct sst_data *ctx, struct snd_sst_params *str_params, bool is_compress) in sst_fill_stream_params() argument
190 str_params->stream_type = SST_STREAM_TYPE_MUSIC; in sst_fill_stream_params()
200 str_params->stream_id = index; in sst_fill_stream_params()
201 str_params->device_type = map[index].device_id; in sst_fill_stream_params()
202 str_params->task = map[index].task_id; in sst_fill_stream_params()
204 str_params->ops = (u8)pstream->stream; in sst_fill_stream_params()
213 str_params->stream_id = index; in sst_fill_stream_params()
214 str_params->device_type = map[index].device_id; in sst_fill_stream_params()
215 str_params->task = map[index].task_id; in sst_fill_stream_params()
217 str_params->ops = (u8)cstream->direction; in sst_fill_stream_params()
228 struct snd_sst_params str_params = {0}; in sst_platform_alloc_stream() local
237 str_params.sparams = param; in sst_platform_alloc_stream()
238 str_params.aparams = alloc_params; in sst_platform_alloc_stream()
239 str_params.codec = SST_CODEC_TYPE_PCM; in sst_platform_alloc_stream()
242 ret_val = sst_fill_stream_params(substream, ctx, &str_params, false); in sst_platform_alloc_stream()
246 stream->stream_info.str_id = str_params.stream_id; in sst_platform_alloc_stream()
248 ret_val = stream->ops->open(sst->dev, &str_params); in sst_platform_alloc_stream()