Searched refs:spctrl_cfg (Results 1 – 3 of 3) sorted by relevance
40 int ia_css_spctrl_load_fw(sp_ID_t sp_id, ia_css_spctrl_cfg *spctrl_cfg) in ia_css_spctrl_load_fw() argument45 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, HMM_BO_PRIVATE, 0, NULL, 0); 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 …]
43 ia_css_spctrl_cfg *spctrl_cfg);
1370 ia_css_spctrl_cfg *spctrl_cfg) in sh_css_setup_spctrl_config() argument1372 if ((!fw) || (!spctrl_cfg)) in sh_css_setup_spctrl_config()1374 spctrl_cfg->sp_entry = 0; in sh_css_setup_spctrl_config()1375 spctrl_cfg->program_name = (char *)(program); in sh_css_setup_spctrl_config()1377 spctrl_cfg->ddr_data_offset = fw->blob.data_source; in sh_css_setup_spctrl_config()1378 spctrl_cfg->dmem_data_addr = fw->blob.data_target; in sh_css_setup_spctrl_config()1379 spctrl_cfg->dmem_bss_addr = fw->blob.bss_target; in sh_css_setup_spctrl_config()1380 spctrl_cfg->data_size = fw->blob.data_size; in sh_css_setup_spctrl_config()1381 spctrl_cfg->bss_size = fw->blob.bss_size; in sh_css_setup_spctrl_config()1383 spctrl_cfg->spctrl_config_dmem_addr = fw->info.sp.init_dmem_data; in sh_css_setup_spctrl_config()[all …]