Home
last modified time | relevance | path

Searched refs:index (Results 1 – 25 of 144) sorted by relevance

123456

/trusted-firmware-a/drivers/renesas/common/rom/
A Drom_api.c31 uint32_t index; in get_table_index() local
39 index = OLD_API_TABLE1; in get_table_index()
41 index = OLD_API_TABLE1; in get_table_index()
43 index = OLD_API_TABLE2; in get_table_index()
46 index = NEW_API_TABLE; in get_table_index()
53 index = NEW_API_TABLE; in get_table_index()
61 index = NEW_API_TABLE; in get_table_index()
64 index = NEW_API_TABLE; in get_table_index()
68 return index; in get_table_index()
82 uint32_t index; in rcar_rom_secure_boot_api() local
[all …]
/trusted-firmware-a/plat/arm/common/fconf/
A Darm_fconf_sp.c31 unsigned int index = 0; in fconf_populate_arm_sp() local
68 arm_sp.uuids[index] = uuid_helper; in fconf_populate_arm_sp()
76 arm_sp.load_addr[index] = val32; in fconf_populate_arm_sp()
92 arm_sp.load_addr[index]); in fconf_populate_arm_sp()
103 (strncmp(arm_sp.owner[index], "", in fconf_populate_arm_sp()
110 arm_sp.owner[index]); in fconf_populate_arm_sp()
120 (uintptr_t)&arm_sp.uuids[index]; in fconf_populate_arm_sp()
127 (uintptr_t)&arm_sp.uuids[index]; in fconf_populate_arm_sp()
139 arm_sp.load_addr[index]; in fconf_populate_arm_sp()
140 index++; in fconf_populate_arm_sp()
[all …]
/trusted-firmware-a/plat/arm/common/
A Darm_bl1_fwu.c55 unsigned int index = 0; in bl1_plat_mem_check() local
75 while (mmap[index].mem_size) { in bl1_plat_mem_check()
76 if ((mem_base >= mmap[index].mem_base) && in bl1_plat_mem_check()
78 <= (mmap[index].mem_base + in bl1_plat_mem_check()
79 mmap[index].mem_size))) in bl1_plat_mem_check()
82 index++; in bl1_plat_mem_check()
93 unsigned int index = 0; in bl1_plat_get_image_desc() local
95 while (bl1_tbbr_image_descs[index].image_id != INVALID_IMAGE_ID) { in bl1_plat_get_image_desc()
96 if (bl1_tbbr_image_descs[index].image_id == image_id) in bl1_plat_get_image_desc()
97 return &bl1_tbbr_image_descs[index]; in bl1_plat_get_image_desc()
[all …]
A Darm_image_load.c57 for (unsigned int index = 0; index < MAX_SP_IDS; index++) { in plat_add_sp_images_load_info() local
58 if (sp_mem_params_descs[index].image_id == 0) { in plat_add_sp_images_load_info()
61 curr_node = &sp_mem_params_descs[index].load_node_mem; in plat_add_sp_images_load_info()
63 curr_node->image_id = sp_mem_params_descs[index].image_id; in plat_add_sp_images_load_info()
64 curr_node->image_info = &sp_mem_params_descs[index].image_info; in plat_add_sp_images_load_info()
/trusted-firmware-a/drivers/auth/
A Dimg_parser_mod.c35 unsigned int index, mod_num; in img_parser_init() local
38 for (index = 0; index < IMG_MAX_TYPES; index++) { in img_parser_init()
39 parser_lib_indices[index] = INVALID_IDX; in img_parser_init()
49 for (index = 0; index < mod_num; index++) { in img_parser_init()
52 validate_desc(&parser_lib_descs[index]); in img_parser_init()
55 parser_lib_descs[index].init(); in img_parser_init()
58 assert(parser_lib_indices[parser_lib_descs[index].img_type] == in img_parser_init()
62 parser_lib_indices[parser_lib_descs[index].img_type] = index; in img_parser_init()
/trusted-firmware-a/lib/debugfs/
A Ddev.c43 channel->index = index; in create_new_channel()
97 int index; in next() local
104 index = 0; in next()
125 int index; in get_device_index() local
129 index++; in get_device_index()
136 return index; in get_device_index()
206 if ((channel->index == index) && (channel->qid == qid)) { in mount_point_to_channel()
236 int index; in devattach() local
365 new_channel->index = channel->index; in devclone()
449 dir->index = channel->index; in make_dir_entry()
[all …]
/trusted-firmware-a/drivers/renesas/common/console/
A Drcar_printf.c35 uint32_t index; member
57 if (t_log->header.index >= (uint32_t) RCAR_BL31_LOG_MAX) { in rcar_set_log_data()
58 t_log->header.index = 0U; in rcar_set_log_data()
64 t_log->log_data[t_log->header.index] = (uint8_t) c; in rcar_set_log_data()
65 t_log->header.index++; in rcar_set_log_data()
66 if (t_log->header.size < t_log->header.index) { in rcar_set_log_data()
67 t_log->header.size = t_log->header.index; in rcar_set_log_data()
69 if (t_log->header.index >= (uint32_t) RCAR_BL31_LOG_MAX) { in rcar_set_log_data()
70 t_log->header.index = 0U; in rcar_set_log_data()
91 if (t_log->header.index >= (uint32_t) RCAR_BL31_LOG_MAX) { in rcar_log_init()
[all …]
/trusted-firmware-a/docs/build/TF-A_2.5/_sources/plat/arm/
A Dindex.rst.txt8 juno/index
9 fvp/index
10 fvp_r/index
11 fvp-ve/index
12 tc/index
13 arm_fpga/index
15 morello/index
16 diphda/index
/trusted-firmware-a/docs/plat/arm/
A Dindex.rst8 juno/index
9 fvp/index
10 fvp_r/index
11 fvp-ve/index
12 tc/index
13 arm_fpga/index
15 morello/index
16 diphda/index
/trusted-firmware-a/drivers/arm/gic/v2/
A Dgicv2_helpers.c94 unsigned int index, num_ints; in gicv2_spis_configure_defaults() local
104 for (index = MIN_SPI_ID; index < num_ints; index += 32U) in gicv2_spis_configure_defaults()
105 gicd_write_igroupr(gicd_base, index, ~0U); in gicv2_spis_configure_defaults()
108 for (index = MIN_SPI_ID; index < num_ints; index += 4U) in gicv2_spis_configure_defaults()
110 index, in gicv2_spis_configure_defaults()
114 for (index = MIN_SPI_ID; index < num_ints; index += 16U) in gicv2_spis_configure_defaults()
115 gicd_write_icfgr(gicd_base, index, 0U); in gicv2_spis_configure_defaults()
/trusted-firmware-a/common/
A Druntime_svc.c38 unsigned int index; in handle_runtime_svc() local
46 index = rt_svc_descs_indices[idx]; in handle_runtime_svc()
47 if (index >= RT_SVC_DECS_NUM) in handle_runtime_svc()
54 return rt_svc_descs[index].handle(smc_fid, x1, x2, x3, x4, cookie, in handle_runtime_svc()
93 uint8_t index, start_idx, end_idx; in runtime_svc_init() local
108 for (index = 0U; index < RT_SVC_DECS_NUM; index++) { in runtime_svc_init()
109 rt_svc_desc_t *service = &rt_svc_descs[index]; in runtime_svc_init()
152 rt_svc_descs_indices[start_idx] = index; in runtime_svc_init()
A Ddesc_image_load.c55 unsigned int index; in get_bl_params_node_index() local
58 for (index = 0U; index < bl_mem_params_desc_num; index++) { in get_bl_params_node_index()
60 return (int)index; in get_bl_params_node_index()
73 int index; in get_bl_mem_params_node() local
76 index = get_bl_params_node_index(image_id); in get_bl_mem_params_node()
77 if (index >= 0) in get_bl_mem_params_node()
78 return &bl_mem_params_desc_ptr[index]; in get_bl_mem_params_node()
92 unsigned int index = 0; in get_bl_load_info_from_mem_params_desc() local
100 &bl_mem_params_desc_ptr[index].load_node_mem; in get_bl_load_info_from_mem_params_desc()
105 for (; index < bl_mem_params_desc_num; index++) { in get_bl_load_info_from_mem_params_desc()
[all …]
/trusted-firmware-a/drivers/marvell/mochi/
A Dcp110_setup.c26 #define MVEBU_AXI_ATTR_REG(index) (MVEBU_AXI_ATTR_OFFSET + \ argument
27 0x4 * index)
33 #define MVEBU_AXI_PROT_REG(index) ((index <= 4) ? \ argument
35 0x4 * index) : \
40 #define MVEBU_SOC_CFG_REG(index) (MVEBU_SOC_CFGS_OFFSET + \ argument
41 0x4 * index)
255 uint32_t index, data; in cp110_axi_attr_init() local
260 for (index = 0; index < AXI_MAX_ATTR; index++) { in cp110_axi_attr_init()
261 switch (index) { in cp110_axi_attr_init()
313 for (index = 0; index < MVEBU_AXI_PROT_REGS_NUM; index++) in cp110_axi_attr_init()
[all …]
A Dapn806_setup.c67 #define MVEBU_AXI_ATTR_REG(index) (MVEBU_AXI_ATTR_BASE + \ argument
68 0x4 * index)
194 uint32_t index, data; in apn806_axi_attr_init() local
199 for (index = 0; index < AXI_MAX_ATTR; index++) { in apn806_axi_attr_init()
200 switch (index) { in apn806_axi_attr_init()
212 data = mmio_read_32(MVEBU_AXI_ATTR_REG(index)); in apn806_axi_attr_init()
230 mmio_write_32(MVEBU_AXI_ATTR_REG(index), data); in apn806_axi_attr_init()
/trusted-firmware-a/plat/marvell/armada/a3k/common/
A Dio_addr_dec.c132 int32_t index; in init_io_addr_dec() local
154 for (index = 0; index < dram_wins_map->dram_win_num; index++) in init_io_addr_dec()
156 index, dram_wins_map->dram_windows[index].base_addr, in init_io_addr_dec()
157 dram_wins_map->dram_windows[index].win_size); in init_io_addr_dec()
160 for (index = 0; index < io_unit_num; index++) { in init_io_addr_dec()
161 io_dec_win = io_dec_config + index; in init_io_addr_dec()
/trusted-firmware-a/docs/build/TF-A_2.5/_static/
A Dunderscore-1.13.1.js79 for (index = 0; index < startIndex; index++) {
580 for (var index = 1; index < length; index++) {
766 for (var index = 0; index < length; index++) {
1247 for (; index >= 0 && index < length; index += dir) {
1347 for (var index = 0; index < length; index++) {
1366 for (; index >= 0 && index < length; index += dir) {
1406 for (var index = 0; index < length; index++) {
1418 for (var index = 0; index < length; index++) {
1529 for (var index = 0; index < n; index++) {
1550 index: index++,
[all …]
/trusted-firmware-a/plat/imx/imx8m/
A Dimx_rdc.c19 mmio_write_32(MDAn(rdc->index), rdc->setting.rdc_mda); in imx_rdc_init()
23 mmio_write_32(PDAPn(rdc->index), rdc->setting.rdc_pdap); in imx_rdc_init()
27 mmio_write_32(MRSAn(rdc->index), rdc->setting.rdc_mem_region[0]); in imx_rdc_init()
28 mmio_write_32(MREAn(rdc->index), rdc->setting.rdc_mem_region[1]); in imx_rdc_init()
29 mmio_write_32(MRCn(rdc->index), rdc->setting.rdc_mem_region[2]); in imx_rdc_init()
/trusted-firmware-a/drivers/io/
A Dio_mtd.c62 unsigned int index; in find_first_mtd_state() local
65 for (index = 0U; index < MAX_IO_MTD_DEVICES; index++) { in find_first_mtd_state()
67 if (state_pool[index].dev_spec == dev_spec) { in find_first_mtd_state()
69 *index_out = index; in find_first_mtd_state()
80 unsigned int index = 0U; in allocate_dev_info() local
83 result = find_first_mtd_state(NULL, &index); in allocate_dev_info()
88 dev_info_pool[index].funcs = &mtd_dev_funcs; in allocate_dev_info()
89 dev_info_pool[index].info = (uintptr_t)&state_pool[index]; in allocate_dev_info()
90 *dev_info = &dev_info_pool[index]; in allocate_dev_info()
99 unsigned int index = 0U; in free_dev_info() local
[all …]
A Dio_storage.c95 for (unsigned int index = 0; index < MAX_IO_HANDLES; ++index) { in find_first_entity() local
96 if (entity_map[index] == entity) { in find_first_entity()
98 *index_out = index; in find_first_entity()
113 unsigned int index = 0; in allocate_entity() local
114 result = find_first_entity(NULL, &index); in allocate_entity()
116 *entity = &entity_pool[index]; in allocate_entity()
117 entity_map[index] = &entity_pool[index]; in allocate_entity()
129 unsigned int index = 0; in free_entity() local
132 result = find_first_entity(entity, &index); in free_entity()
134 entity_map[index] = NULL; in free_entity()
/trusted-firmware-a/drivers/nxp/interconnect/
A Dls_ccn.c20 for (uint32_t index = 1U; index < num_clusters; index++) { in plat_ls_interconnect_enter_coherency() local
21 ccn_enter_snoop_dvm_domain(1ULL << index); in plat_ls_interconnect_enter_coherency()
A Dls_cci.c27 for (uint32_t index = 1U; index < num_clusters; index++) { in plat_ls_interconnect_enter_coherency() local
28 cci_enable_snoop_dvm_reqs(index); in plat_ls_interconnect_enter_coherency()
/trusted-firmware-a/plat/xilinx/zynqmp/pm_service/
A Dpm_api_ioctl.c447 if (index >= GGS_NUM_REGS) in pm_ioctl_write_ggs()
450 return pm_mmio_write(GGS_BASEADDR + (index << 2), in pm_ioctl_write_ggs()
467 if (index >= GGS_NUM_REGS) in pm_ioctl_read_ggs()
470 return pm_mmio_read(GGS_BASEADDR + (index << 2), value); in pm_ioctl_read_ggs()
486 if (index >= PGGS_NUM_REGS) in pm_ioctl_write_pggs()
489 return pm_mmio_write(PGGS_BASEADDR + (index << 2), in pm_ioctl_write_pggs()
502 static enum pm_ret_status pm_ioctl_afi(unsigned int index, in pm_ioctl_afi() argument
524 if (index >= ARRAY_SIZE(regarr)) in pm_ioctl_afi()
527 if (index < AFIFM6_WRCTRL) in pm_ioctl_afi()
532 return pm_mmio_write(regarr[index], mask, value); in pm_ioctl_afi()
[all …]
/trusted-firmware-a/drivers/renesas/common/auth/
A Dauth_mod.c42 int32_t ret = 0, index = 0; in auth_mod_verify_img() local
101 for (index = 0; index < RCAR_IMAGE_ID_MAX; index++) { in auth_mod_verify_img()
102 if (img_id != image[index].id) in auth_mod_verify_img()
105 ret = rcar_get_certificate(image[index].cert, &cert_addr); in auth_mod_verify_img()
109 if (ret || (index == RCAR_IMAGE_ID_MAX)) { in auth_mod_verify_img()
122 ERROR("Verification Failed 0x%x, %s\n", ret, image[index].name); in auth_mod_verify_img()
/trusted-firmware-a/plat/brcm/board/stingray/driver/
A Dusb_phy.c480 int32_t index; in usb_info_fill() local
494 for (index = MAX_NR_PORTS - 1U; index > -1; index--) { in usb_info_fill()
496 >> index) & 0x1U; in usb_info_fill()
498 phy_info->phy_port[index].port_id = index; in usb_info_fill()
508 uint32_t index; in usb_phy_init() local
517 for (index = 0U; index < MAX_NR_PORTS; index++) { in usb_phy_init()
523 phy_port[index]); in usb_phy_init()
528 phy_port[index]); in usb_phy_init()
540 uint32_t index; in usb_phy_shutdown() local
546 for (index = 0U; index < MAX_NR_PORTS; index++) { in usb_phy_shutdown()
[all …]
/trusted-firmware-a/lib/fconf/
A Dfconf_dyn_cfg_getter.c45 unsigned int index; in dyn_cfg_dtb_info_getter() local
48 for (index = 0U; index < MAX_DTB_INFO; index++) { in dyn_cfg_dtb_info_getter()
49 if (dtb_infos[index].config_id == config_id) { in dyn_cfg_dtb_info_getter()
50 return &dtb_infos[index]; in dyn_cfg_dtb_info_getter()

Completed in 35 milliseconds

123456