Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/staging/media/atomisp/pci/runtime/spctrl/src/
Dspctrl.c41 ia_css_spctrl_cfg *spctrl_cfg) in ia_css_spctrl_load_fw() argument
46 if ((sp_id >= N_SP_ID) || (!spctrl_cfg)) in ia_css_spctrl_load_fw()
52 init_dmem_cfg->dmem_data_addr = spctrl_cfg->dmem_data_addr; in ia_css_spctrl_load_fw()
53 init_dmem_cfg->dmem_bss_addr = spctrl_cfg->dmem_bss_addr; in ia_css_spctrl_load_fw()
54 init_dmem_cfg->data_size = spctrl_cfg->data_size; in ia_css_spctrl_load_fw()
55 init_dmem_cfg->bss_size = spctrl_cfg->bss_size; in ia_css_spctrl_load_fw()
59 spctrl_cfg->spctrl_config_dmem_addr; in ia_css_spctrl_load_fw()
61 spctrl_cfg->spctrl_state_dmem_addr; in ia_css_spctrl_load_fw()
68 code_addr = hmm_alloc(spctrl_cfg->code_size, HMM_BO_PRIVATE, 0, NULL, 0); in ia_css_spctrl_load_fw()
71 hmm_store(code_addr, spctrl_cfg->code, spctrl_cfg->code_size); in ia_css_spctrl_load_fw()
[all …]
/Linux-v5.10/drivers/staging/media/atomisp/pci/runtime/spctrl/interface/
Dia_css_spctrl.h43 ia_css_spctrl_cfg *spctrl_cfg);
/Linux-v5.10/drivers/staging/media/atomisp/pci/
Dsh_css.c1544 ia_css_spctrl_cfg *spctrl_cfg) in sh_css_setup_spctrl_config() argument
1546 if ((!fw) || (!spctrl_cfg)) in sh_css_setup_spctrl_config()
1548 spctrl_cfg->sp_entry = 0; in sh_css_setup_spctrl_config()
1549 spctrl_cfg->program_name = (char *)(program); in sh_css_setup_spctrl_config()
1551 spctrl_cfg->ddr_data_offset = fw->blob.data_source; in sh_css_setup_spctrl_config()
1552 spctrl_cfg->dmem_data_addr = fw->blob.data_target; in sh_css_setup_spctrl_config()
1553 spctrl_cfg->dmem_bss_addr = fw->blob.bss_target; in sh_css_setup_spctrl_config()
1554 spctrl_cfg->data_size = fw->blob.data_size; in sh_css_setup_spctrl_config()
1555 spctrl_cfg->bss_size = fw->blob.bss_size; in sh_css_setup_spctrl_config()
1557 spctrl_cfg->spctrl_config_dmem_addr = fw->info.sp.init_dmem_data; in sh_css_setup_spctrl_config()
[all …]