• Home
  • Raw
  • Download

Lines Matching refs:base_config

177 	struct sof_ipc4_base_module_cfg *base_config;  in sof_ipc4_get_audio_fmt()  local
193 base_config = kcalloc(available_fmt->audio_fmt_num, sizeof(*base_config), GFP_KERNEL); in sof_ipc4_get_audio_fmt()
194 if (!base_config) in sof_ipc4_get_audio_fmt()
199 ret = sof_update_ipc_object(scomp, &base_config[i], in sof_ipc4_get_audio_fmt()
201 swidget->num_tuples, sizeof(*base_config), 1); in sof_ipc4_get_audio_fmt()
209 ret = sof_update_ipc_object(scomp, base_config, in sof_ipc4_get_audio_fmt()
211 swidget->num_tuples, sizeof(*base_config), in sof_ipc4_get_audio_fmt()
220 base_config[i].ibs, base_config[i].obs, in sof_ipc4_get_audio_fmt()
221 base_config[i].cpc, base_config[i].is_pages); in sof_ipc4_get_audio_fmt()
223 ret = sof_update_ipc_object(scomp, &base_config->audio_fmt, in sof_ipc4_get_audio_fmt()
225 swidget->num_tuples, sizeof(*base_config), in sof_ipc4_get_audio_fmt()
233 sof_ipc4_dbg_audio_format(scomp->dev, &base_config->audio_fmt, in sof_ipc4_get_audio_fmt()
234 sizeof(*base_config), in sof_ipc4_get_audio_fmt()
237 available_fmt->base_config = base_config; in sof_ipc4_get_audio_fmt()
268 kfree(base_config); in sof_ipc4_get_audio_fmt()
277 kfree(available_fmt->base_config); in sof_ipc4_free_audio_fmt()
278 available_fmt->base_config = NULL; in sof_ipc4_free_audio_fmt()
434 kfree(available_fmt->base_config); in sof_ipc4_widget_free_comp_pcm()
594 kfree(available_fmt->base_config); in sof_ipc4_widget_free_comp_dai()
686 gain->data.init_val, gain->base_config.cpc); in sof_ipc4_widget_setup_comp_pga()
820 struct sof_ipc4_base_module_cfg *base_config) in sof_ipc4_update_pipeline_mem_usage() argument
828 ibs = base_config->ibs; in sof_ipc4_update_pipeline_mem_usage()
829 bss = base_config->is_pages; in sof_ipc4_update_pipeline_mem_usage()
871 struct sof_ipc4_base_module_cfg *base_config, in sof_ipc4_init_audio_fmt() argument
925 memcpy(base_config, &available_fmt->base_config[i], in sof_ipc4_init_audio_fmt()
943 sof_ipc4_dbg_audio_format(sdev->dev, &base_config->audio_fmt, in sof_ipc4_init_audio_fmt()
944 sizeof(*base_config), 1); in sof_ipc4_init_audio_fmt()
1142 available_fmt->ref_audio_fmt = &available_fmt->base_config->audio_fmt; in sof_ipc4_prepare_copier_module()
1177 available_fmt->ref_audio_fmt = &available_fmt->base_config->audio_fmt; in sof_ipc4_prepare_copier_module()
1199 ret = sof_ipc4_init_audio_fmt(sdev, swidget, &copier_data->base_config, in sof_ipc4_prepare_copier_module()
1227 ch_map = copier_data->base_config.audio_fmt.ch_map; in sof_ipc4_prepare_copier_module()
1315 sof_ipc4_update_pipeline_mem_usage(sdev, swidget, &copier_data->base_config); in sof_ipc4_prepare_copier_module()
1330 gain->available_fmt.ref_audio_fmt = &gain->available_fmt.base_config->audio_fmt; in sof_ipc4_prepare_gain_module()
1333 ret = sof_ipc4_init_audio_fmt(sdev, swidget, &gain->base_config, in sof_ipc4_prepare_gain_module()
1335 sizeof(gain->base_config)); in sof_ipc4_prepare_gain_module()
1340 sof_ipc4_update_pipeline_mem_usage(sdev, swidget, &gain->base_config); in sof_ipc4_prepare_gain_module()
1356 mixer->available_fmt.ref_audio_fmt = &mixer->available_fmt.base_config->audio_fmt; in sof_ipc4_prepare_mixer_module()
1359 ret = sof_ipc4_init_audio_fmt(sdev, swidget, &mixer->base_config, in sof_ipc4_prepare_mixer_module()
1361 sizeof(mixer->base_config)); in sof_ipc4_prepare_mixer_module()
1366 sof_ipc4_update_pipeline_mem_usage(sdev, swidget, &mixer->base_config); in sof_ipc4_prepare_mixer_module()
1382 src->available_fmt.ref_audio_fmt = &src->available_fmt.base_config->audio_fmt; in sof_ipc4_prepare_src_module()
1385 ret = sof_ipc4_init_audio_fmt(sdev, swidget, &src->base_config, in sof_ipc4_prepare_src_module()
1387 sizeof(src->base_config)); in sof_ipc4_prepare_src_module()
1392 sof_ipc4_update_pipeline_mem_usage(sdev, swidget, &src->base_config); in sof_ipc4_prepare_src_module()
1504 ipc_size = sizeof(mixer->base_config); in sof_ipc4_widget_setup()
1505 ipc_data = &mixer->base_config; in sof_ipc4_widget_setup()