| /rk3399_ARM-atf/plat/nvidia/tegra/drivers/memctrl/ |
| H A D | memctrl_v2.c | 174 uint32_t index; in tegra_lock_videomem_nonoverlap() local 183 for (index = MC_VIDEO_PROTECT_CLEAR_ACCESS_CFG0; in tegra_lock_videomem_nonoverlap() 184 index < ((uint32_t)MC_VIDEO_PROTECT_CLEAR_ACCESS_CFG0 + (uint32_t)MC_GSC_CONFIG_REGS_SIZE); in tegra_lock_videomem_nonoverlap() 185 index += 4U) { in tegra_lock_videomem_nonoverlap() 186 tegra_mc_write_32(index, 0); in tegra_lock_videomem_nonoverlap()
|
| /rk3399_ARM-atf/plat/hisilicon/hikey960/ |
| H A D | hikey960_bl1_setup.c | 223 unsigned int index = 0; in bl1_plat_get_image_desc() local 225 while (bl1_tbbr_image_descs[index].image_id != INVALID_IMAGE_ID) { in bl1_plat_get_image_desc() 226 if (bl1_tbbr_image_descs[index].image_id == image_id) in bl1_plat_get_image_desc() 227 return &bl1_tbbr_image_descs[index]; in bl1_plat_get_image_desc() 228 index++; in bl1_plat_get_image_desc()
|
| /rk3399_ARM-atf/plat/mediatek/mt8192/drivers/apusys/ |
| H A D | mtk_apusys_apc.c | 449 uint32_t index; in set_apusys_noc_dapc() local 453 index = i; in set_apusys_noc_dapc() 455 index = i + APUSYS_NOC_DAPC_JUMP_GAP; in set_apusys_noc_dapc() 457 ret += set_slave_noc_dapc(index, DOMAIN_0, in set_apusys_noc_dapc() 459 ret += set_slave_noc_dapc(index, DOMAIN_1, in set_apusys_noc_dapc() 461 ret += set_slave_noc_dapc(index, DOMAIN_2, in set_apusys_noc_dapc() 463 ret += set_slave_noc_dapc(index, DOMAIN_3, in set_apusys_noc_dapc() 465 ret += set_slave_noc_dapc(index, DOMAIN_4, in set_apusys_noc_dapc() 467 ret += set_slave_noc_dapc(index, DOMAIN_5, in set_apusys_noc_dapc() 469 ret += set_slave_noc_dapc(index, DOMAIN_6, in set_apusys_noc_dapc() [all …]
|
| /rk3399_ARM-atf/lib/debugfs/ |
| H A D | devfip.c | 100 n = devtab[c->index]->read(c, entry, sizeof(struct fip_entry)); in get_entry() 144 if (devtab[nc.index]->seek(&nc, off, KSEEK_SET) < 0) { in fipgen() 226 if (devtab[cs.index]->seek(&cs, off, KSEEK_SET) < 0) { in fipread() 230 n = devtab[cs.index]->read(&cs, buf, n); in fipread() 270 r = devtab[cspec->index]->read(cspec, &hname, sizeof(hname)); in fipmount() 283 t = cspec->index; in fipmount()
|
| /rk3399_ARM-atf/plat/imx/common/sci/ |
| H A D | imx8_mu.h | 34 void MU_EnableGeneralInt(uint32_t base, uint32_t index); 35 void MU_EnableRxFullInt(uint32_t base, uint32_t index);
|
| /rk3399_ARM-atf/services/std_svc/spm/spm_mm/ |
| H A D | spm_mm_setup.c | 383 for (unsigned int index = 0; index < sp_boot_info->num_cpus; index++) { in spm_sp_setup() local 384 u_register_t mpidr = sp_mp_info[index].mpidr; in spm_sp_setup() 386 sp_mp_info[index].linear_id = plat_core_pos_by_mpidr(mpidr); in spm_sp_setup() 387 if (plat_my_core_pos() == sp_mp_info[index].linear_id) in spm_sp_setup() 388 sp_mp_info[index].flags |= MP_INFO_FLAG_PRIMARY_CPU; in spm_sp_setup()
|
| /rk3399_ARM-atf/plat/qemu/qemu_sbsa/include/ |
| H A D | sbsa_platform.h | 52 struct platform_cpu_data sbsa_platform_cpu_node(uint64_t index); 53 struct platform_memory_data sbsa_platform_memory_node(uint64_t index);
|
| /rk3399_ARM-atf/include/lib/psa/ |
| H A D | measured_boot.h | 50 rse_measured_boot_extend_measurement(uint8_t index, 95 psa_status_t rse_measured_boot_read_measurement(uint8_t index,
|
| /rk3399_ARM-atf/plat/mediatek/common/ |
| H A D | mtk_bl31_setup.c | 72 void *get_mtk_bl31_fw_config(int index) in get_mtk_bl31_fw_config() argument 76 switch (index) { in get_mtk_bl31_fw_config() 90 WARN("Fail to get boot arg, index:%d", index); in get_mtk_bl31_fw_config()
|
| /rk3399_ARM-atf/docs/components/ |
| H A D | romlib-design.rst | 29 Library at ROM is described by an index file with the list of functions to be 30 placed in ROM. The index file is platform specific and its format is: 49 table. Also, for additional flexibility and modularity, the index file can 50 include other index files. 52 For an index file example, refer to ``lib/romlib/jmptbl.i``. 65 The index file is used to create a jump table which is placed in ROM. Then, the 90 the index file. 97 each entry in the index file except for the ones that contain the keyword 100 4. ``romlib_generator.py pre [args]`` - Preprocesses the index file which means 102 generate a dependency file of the included index files which can be directly [all …]
|
| /rk3399_ARM-atf/plat/intel/soc/common/drivers/ccu/ |
| H A D | ncore_ccu.c | 405 for (int index = 0; index < ARRAY_SIZE(ncore_ccu_modules); index++) { in init_ncore_ccu() local 406 base = ncore_ccu_modules[index].base; in init_ncore_ccu() 407 size = ncore_ccu_modules[index].size; in init_ncore_ccu() 409 switch (index) { in init_ncore_ccu() 485 base, ncore_ccu_modules[index].name, size, (uint32_t *)ccu_module_table); in init_ncore_ccu()
|
| /rk3399_ARM-atf/plat/nxp/soc-lx2160a/ |
| H A D | soc.c | 383 int dram_idx, index = 0U; in soc_mem_access() local 393 index = populate_tzc400_reg_list(tzc400_reg_list, in soc_mem_access() 394 dram_idx, index, in soc_mem_access() 402 mem_access_setup(NXP_TZC_ADDR, index, in soc_mem_access() 404 mem_access_setup(NXP_TZC3_ADDR, index, in soc_mem_access() 409 mem_access_setup(NXP_TZC2_ADDR, index, in soc_mem_access() 411 mem_access_setup(NXP_TZC4_ADDR, index, in soc_mem_access()
|
| /rk3399_ARM-atf/services/std_svc/spm/el3_spmc/ |
| H A D | spmc_main.c | 1009 uint32_t index; in partition_info_get_handler_v1_1() local 1015 for (index = 0U; index < EL3_LP_DESCS_COUNT; index++) { in partition_info_get_handler_v1_1() 1016 if (null_uuid || uuid_match(uuid, el3_lp_descs[index].uuid)) { in partition_info_get_handler_v1_1() 1023 desc->ep_id = el3_lp_descs[index].sp_id; in partition_info_get_handler_v1_1() 1028 el3_lp_descs[index].properties, in partition_info_get_handler_v1_1() 1032 copy_uuid(desc->uuid, el3_lp_descs[index].uuid); in partition_info_get_handler_v1_1() 1039 for (index = 0U; index < SECURE_PARTITION_COUNT; index++) { in partition_info_get_handler_v1_1() 1043 for (uuid_index = 0; uuid_index < sp_desc[index].num_uuids; in partition_info_get_handler_v1_1() 1045 sp_uuid = sp_desc[index].uuid_array[uuid_index].uuid; in partition_info_get_handler_v1_1() 1055 desc->ep_id = sp_desc[index].sp_id; in partition_info_get_handler_v1_1() [all …]
|
| /rk3399_ARM-atf/plat/mediatek/mt8183/drivers/mcsi/ |
| H A D | mcsi.h | 18 #define SLAVE_IFACE_OFFSET(index) (SLAVE_IFACE0_OFFSET + \ argument 19 (0x100 * (index)))
|
| /rk3399_ARM-atf/plat/qemu/common/ |
| H A D | qemu_common.c | 236 static void plat_get_memory_node(int index, struct memory_bank *bank_ptr) in plat_get_memory_node() argument 238 (void) index; in plat_get_memory_node() 248 static void plat_get_memory_node(int index, struct memory_bank *bank_ptr) in plat_get_memory_node() argument 252 if (index < sbsa_platform_num_memnodes()) { in plat_get_memory_node() 253 data = sbsa_platform_memory_node(index); in plat_get_memory_node()
|
| /rk3399_ARM-atf/plat/mediatek/drivers/gic600/ |
| H A D | mt_gic_v3.c | 91 unsigned int index; in mt_gic_rdistif_init() local 102 for (index = 0; index < TOTAL_PCPU_INTR_NUM; index += 4U) in mt_gic_rdistif_init() 103 gicr_write_ipriorityr(gicr_base, index, in mt_gic_rdistif_init()
|
| /rk3399_ARM-atf/plat/amd/versal2/ |
| H A D | plat_psci_pm.c | 198 uint32_t index = 0, counter = 0; in versal2_validate_ns_entrypoint() local 205 while (index < counter) { in versal2_validate_ns_entrypoint() 206 if ((ns_entrypoint >= rmr[index].base) && in versal2_validate_ns_entrypoint() 207 (ns_entrypoint <= rmr[index].size)) { in versal2_validate_ns_entrypoint() 211 index++; in versal2_validate_ns_entrypoint()
|
| /rk3399_ARM-atf/plat/brcm/board/stingray/driver/ |
| H A D | ihost_pll_config.c | 204 volatile unsigned int index; in insert_delay() local 206 for (index = 0; index < delay; index++) in insert_delay()
|
| /rk3399_ARM-atf/plat/nxp/soc-ls1046a/ |
| H A D | soc.c | 282 unsigned int dram_idx, index = 0U; in soc_mem_access() local 292 index = populate_tzc400_reg_list(tzc400_reg_list, in soc_mem_access() 293 dram_idx, index, in soc_mem_access() 299 mem_access_setup(NXP_TZC_ADDR, index, tzc400_reg_list); in soc_mem_access()
|
| /rk3399_ARM-atf/include/drivers/arm/ |
| H A D | gicv5.h | 108 static inline void write_##_name(uintptr_t base, uint16_t index, uint32_t val) \ 110 mmio_write_32(base + _offset + (index * sizeof(uint32_t)), val); \ 114 static inline uint32_t read_##_name(uintptr_t base, uint16_t index) \ 116 return mmio_read_32(base + _offset + (index * sizeof(uint32_t))); \
|
| /rk3399_ARM-atf/plat/nxp/soc-ls1088a/ |
| H A D | soc.c | 205 int dram_idx, index = 1; in soc_mem_access() local 215 index = populate_tzc400_reg_list(tzc400_reg_list, in soc_mem_access() 216 dram_idx, index, in soc_mem_access() 222 mem_access_setup(NXP_TZC_ADDR, index, in soc_mem_access()
|
| /rk3399_ARM-atf/drivers/nxp/clk/s32cc/ |
| H A D | s32cc_clk_drv.c | 609 config_pll_out_div(pll_addr, pdiv->index, dc); in enable_pll_div() 699 return cgm_mux_clk_config(cgm_addr, mux->index, in enable_cgm_mux() 715 mux->source_id, mux->index); in get_mux_parent() 743 mux->source_id, mux->index); in enable_mux() 990 return init_dfs_port(dfs_addr, dfs_div->index, mfi, mfn); in enable_dfs_div() 1172 cgm_div->index); in enable_cgm_div() 1192 mux->index, cgm_addr); in enable_cgm_div() 1202 mux->index, cgm_div->index, (unsigned long)pfreq, in enable_cgm_div() 1207 cgm_mux_div_config(cgm_addr, mux->index, dc - 1U, cgm_div->index); in enable_cgm_div() 1289 if (!is_cgm_div_enabled(cgm_addr, mux->index, cgm_div->index)) { in get_cgm_div_freq() [all …]
|
| /rk3399_ARM-atf/plat/st/stm32mp1/ |
| H A D | stm32mp1_syscfg.c | 219 static void enable_hslv_by_index(uint32_t index) in enable_hslv_by_index() argument 223 assert(index < HSLV_NB_IDX); in enable_hslv_by_index() 225 switch (index) { in enable_hslv_by_index() 238 uint32_t reg_offset = index * sizeof(uint32_t); in enable_hslv_by_index()
|
| /rk3399_ARM-atf/plat/nxp/soc-ls1043a/ |
| H A D | soc.c | 292 int dram_idx, index = 0U; in soc_mem_access() local 303 index = populate_tzc380_reg_list(tzc380_reg_list, in soc_mem_access() 304 dram_idx, index, in soc_mem_access() 310 mem_access_setup(NXP_TZC_ADDR, index, tzc380_reg_list); in soc_mem_access()
|
| /rk3399_ARM-atf/common/ |
| H A D | fdt_wrappers.c | 291 int fdt_get_reg_props_by_index(const void *dtb, int node, int index, in fdt_get_reg_props_by_index() argument 307 cell = index * (ac + sc); in fdt_get_reg_props_by_index() 338 int index; in fdt_get_reg_props_by_name() local 340 index = fdt_stringlist_search(dtb, node, "reg-names", name); in fdt_get_reg_props_by_name() 341 if (index < 0) { in fdt_get_reg_props_by_name() 342 return index; in fdt_get_reg_props_by_name() 345 return fdt_get_reg_props_by_index(dtb, node, index, base, size); in fdt_get_reg_props_by_name()
|