Searched refs:ipc_size (Results 1 – 2 of 2) sorted by relevance
/Linux-v6.1/sound/soc/sof/ |
D | ipc3-topology.c | 325 static void *sof_comp_alloc(struct snd_sof_widget *swidget, size_t *ipc_size, in sof_comp_alloc() argument 329 size_t total_size = *ipc_size; in sof_comp_alloc() 348 if (total_size > *ipc_size) { in sof_comp_alloc() 350 memcpy((u8 *)comp + *ipc_size, &swidget->uuid, ext_size); in sof_comp_alloc() 355 *ipc_size = total_size; in sof_comp_alloc() 370 size_t ipc_size = sizeof(*host); in sof_ipc3_widget_setup_comp_host() local 373 host = sof_comp_alloc(swidget, &ipc_size, swidget->pipeline_id); in sof_ipc3_widget_setup_comp_host() 419 size_t ipc_size = sizeof(*tone); in sof_ipc3_widget_setup_comp_tone() local 422 tone = sof_comp_alloc(swidget, &ipc_size, swidget->pipeline_id); in sof_ipc3_widget_setup_comp_tone() 452 size_t ipc_size = sizeof(*mixer); in sof_ipc3_widget_setup_comp_mixer() local [all …]
|
D | ipc4-topology.c | 1117 int ipc_size, ret; in sof_ipc4_prepare_copier_module() local 1298 ipc_size = sizeof(*copier_data) + copier_data->gtw_cfg.config_length * 4; in sof_ipc4_prepare_copier_module() 1300 dev_dbg(sdev->dev, "copier %s, IPC size is %d", swidget->widget->name, ipc_size); in sof_ipc4_prepare_copier_module() 1302 *ipc_config_data = kzalloc(ipc_size, GFP_KERNEL); in sof_ipc4_prepare_copier_module() 1306 *ipc_config_size = ipc_size; in sof_ipc4_prepare_copier_module() 1453 u32 ipc_size = 0; in sof_ipc4_widget_setup() local 1471 ipc_size = ipc4_copier->ipc_config_size; in sof_ipc4_widget_setup() 1483 ipc_size = ipc4_copier->ipc_config_size; in sof_ipc4_widget_setup() 1493 ipc_size = sizeof(struct sof_ipc4_base_module_cfg) + in sof_ipc4_widget_setup() 1504 ipc_size = sizeof(mixer->base_config); in sof_ipc4_widget_setup() [all …]
|