/trusted-firmware-a/plat/nxp/common/soc_errata/ |
A D | errata_a050426.c | 21 for (i = 0U; i < 4U; i++) { in erratum_a050426() 30 for (i = 0U; i < 3U; i++) { in erratum_a050426() 35 for (i = 0U; i < 2U; i++) { in erratum_a050426() 38 for (i = 0U; i < 3U; i++) { in erratum_a050426() 42 for (i = 0U; i < 4U; i++) { in erratum_a050426() 58 for (i = 0U; i < 3U; i++) { in erratum_a050426() 62 for (i = 0U; i < 2U; i++) { in erratum_a050426() 68 for (i = 0U; i < 4U; i++) { in erratum_a050426() 72 for (i = 0U; i < 2U; i++) { in erratum_a050426() 76 for (i = 0U; i < 4U; i++) { in erratum_a050426() [all …]
|
/trusted-firmware-a/plat/nxp/common/setup/ |
A D | ls_common.c | 63 int i = 0; in mmap_add_ddr_regions_statically() local 72 info_dram_regions->region[i].addr, in mmap_add_ddr_regions_statically() 73 info_dram_regions->region[i].size, in mmap_add_ddr_regions_statically() 89 (info_dram_regions->region[i].addr in mmap_add_ddr_regions_statically() 96 for (i = 1; i < info_dram_regions->num_dram_regions; i++) { in mmap_add_ddr_regions_statically() 116 int i = 0; in mmap_add_ddr_region_dynamically() local 125 info_dram_regions->region[i].addr, in mmap_add_ddr_region_dynamically() 126 info_dram_regions->region[i].size, in mmap_add_ddr_region_dynamically() 149 for (i = 1; i < info_dram_regions->num_dram_regions; i++) { in mmap_add_ddr_region_dynamically() 252 unsigned int i; in get_cluster_info() local [all …]
|
/trusted-firmware-a/drivers/nxp/flexspi/nor/ |
A D | test_fspi.c | 31 uint32_t failed, i; in fspi_test() local 43 for (i = 0; i < size; i++) in fspi_test() 50 NOTICE("[%d]: Success Erase: data in buffer[%d] 0x%08x\n", __LINE__, i-3, buffer[i-3]); in fspi_test() 52 ERROR("Erase: Failed -->xxx with buffer[%d]=0x%08x\n", i, buffer[i]); in fspi_test() 55 for (i = 0; i < SIZE_BUFFER; i++) in fspi_test() 56 buffer[i] = 0x12345678; in fspi_test() 63 for (i = 0; i < size; i++) in fspi_test() 70 NOTICE("[%d]: Success IpWrite with IP READ in buffer[%d] 0x%08x\n", __LINE__, i-3, buffer[i-3]); in fspi_test() 72 ERROR("Write: Failed -->xxxx with IP READ in buffer[%d]=0x%08x\n", i, buffer[i]); in fspi_test() 79 for (i = 0; i < size; i++) in fspi_test() [all …]
|
/trusted-firmware-a/plat/rockchip/rk3399/drivers/dram/ |
A D | dfs.c | 277 for (i = 0; i < cnt; i++) { in get_rdlat_adj() 302 for (i = 0; i < cnt; i++) { in get_wrlat_adj() 997 for (i = 0; i < ch_cnt; i++) { in gen_rk3399_enable_training() 1008 for (i = 0; i < ch_cnt; i++) { in gen_rk3399_disable_training() 1437 for (i = 0; i < 4; i++) { in gen_rk3399_phy_dll_bypass() 1450 for (i = 0; i < 3; i++) in gen_rk3399_phy_dll_bypass() 1460 for (i = 0; i < 4; i++) { in gen_rk3399_phy_dll_bypass() 1478 for (i = 0; i < 4; i++) { in gen_rk3399_phy_dll_bypass() 1747 for (i = 0; i < 2; i++) { in exit_low_power() 1785 for (i = 0; i < 2; i++) { in resume_low_power() [all …]
|
A D | dram.c | 17 uint32_t os_reg2_val, i; in dram_init() local 25 for (i = 0; i < 2; i++) { in dram_init() 29 if (!(SYS_REG_DEC_CHINFO(os_reg2_val, i))) in dram_init() 32 ch->rank = SYS_REG_DEC_RANK(os_reg2_val, i); in dram_init() 33 ch->col = SYS_REG_DEC_COL(os_reg2_val, i); in dram_init() 34 ch->bk = SYS_REG_DEC_BK(os_reg2_val, i); in dram_init() 35 ch->bw = SYS_REG_DEC_BW(os_reg2_val, i); in dram_init() 36 ch->dbw = SYS_REG_DEC_DBW(os_reg2_val, i); in dram_init() 37 ch->row_3_4 = SYS_REG_DEC_ROW_3_4(os_reg2_val, i); in dram_init() 38 ch->cs0_row = SYS_REG_DEC_CS0_ROW(os_reg2_val, i); in dram_init() [all …]
|
/trusted-firmware-a/tools/cert_create/src/ |
A D | main.c | 191 for (i = 0; i < KEY_SIZE_MAX_NUM; i++) { in check_cmd_params() 211 for (i = 0; i < num_certs; i++) { in check_cmd_params() 432 for (i = 0 ; i < num_keys ; i++) { in main() 472 for (i = 0 ; i < num_certs ; i++) { in main() 563 for (i = 0 ; i < num_certs ; i++) { in main() 573 for (i = 0 ; i < num_certs ; i++) { in main() 587 for (i = 0 ; i < num_keys ; i++) { in main() 597 for (i = 0; i < num_keys; i++) { in main() 608 for (i = 0; i < num_keys; i++) { in main() 616 for (i = 0; i < num_extensions; i++) { in main() [all …]
|
/trusted-firmware-a/plat/arm/common/fconf/ |
A D | fconf_sdei_getter.c | 13 #define PRIVATE_EVENT_NUM(i) private_events[3 * (i)] argument 14 #define PRIVATE_EVENT_INTR(i) private_events[3 * (i) + 1] argument 15 #define PRIVATE_EVENT_FLAGS(i) private_events[3 * (i) + 2] argument 17 #define SHARED_EVENT_NUM(i) shared_events[3 * (i)] argument 18 #define SHARED_EVENT_INTR(i) shared_events[3 * (i) + 1] argument 19 #define SHARED_EVENT_FLAGS(i) shared_events[3 * (i) + 2] argument 25 uint32_t i; in fconf_populate_sdei_dyn_config() local 64 for (i = 0; i < sdei_dyn_config.private_ev_cnt; i++) { in fconf_populate_sdei_dyn_config() 65 sdei_dyn_config.private_ev_nums[i] = PRIVATE_EVENT_NUM(i); in fconf_populate_sdei_dyn_config() 94 for (i = 0; i < sdei_dyn_config.shared_ev_cnt; i++) { in fconf_populate_sdei_dyn_config() [all …]
|
A D | fconf_sec_intr_config.c | 13 #define G0_INTR_NUM(i) g0_intr_prop[3U * (i)] argument 14 #define G0_INTR_PRIORITY(i) g0_intr_prop[3U * (i) + 1] argument 15 #define G0_INTR_CONFIG(i) g0_intr_prop[3U * (i) + 2] argument 17 #define G1S_INTR_NUM(i) g1s_intr_prop[3U * (i)] argument 18 #define G1S_INTR_PRIORITY(i) g1s_intr_prop[3U * (i) + 1] argument 19 #define G1S_INTR_CONFIG(i) g1s_intr_prop[3U * (i) + 2] argument 103 for (uint32_t i = 0; i < g0_intr_count; i++) { in fconf_populate_sec_intr_config() local 108 sec_intr_property.intr_num = G0_INTR_NUM(i); in fconf_populate_sec_intr_config() 110 sec_intr_property.intr_cfg = G0_INTR_CONFIG(i); in fconf_populate_sec_intr_config() 116 for (uint32_t i = 0; i < g1s_intr_count; i++) { in fconf_populate_sec_intr_config() local [all …]
|
/trusted-firmware-a/plat/intel/soc/stratix10/soc/ |
A D | s10_pinmux.c | 190 unsigned int i; in config_pinmux() local 192 for (i = 0; i < 96; i += 2) { in config_pinmux() 194 hoff_ptr->pinmux_sel_array[i], in config_pinmux() 195 hoff_ptr->pinmux_sel_array[i+1]); in config_pinmux() 198 for (i = 0; i < 96; i += 2) { in config_pinmux() 200 hoff_ptr->pinmux_io_array[i], in config_pinmux() 201 hoff_ptr->pinmux_io_array[i+1]); in config_pinmux() 204 for (i = 0; i < 42; i += 2) { in config_pinmux() 206 hoff_ptr->pinmux_fpga_array[i], in config_pinmux() 207 hoff_ptr->pinmux_fpga_array[i+1]); in config_pinmux() [all …]
|
/trusted-firmware-a/plat/intel/soc/agilex/soc/ |
A D | agilex_pinmux.c | 197 unsigned int i; in config_pinmux() local 199 for (i = 0; i < 96; i += 2) { in config_pinmux() 201 hoff_ptr->pinmux_sel_array[i], in config_pinmux() 202 hoff_ptr->pinmux_sel_array[i+1]); in config_pinmux() 205 for (i = 0; i < 96; i += 2) { in config_pinmux() 207 hoff_ptr->pinmux_io_array[i], in config_pinmux() 208 hoff_ptr->pinmux_io_array[i+1]); in config_pinmux() 211 for (i = 0; i < 42; i += 2) { in config_pinmux() 213 hoff_ptr->pinmux_fpga_array[i], in config_pinmux() 214 hoff_ptr->pinmux_fpga_array[i+1]); in config_pinmux() [all …]
|
/trusted-firmware-a/plat/rockchip/px30/drivers/soc/ |
A D | soc.c | 48 uint32_t i, j; in clk_gate_con_save() local 50 for (i = 0; i < CRU_CLKGATES_CON_CNT; i++) in clk_gate_con_save() 53 j = i; in clk_gate_con_save() 54 for (i = 0; i < CRU_PMU_CLKGATE_CON_CNT; i++, j++) in clk_gate_con_save() 61 uint32_t i, j; in clk_gate_con_restore() local 63 for (i = 0; i < CRU_CLKGATES_CON_CNT; i++) in clk_gate_con_restore() 67 j = i; in clk_gate_con_restore() 68 for (i = 0; i < CRU_PMU_CLKGATE_CON_CNT; i++, j++) in clk_gate_con_restore() 75 uint32_t i; in clk_gate_con_disable() local 77 for (i = 0; i < CRU_CLKGATES_CON_CNT; i++) in clk_gate_con_disable() [all …]
|
/trusted-firmware-a/drivers/arm/gic/v3/ |
A D | gicv3_helpers.c | 148 for (i = MIN_SPI_ID; i < num_ints; i += (1U << IGROUPR_SHIFT)) { in gicv3_spis_config_defaults() 167 for (i = MIN_SPI_ID; i < num_ints; i += (1U << IPRIORITYR_SHIFT)) { in gicv3_spis_config_defaults() 172 for (i = MIN_ESPI_ID; i < num_eints; in gicv3_spis_config_defaults() 180 for (i = MIN_SPI_ID; i < num_ints; i += (1U << ICFGR_SHIFT)) { in gicv3_spis_config_defaults() 185 for (i = MIN_ESPI_ID; i < num_eints; i += (1U << ICFGR_SHIFT)) { in gicv3_spis_config_defaults() 208 for (i = 0U; i < interrupt_props_num; i++) { in gicv3_secure_spis_config_props() 276 for (i = 0U; i < ppi_regs_num; ++i) { in gicv3_ppi_sgi_config_defaults() 284 for (i = 0U; i < ppi_regs_num; ++i) { in gicv3_ppi_sgi_config_defaults() 291 for (i = 0U; i < regs_num; ++i) { in gicv3_ppi_sgi_config_defaults() 298 for (i = (MIN_PPI_ID >> ICFGR_SHIFT); i < regs_num; ++i) { in gicv3_ppi_sgi_config_defaults() [all …]
|
/trusted-firmware-a/plat/qti/common/src/ |
A D | qti_syscall.c | 78 for (i = 0; i < ARRAY_SIZE(qti_secure_io_allowed_regs); i++) { in qti_is_secure_io_access_allowed() 110 int i; in qti_mem_assign_validate_param() local 125 for (i = 0; i < u_num_mappings; i++) { in qti_mem_assign_validate_param() 152 for (i = 0; i < src_vm_list_cnt; i++) { in qti_mem_assign_validate_param() 155 i, (unsigned int)source_vm_list[i]); in qti_mem_assign_validate_param() 159 for (i = 0; i < dst_vm_list_cnt; i++) { in qti_mem_assign_validate_param() 253 for (int i = 0; i < u_num_mappings; i++) { in qti_sip_mem_assign() local 260 for (int i = 0; i < dst_vm_list_cnt; i++) { in qti_sip_mem_assign() local 263 dest_vm_list[i].ctx = dest_vm_list_p[i].ctx; in qti_sip_mem_assign() 269 for (int i = 0; i < src_vm_list_cnt; i++) { in qti_sip_mem_assign() local [all …]
|
/trusted-firmware-a/drivers/nxp/ddr/nxp-ddr/ |
A D | ddrc.c | 69 for (i = 0U; i < 4U; i++) { in bist() 104 for (i = 0U; i < 10U; i++) { in bist() 127 for (i = 0U; i < 4U; i++) { in bist() 153 for (i = 0U; i < U(0x400); i++, ddr++) { in dump_ddrc() 218 for (i = 0U; i < DDRC_NUM_CS; i++) { in ddrc_set_regs() 239 for (i = 0U; i < 4U; i++) { in ddrc_set_regs() 320 for (i = 0U; i < 4U; i++) { in ddrc_set_regs() 325 for (i = 0U; i < 64U; i++) { in ddrc_set_regs() 337 for (i = 0U; i < 10U; i++) { in ddrc_set_regs() 455 for (i = 0; i < DDRC_NUM_CS; i++) { in ddrc_set_regs() [all …]
|
/trusted-firmware-a/drivers/renesas/rzg/qos/G2N/ |
A D | qos_init_g2n_v10.c | 148 uint32_t i; in qos_init_g2n_v10() local 150 for (i = 0U; i < ARRAY_SIZE(mstat_fix); i++) { in qos_init_g2n_v10() 151 mmio_write_64(QOSBW_FIX_QOS_BANK0 + i * 8U, mstat_fix[i]); in qos_init_g2n_v10() 152 mmio_write_64(QOSBW_FIX_QOS_BANK1 + i * 8U, mstat_fix[i]); in qos_init_g2n_v10() 154 for (i = 0U; i < ARRAY_SIZE(mstat_be); i++) { in qos_init_g2n_v10() 155 mmio_write_64(QOSBW_BE_QOS_BANK0 + i * 8U, mstat_be[i]); in qos_init_g2n_v10() 156 mmio_write_64(QOSBW_BE_QOS_BANK1 + i * 8U, mstat_be[i]); in qos_init_g2n_v10() 159 for (i = 0U; i < ARRAY_SIZE(qoswt_fix); i++) { in qos_init_g2n_v10() 163 for (i = 0U; i < ARRAY_SIZE(qoswt_be); i++) { in qos_init_g2n_v10() 164 mmio_write_64(QOSWT_BE_WTQOS_BANK0 + i * 8U, qoswt_be[i]); in qos_init_g2n_v10() [all …]
|
/trusted-firmware-a/drivers/renesas/rcar/qos/M3N/ |
A D | qos_init_m3n_v10.c | 150 uint32_t i; in qos_init_m3n_v10() local 152 for (i = 0U; i < ARRAY_SIZE(mstat_fix); i++) { in qos_init_m3n_v10() 153 io_write_64(QOSBW_FIX_QOS_BANK0 + i * 8, mstat_fix[i]); in qos_init_m3n_v10() 154 io_write_64(QOSBW_FIX_QOS_BANK1 + i * 8, mstat_fix[i]); in qos_init_m3n_v10() 156 for (i = 0U; i < ARRAY_SIZE(mstat_be); i++) { in qos_init_m3n_v10() 157 io_write_64(QOSBW_BE_QOS_BANK0 + i * 8, mstat_be[i]); in qos_init_m3n_v10() 158 io_write_64(QOSBW_BE_QOS_BANK1 + i * 8, mstat_be[i]); in qos_init_m3n_v10() 161 for (i = 0U; i < ARRAY_SIZE(qoswt_fix); i++) { in qos_init_m3n_v10() 167 for (i = 0U; i < ARRAY_SIZE(qoswt_be); i++) { in qos_init_m3n_v10() 168 io_write_64(QOSWT_BE_WTQOS_BANK0 + i * 8, qoswt_be[i]); in qos_init_m3n_v10() [all …]
|
/trusted-firmware-a/plat/rockchip/rk3288/drivers/soc/ |
A D | soc.c | 145 uint32_t i = 0; in clk_gate_con_save() local 147 for (i = 0; i < CRU_CLKGATES_CON_CNT; i++) in clk_gate_con_save() 154 uint32_t i; in clk_gate_con_disable() local 156 for (i = 0; i < CRU_CLKGATES_CON_CNT; i++) in clk_gate_con_disable() 162 uint32_t i; in clk_gate_con_restore() local 164 for (i = 0; i < CRU_CLKGATES_CON_CNT; i++) in clk_gate_con_restore() 173 for (i = 0; i < CRU_CLKSELS_CON_CNT; i++) in clk_sel_con_save() 182 for (i = 0; i < CRU_CLKSELS_CON_CNT; i++) { in clk_sel_con_restore() 184 if ((i >= 7 && i <= 9) || in clk_sel_con_restore() 185 (i >= 17 && i <= 20) || in clk_sel_con_restore() [all …]
|
/trusted-firmware-a/drivers/renesas/rzg/qos/G2M/ |
A D | qos_init_g2m_v30.c | 104 uint32_t i; in qos_init_g2m_v30() local 161 for (i = 0U; i < ARRAY_SIZE(mstat_fix); i++) { in qos_init_g2m_v30() 162 mmio_write_64(QOSBW_FIX_QOS_BANK0 + i * 8U, mstat_fix[i]); in qos_init_g2m_v30() 163 mmio_write_64(QOSBW_FIX_QOS_BANK1 + i * 8U, mstat_fix[i]); in qos_init_g2m_v30() 165 for (i = 0U; i < ARRAY_SIZE(mstat_be); i++) { in qos_init_g2m_v30() 166 mmio_write_64(QOSBW_BE_QOS_BANK0 + i * 8U, mstat_be[i]); in qos_init_g2m_v30() 167 mmio_write_64(QOSBW_BE_QOS_BANK1 + i * 8U, mstat_be[i]); in qos_init_g2m_v30() 170 for (i = 0U; i < ARRAY_SIZE(qoswt_fix); i++) { in qos_init_g2m_v30() 174 for (i = 0U; i < ARRAY_SIZE(qoswt_be); i++) { in qos_init_g2m_v30() 175 mmio_write_64(QOSWT_BE_WTQOS_BANK0 + i * 8U, qoswt_be[i]); in qos_init_g2m_v30() [all …]
|
A D | qos_init_g2m_v11.c | 104 uint32_t i; in qos_init_g2m_v11() local 160 for (i = 0U; i < ARRAY_SIZE(mstat_fix); i++) { in qos_init_g2m_v11() 161 mmio_write_64(QOSBW_FIX_QOS_BANK0 + i * 8U, mstat_fix[i]); in qos_init_g2m_v11() 162 mmio_write_64(QOSBW_FIX_QOS_BANK1 + i * 8U, mstat_fix[i]); in qos_init_g2m_v11() 164 for (i = 0U; i < ARRAY_SIZE(mstat_be); i++) { in qos_init_g2m_v11() 165 mmio_write_64(QOSBW_BE_QOS_BANK0 + i * 8U, mstat_be[i]); in qos_init_g2m_v11() 166 mmio_write_64(QOSBW_BE_QOS_BANK1 + i * 8U, mstat_be[i]); in qos_init_g2m_v11() 169 for (i = 0U; i < ARRAY_SIZE(qoswt_fix); i++) { in qos_init_g2m_v11() 173 for (i = 0U; i < ARRAY_SIZE(qoswt_be); i++) { in qos_init_g2m_v11() 174 mmio_write_64(QOSWT_BE_WTQOS_BANK0 + i * 8U, qoswt_be[i]); in qos_init_g2m_v11() [all …]
|
/trusted-firmware-a/drivers/renesas/rcar/qos/H3/ |
A D | qos_init_h3n_v30.c | 170 uint32_t i; in qos_init_h3n_v30() local 172 for (i = 0U; i < ARRAY_SIZE(mstat_fix); i++) { in qos_init_h3n_v30() 173 io_write_64(QOSBW_FIX_QOS_BANK0 + i * 8, mstat_fix[i]); in qos_init_h3n_v30() 174 io_write_64(QOSBW_FIX_QOS_BANK1 + i * 8, mstat_fix[i]); in qos_init_h3n_v30() 176 for (i = 0U; i < ARRAY_SIZE(mstat_be); i++) { in qos_init_h3n_v30() 177 io_write_64(QOSBW_BE_QOS_BANK0 + i * 8, mstat_be[i]); in qos_init_h3n_v30() 178 io_write_64(QOSBW_BE_QOS_BANK1 + i * 8, mstat_be[i]); in qos_init_h3n_v30() 181 for (i = 0U; i < ARRAY_SIZE(qoswt_fix); i++) { in qos_init_h3n_v30() 187 for (i = 0U; i < ARRAY_SIZE(qoswt_be); i++) { in qos_init_h3n_v30() 188 io_write_64(QOSWT_BE_WTQOS_BANK0 + i * 8, qoswt_be[i]); in qos_init_h3n_v30() [all …]
|
A D | qos_init_h3_v20.c | 169 uint32_t i; in qos_init_h3_v20() local 171 for (i = 0U; i < ARRAY_SIZE(mstat_fix); i++) { in qos_init_h3_v20() 172 io_write_64(QOSBW_FIX_QOS_BANK0 + i * 8, mstat_fix[i]); in qos_init_h3_v20() 173 io_write_64(QOSBW_FIX_QOS_BANK1 + i * 8, mstat_fix[i]); in qos_init_h3_v20() 175 for (i = 0U; i < ARRAY_SIZE(mstat_be); i++) { in qos_init_h3_v20() 176 io_write_64(QOSBW_BE_QOS_BANK0 + i * 8, mstat_be[i]); in qos_init_h3_v20() 177 io_write_64(QOSBW_BE_QOS_BANK1 + i * 8, mstat_be[i]); in qos_init_h3_v20() 180 for (i = 0U; i < ARRAY_SIZE(qoswt_fix); i++) { in qos_init_h3_v20() 186 for (i = 0U; i < ARRAY_SIZE(qoswt_be); i++) { in qos_init_h3_v20() 187 io_write_64(QOSWT_BE_WTQOS_BANK0 + i * 8, qoswt_be[i]); in qos_init_h3_v20() [all …]
|
A D | qos_init_h3_v30.c | 176 uint32_t i; in qos_init_h3_v30() local 178 for (i = 0U; i < ARRAY_SIZE(mstat_fix); i++) { in qos_init_h3_v30() 179 io_write_64(QOSBW_FIX_QOS_BANK0 + i * 8, mstat_fix[i]); in qos_init_h3_v30() 180 io_write_64(QOSBW_FIX_QOS_BANK1 + i * 8, mstat_fix[i]); in qos_init_h3_v30() 182 for (i = 0U; i < ARRAY_SIZE(mstat_be); i++) { in qos_init_h3_v30() 183 io_write_64(QOSBW_BE_QOS_BANK0 + i * 8, mstat_be[i]); in qos_init_h3_v30() 184 io_write_64(QOSBW_BE_QOS_BANK1 + i * 8, mstat_be[i]); in qos_init_h3_v30() 187 for (i = 0U; i < ARRAY_SIZE(qoswt_fix); i++) { in qos_init_h3_v30() 193 for (i = 0U; i < ARRAY_SIZE(qoswt_be); i++) { in qos_init_h3_v30() 194 io_write_64(QOSWT_BE_WTQOS_BANK0 + i * 8, qoswt_be[i]); in qos_init_h3_v30() [all …]
|
/trusted-firmware-a/drivers/renesas/rcar/qos/M3/ |
A D | qos_init_m3_v11.c | 163 uint32_t i; in qos_init_m3_v11() local 165 for (i = 0U; i < ARRAY_SIZE(mstat_fix); i++) { in qos_init_m3_v11() 166 io_write_64(QOSBW_FIX_QOS_BANK0 + i * 8, mstat_fix[i]); in qos_init_m3_v11() 167 io_write_64(QOSBW_FIX_QOS_BANK1 + i * 8, mstat_fix[i]); in qos_init_m3_v11() 169 for (i = 0U; i < ARRAY_SIZE(mstat_be); i++) { in qos_init_m3_v11() 170 io_write_64(QOSBW_BE_QOS_BANK0 + i * 8, mstat_be[i]); in qos_init_m3_v11() 171 io_write_64(QOSBW_BE_QOS_BANK1 + i * 8, mstat_be[i]); in qos_init_m3_v11() 174 for (i = 0U; i < ARRAY_SIZE(qoswt_fix); i++) { in qos_init_m3_v11() 178 for (i = 0U; i < ARRAY_SIZE(qoswt_be); i++) { in qos_init_m3_v11() 179 io_write_64(QOSWT_BE_WTQOS_BANK0 + i * 8, qoswt_be[i]); in qos_init_m3_v11() [all …]
|
A D | qos_init_m3_v30.c | 161 uint32_t i; in qos_init_m3_v30() local 163 for (i = 0U; i < ARRAY_SIZE(mstat_fix); i++) { in qos_init_m3_v30() 164 io_write_64(QOSBW_FIX_QOS_BANK0 + i * 8, mstat_fix[i]); in qos_init_m3_v30() 165 io_write_64(QOSBW_FIX_QOS_BANK1 + i * 8, mstat_fix[i]); in qos_init_m3_v30() 167 for (i = 0U; i < ARRAY_SIZE(mstat_be); i++) { in qos_init_m3_v30() 168 io_write_64(QOSBW_BE_QOS_BANK0 + i * 8, mstat_be[i]); in qos_init_m3_v30() 169 io_write_64(QOSBW_BE_QOS_BANK1 + i * 8, mstat_be[i]); in qos_init_m3_v30() 172 for (i = 0U; i < ARRAY_SIZE(qoswt_fix); i++) { in qos_init_m3_v30() 176 for (i = 0U; i < ARRAY_SIZE(qoswt_be); i++) { in qos_init_m3_v30() 177 io_write_64(QOSWT_BE_WTQOS_BANK0 + i * 8, qoswt_be[i]); in qos_init_m3_v30() [all …]
|
/trusted-firmware-a/drivers/renesas/rzg/qos/G2H/ |
A D | qos_init_g2h_v30.c | 159 uint32_t i; in qos_init_g2h_v30() local 161 for (i = 0U; i < ARRAY_SIZE(mstat_fix); i++) { in qos_init_g2h_v30() 162 mmio_write_64(QOSBW_FIX_QOS_BANK0 + i * 8U, mstat_fix[i]); in qos_init_g2h_v30() 163 mmio_write_64(QOSBW_FIX_QOS_BANK1 + i * 8U, mstat_fix[i]); in qos_init_g2h_v30() 165 for (i = 0U; i < ARRAY_SIZE(mstat_be); i++) { in qos_init_g2h_v30() 166 mmio_write_64(QOSBW_BE_QOS_BANK0 + i * 8U, mstat_be[i]); in qos_init_g2h_v30() 167 mmio_write_64(QOSBW_BE_QOS_BANK1 + i * 8U, mstat_be[i]); in qos_init_g2h_v30() 170 for (i = 0U; i < ARRAY_SIZE(qoswt_fix); i++) { in qos_init_g2h_v30() 174 for (i = 0U; i < ARRAY_SIZE(qoswt_be); i++) { in qos_init_g2h_v30() 175 mmio_write_64(QOSWT_BE_WTQOS_BANK0 + i * 8U, qoswt_be[i]); in qos_init_g2h_v30() [all …]
|