Searched refs:str_params (Results 1 – 5 of 5) sorted by relevance
/Linux-v6.1/sound/soc/intel/atom/ |
D | sst-mfld-platform-compress.c | 101 struct snd_sst_params str_params; in sst_platform_compr_set_params() local 107 memset(&str_params, 0, sizeof(str_params)); in sst_platform_compr_set_params() 110 retval = sst_fill_stream_params(cstream, ctx, &str_params, true); in sst_platform_compr_set_params() 117 str_params.codec = SST_CODEC_TYPE_MP3; in sst_platform_compr_set_params() 118 str_params.sparams.uc.mp3_params.num_chan = params->codec.ch_in; in sst_platform_compr_set_params() 119 str_params.sparams.uc.mp3_params.pcm_wd_sz = 16; in sst_platform_compr_set_params() 124 str_params.codec = SST_CODEC_TYPE_AAC; in sst_platform_compr_set_params() 125 str_params.sparams.uc.aac_params.num_chan = params->codec.ch_in; in sst_platform_compr_set_params() 126 str_params.sparams.uc.aac_params.pcm_wd_sz = 16; in sst_platform_compr_set_params() 128 str_params.sparams.uc.aac_params.bs_format = in sst_platform_compr_set_params() [all …]
|
D | sst-mfld-platform-pcm.c | 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() [all …]
|
D | sst-mfld-platform.h | 99 struct snd_sst_params *str_params, struct sst_compress_cb *cb); 159 struct snd_sst_params *str_params, bool is_compress);
|
/Linux-v6.1/sound/soc/intel/atom/sst/ |
D | sst_stream.c | 30 struct snd_sst_params *str_params; in sst_alloc_stream_mrfld() local 37 str_params = (struct snd_sst_params *)params; in sst_alloc_stream_mrfld() 38 str_id = str_params->stream_id; 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() 48 str_params->aparams.ring_buf_info[0].addr; in sst_alloc_stream_mrfld() 50 str_params->aparams.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() 53 memcpy(&str_info->alloc_param.codec_params, &str_params->sparams, in sst_alloc_stream_mrfld() [all …]
|
D | sst_drv_interface.c | 189 struct snd_sst_params *str_params, struct sst_compress_cb *cb) in sst_cdev_open() argument 199 str_id = sst_get_stream(ctx, str_params); in sst_cdev_open()
|