Home
last modified time | relevance | path

Searched refs:alloc_param (Results 1 – 3 of 3) sorted by relevance

/sound/soc/intel/atom/sst/
Dsst_stream.c44 memset(&str_info->alloc_param, 0, sizeof(str_info->alloc_param)); in sst_alloc_stream_mrfld()
45 str_info->alloc_param.operation = str_params->ops; in sst_alloc_stream_mrfld()
46 str_info->alloc_param.codec_type = str_params->codec; in sst_alloc_stream_mrfld()
47 str_info->alloc_param.sg_count = str_params->aparams.sg_count; in sst_alloc_stream_mrfld()
48 str_info->alloc_param.ring_buf_info[0].addr = in sst_alloc_stream_mrfld()
50 str_info->alloc_param.ring_buf_info[0].size = in sst_alloc_stream_mrfld()
52 str_info->alloc_param.frag_size = str_params->aparams.frag_size; in sst_alloc_stream_mrfld()
54 memcpy(&str_info->alloc_param.codec_params, &str_params->sparams, in sst_alloc_stream_mrfld()
64 pcm_params = &str_info->alloc_param.codec_params.uc.pcm_params; in sst_alloc_stream_mrfld()
79 str_info->alloc_param.ts = sst_drv_ctx->info.mailbox_start + in sst_alloc_stream_mrfld()
[all …]
Dsst.h189 struct snd_sst_alloc_mrfld alloc_param; member
/sound/soc/intel/atom/
Dsst-mfld-platform-pcm.c124 struct snd_sst_alloc_params_ext *alloc_param) in sst_fill_alloc_params() argument
135 alloc_param->ring_buf_info[0].addr = buffer_addr; in sst_fill_alloc_params()
136 alloc_param->ring_buf_info[0].size = buffer_bytes; in sst_fill_alloc_params()
137 alloc_param->sg_count = 1; in sst_fill_alloc_params()
138 alloc_param->reserved = 0; in sst_fill_alloc_params()
139 alloc_param->frag_size = periodbytes * channels; in sst_fill_alloc_params()