Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/staging/media/atomisp/pci/runtime/spctrl/src/
Dspctrl.c40 int ia_css_spctrl_load_fw(sp_ID_t sp_id, ia_css_spctrl_cfg *spctrl_cfg) in ia_css_spctrl_load_fw() argument
45 if ((sp_id >= N_SP_ID) || (!spctrl_cfg)) in ia_css_spctrl_load_fw()
51 init_dmem_cfg->dmem_data_addr = spctrl_cfg->dmem_data_addr; in ia_css_spctrl_load_fw()
52 init_dmem_cfg->dmem_bss_addr = spctrl_cfg->dmem_bss_addr; in ia_css_spctrl_load_fw()
53 init_dmem_cfg->data_size = spctrl_cfg->data_size; in ia_css_spctrl_load_fw()
54 init_dmem_cfg->bss_size = spctrl_cfg->bss_size; in ia_css_spctrl_load_fw()
58 spctrl_cfg->spctrl_config_dmem_addr; in ia_css_spctrl_load_fw()
60 spctrl_cfg->spctrl_state_dmem_addr; in ia_css_spctrl_load_fw()
67 code_addr = hmm_alloc(spctrl_cfg->code_size); in ia_css_spctrl_load_fw()
70 hmm_store(code_addr, spctrl_cfg->code, spctrl_cfg->code_size); in ia_css_spctrl_load_fw()
[all …]
/Linux-v6.6/drivers/staging/media/atomisp/pci/runtime/spctrl/interface/
Dia_css_spctrl.h43 ia_css_spctrl_cfg *spctrl_cfg);
/Linux-v6.6/drivers/staging/media/atomisp/pci/
Dsh_css.c1347 ia_css_spctrl_cfg *spctrl_cfg) in sh_css_setup_spctrl_config() argument
1349 if ((!fw) || (!spctrl_cfg)) in sh_css_setup_spctrl_config()
1351 spctrl_cfg->sp_entry = 0; in sh_css_setup_spctrl_config()
1352 spctrl_cfg->program_name = (char *)(program); in sh_css_setup_spctrl_config()
1354 spctrl_cfg->ddr_data_offset = fw->blob.data_source; in sh_css_setup_spctrl_config()
1355 spctrl_cfg->dmem_data_addr = fw->blob.data_target; in sh_css_setup_spctrl_config()
1356 spctrl_cfg->dmem_bss_addr = fw->blob.bss_target; in sh_css_setup_spctrl_config()
1357 spctrl_cfg->data_size = fw->blob.data_size; in sh_css_setup_spctrl_config()
1358 spctrl_cfg->bss_size = fw->blob.bss_size; in sh_css_setup_spctrl_config()
1360 spctrl_cfg->spctrl_config_dmem_addr = fw->info.sp.init_dmem_data; in sh_css_setup_spctrl_config()
[all …]