Home
last modified time | relevance | path

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

/sound/soc/intel/atom/sst/
Dsst_stream.c38 struct snd_sst_alloc_mrfld alloc_param; in sst_alloc_stream_mrfld() local
51 memset(&alloc_param, 0, sizeof(alloc_param)); in sst_alloc_stream_mrfld()
52 alloc_param.operation = str_params->ops; in sst_alloc_stream_mrfld()
53 alloc_param.codec_type = str_params->codec; in sst_alloc_stream_mrfld()
54 alloc_param.sg_count = str_params->aparams.sg_count; in sst_alloc_stream_mrfld()
55 alloc_param.ring_buf_info[0].addr = in sst_alloc_stream_mrfld()
57 alloc_param.ring_buf_info[0].size = in sst_alloc_stream_mrfld()
59 alloc_param.frag_size = str_params->aparams.frag_size; in sst_alloc_stream_mrfld()
61 memcpy(&alloc_param.codec_params, &str_params->sparams, in sst_alloc_stream_mrfld()
73 alloc_param.codec_params.uc.pcm_params.channel_map[i] = i; in sst_alloc_stream_mrfld()
[all …]
/sound/soc/intel/atom/
Dsst-mfld-platform-pcm.c131 struct snd_sst_alloc_params_ext *alloc_param) in sst_fill_alloc_params() argument
142 alloc_param->ring_buf_info[0].addr = buffer_addr; in sst_fill_alloc_params()
143 alloc_param->ring_buf_info[0].size = buffer_bytes; in sst_fill_alloc_params()
144 alloc_param->sg_count = 1; in sst_fill_alloc_params()
145 alloc_param->reserved = 0; in sst_fill_alloc_params()
146 alloc_param->frag_size = periodbytes * channels; in sst_fill_alloc_params()