Home
last modified time | relevance | path

Searched refs:str_info (Results 1 – 4 of 4) sorted by relevance

/sound/soc/intel/atom/sst/
Dsst_stream.c32 struct stream_info *str_info; in sst_alloc_stream_mrfld() local
39 str_info = get_stream_info(sst_drv_ctx, str_id); in sst_alloc_stream_mrfld()
40 if (!str_info) in sst_alloc_stream_mrfld()
43 memset(&str_info->alloc_param, 0, sizeof(str_info->alloc_param)); in sst_alloc_stream_mrfld()
44 str_info->alloc_param.operation = str_params->ops; in sst_alloc_stream_mrfld()
45 str_info->alloc_param.codec_type = str_params->codec; in sst_alloc_stream_mrfld()
46 str_info->alloc_param.sg_count = str_params->aparams.sg_count; in sst_alloc_stream_mrfld()
47 str_info->alloc_param.ring_buf_info[0].addr = in sst_alloc_stream_mrfld()
49 str_info->alloc_param.ring_buf_info[0].size = in sst_alloc_stream_mrfld()
51 str_info->alloc_param.frag_size = str_params->aparams.frag_size; in sst_alloc_stream_mrfld()
[all …]
Dsst_drv_interface.c118 struct stream_info *str_info; in sst_get_stream() local
126 str_info = &ctx->streams[retval]; in sst_get_stream()
127 str_info->sfreq = sst_get_sfreq(str_param); in sst_get_stream()
276 struct stream_info *str_info; in sst_cdev_set_metadata() local
281 str_info = get_stream_info(ctx, str_id); in sst_cdev_set_metadata()
282 if (!str_info) in sst_cdev_set_metadata()
285 dev_dbg(dev, "pipe id = %d\n", str_info->pipe_id); in sst_cdev_set_metadata()
286 retval = sst_prepare_and_post_msg(ctx, str_info->task_id, IPC_CMD, in sst_cdev_set_metadata()
287 IPC_IA_SET_STREAM_PARAMS_MRFLD, str_info->pipe_id, in sst_cdev_set_metadata()
311 struct stream_info *str_info; in sst_cdev_stream_start() local
[all …]
/sound/soc/intel/atom/
Dsst-mfld-platform.h121 int (*stream_init)(struct device *dev, struct pcm_stream_info *str_info);
126 int (*stream_read_tstamp)(struct device *dev, struct pcm_stream_info *str_info);
Dsst-mfld-platform-pcm.c643 struct pcm_stream_info *str_info; in sst_soc_pointer() local
650 str_info = &stream->stream_info; in sst_soc_pointer()
651 ret_val = stream->ops->stream_read_tstamp(sst->dev, str_info); in sst_soc_pointer()
656 substream->runtime->delay = str_info->pcm_delay; in sst_soc_pointer()
657 return str_info->buffer_ptr; in sst_soc_pointer()