Home
last modified time | relevance | path

Searched refs:i (Results 1 – 25 of 143) sorted by relevance

123456

/SCP-firmware-master/product/synquacer/module/synquacer_system/src/
A Dsmmu_config.c169 for (i = 0xf8; i < 0xfc; i++) { in smmu_wrapper_pcie()
179 for (i = 0xfc; i < 0x100; i++) { in smmu_wrapper_pcie()
193 for (i = 0x100; i < 0x180; i++) { in smmu_wrapper_pcie()
203 for (i = 0x180; i < 0x200; i++) { in smmu_wrapper_pcie()
221 for (i = 0x101; i < 0x180; i++) { in smmu_wrapper_pcie()
235 for (i = 0x181; i < 0x200; i++) { in smmu_wrapper_pcie()
249 for (i = 0x0; i < 0x8; i++) { in smmu_wrapper_pcie()
260 for (i = 0x8; i < 0x100; i++) { in smmu_wrapper_pcie()
270 for (i = 0x100; i < 0x200; i++) { in smmu_wrapper_pcie()
283 for (i = 0x0; i < 0x8; i++) { in smmu_wrapper_pcie()
[all …]
A Dsysoc.c96 for (i = 0, ret = FWK_E_TIMEOUT; i < SYSOC_WAIT_NUM; i++) { in sysoc_wait_status_change()
129 for (i = 0; i < LPCM_OFFSET_NUM; i++) { in lpcm_reset()
141 for (i = 0; i < LPCM_OFFSET_NUM; i++) { in lpcm_reset_clear()
159 for (i = 0; i < LPCM_OFFSET_NUM; i++) { in lpcm_reset_status()
202 for (i = 0; i < status_check_num; i++) { in lpcm_sysoc_reset()
220 for (i = 0; i < status_check_num; i++) { in lpcm_sysoc_reset()
239 for (i = 0; i < status_check_num; i++) { in lpcm_sysoc_reset()
288 for (i = 0; i < status_check_num; i++) { in lpcm_sysoc_reset_clear()
307 for (i = 0; i < status_check_num; i++) { in lpcm_sysoc_reset_clear()
326 for (i = 0; i < status_check_num; i++) { in lpcm_sysoc_reset_clear()
[all …]
A Dthermal_sensor.c28 int32_t i = 0; in thermal_enable() local
32 for (i = 0; i < sensor_num; i++) { in thermal_enable()
33 uint32_t sensor_offset = THERMAL_SENSOR_BASE(i); in thermal_enable()
38 "[THERMAL] Enable individual sensor #%" PRIx32 " fail", i); in thermal_enable()
45 "[THERMAL] Reset individual sensor #%" PRIx32 " fail", i); in thermal_enable()
50 for (i = 0; i < sensor_num; i++) { in thermal_enable()
51 uint32_t sensor_offset = THERMAL_SENSOR_BASE(i); in thermal_enable()
A Dsynquacer_pd_manage.c156 uint32_t i, j; in sni_power_domain_workaround_mp() local
162 for (i = 0; i < FWK_ARRAY_SIZE(sni_ppu_info); i++) { in sni_power_domain_workaround_mp()
177 for (i = 0; i < FWK_ARRAY_SIZE(sni_ppu_info); i++) { in sni_power_domain_workaround_mp()
211 uint32_t i, j, r; in sni_power_domain_on_mp() local
218 FOR_EACH_PMU_INFO(i) in sni_power_domain_on_mp()
233 FOR_EACH_PMU_INFO(i) in sni_power_domain_on_mp()
301 set_transactionsw_off(TRANSW_ADDR(i), transw_reg_bitmap[i]); in sni_power_domain_on_mp()
311 FOR_EACH_PPU_INFO(i) in sni_power_domain_on_mp()
325 FOR_EACH_PPU_INFO(i) in sni_power_domain_on_mp()
349 uint32_t i, status; in pmu_wait() local
[all …]
A Dgpio.c100 size_t i; in fw_gpio_init() local
107 for (i = 0; i < FWK_ARRAY_SIZE(prmux_pingrp); i++) { in fw_gpio_init()
109 (void *)CONFIG_SOC_PRMUX_BASE_ADDR, i, prmux_pingrp[i]); in fw_gpio_init()
114 for (i = 0; i < FWK_ARRAY_SIZE(gpio_function); i++) in fw_gpio_init()
115 gpio_set_function((void *)CONFIG_SOC_AP_GPIO_BASE, i, gpio_function[i]); in fw_gpio_init()
117 for (i = 0; i < FWK_ARRAY_SIZE(gpio_direction); i++) in fw_gpio_init()
119 (void *)CONFIG_SOC_AP_GPIO_BASE, i, gpio_direction[i]); in fw_gpio_init()
134 for (i = 0; i < gpio_desc_num; i++) { in fw_gpio_init()
A Dmmu500.c54 uint32_t i; in SMMU_s_init() local
75 for (i = 0; i < num_context; i++) { in SMMU_s_init()
76 SMMU->GR0.S2CR[i] = SMMU_S2CRn_TYPE_CONTEXT | i; in SMMU_s_init()
77 SMMU->GR0.SMR[i] = SMMU_SMRn_VALID | in SMMU_s_init()
78 (context_info[i].stream_match_mask << 16) | in SMMU_s_init()
79 context_info[i].stream_match_id; in SMMU_s_init()
80 SMMU_ns_cb_stage1_init(SMMU, i, context_info[i].base_addr, granule); in SMMU_s_init()
138 uint32_t i; in SMMU_s_disable() local
149 for (i = 0; i < num_context; i++) in SMMU_s_disable()
150 SMMU->TCB[i].CB_SCTLR &= ~(SMMU_SCTLR_M); in SMMU_s_disable()
A Dload_secure_fw.c183 uint32_t i; in fw_fip_load_arm_tf() local
207 for (i = 0; i < FWK_ARRAY_SIZE(arm_tf_dst_addr); i++) { in fw_fip_load_arm_tf()
210 i, in fw_fip_load_arm_tf()
215 i, in fw_fip_load_arm_tf()
216 (uint32_t)fip_package.fip_toc_entry[i].size); in fw_fip_load_arm_tf()
220 i, in fw_fip_load_arm_tf()
221 arm_tf_dst_addr[i]); in fw_fip_load_arm_tf()
224 (uint32_t)fip_package.fip_toc_entry[i].offset_addr; in fw_fip_load_arm_tf()
228 i, in fw_fip_load_arm_tf()
236 (void *)arm_tf_dst_addr[i], in fw_fip_load_arm_tf()
[all …]
/SCP-firmware-master/debugger/src/
A Dcheckpoint.c24 uint32_t i = 0; in checkpoint_enable_all() local
26 for (i = 0; i < CHECKPOINT_NUM; i++) { in checkpoint_enable_all()
32 checkpoint_table[i].tag[0] = 0; in checkpoint_enable_all()
41 uint32_t i = 0; in checkpoint_disable_all() local
43 for (i = 0; i < CHECKPOINT_NUM; i++) { in checkpoint_disable_all()
49 checkpoint_table[i].tag[0] = 0; in checkpoint_disable_all()
55 uint32_t i = 0; in checkpoint_register() local
57 for (i = 0; i < CHECKPOINT_NUM; i++) { in checkpoint_register()
59 checkpoint_table[i].in_use = true; in checkpoint_register()
60 checkpoint_table[i].index = i; in checkpoint_register()
[all …]
/SCP-firmware-master/product/synquacer/module/synquacer_rom/src/
A Dsynquacer_init.c67 uint32_t i, value; in fw_sysoc_init() local
80 for (i = 0; i < FWK_ARRAY_SIZE(init_sysoc_addr_infos); i++) { in fw_sysoc_init()
91 init_sysoc_reset_infos[i]) != 0) in fw_sysoc_init()
98 uint32_t i, j; in fw_lpcm_init() local
108 for (i = 0; i < FWK_ARRAY_SIZE(lpcm_reset_addr_infos); i++) { in fw_lpcm_init()
165 uint32_t i; in peri_ppu_on() local
167 for (i = 0; i < FWK_ARRAY_SIZE(ppu_reg_p); i++) in peri_ppu_on()
173 uint32_t i; in peri_ppu_wait() local
175 for (i = 0; i < FWK_ARRAY_SIZE(ppu_reg_p); i++) { in peri_ppu_wait()
196 uint32_t i, value; in fw_sram_sysoc_init() local
[all …]
/SCP-firmware-master/framework/test/
A Dtest_fwk_string.c24 for (size_t i = 0; i < count; i++) { in test_fwk_str_memset() local
25 assert(dest[i] == ch); in test_fwk_str_memset()
37 for (size_t i = 0; i < count; i++) { in test_fwk_str_memcpy() local
38 assert(dest[i] == src[i]); in test_fwk_str_memcpy()
50 for (size_t i = 0; i < count; i++) { in test_fwk_str_strncpy() local
51 assert(dest[i] == src[i]); in test_fwk_str_strncpy()
A Dfwk_test.c79 unsigned int i; in run_tests() local
89 for (i = 0; i < test_suite.test_case_count; i++) { in run_tests()
90 test_case = &test_suite.test_case_table[i]; in run_tests()
133 for (enum fwk_module_idx i = 0; i < FWK_MODULE_IDX_COUNT; i++) { in main() local
145 module_table[i] = module; in main()
146 module_config_table[i] = config; in main()
/SCP-firmware-master/product/n1sdp/module/n1sdp_ddr_phy/src/
A Dmod_n1sdp_ddr_phy.c137 for (i = 0; i < 9; i++) { in adjust_per_rank_rptr_update_value()
172 for (i = 0; i < 9; i++) { in adjust_per_rank_rptr_update_value()
215 for (i = 0; i < 6000; i++) { in delay_ms()
788 for (i = 0; i < 9; i++) { in n1sdp_ddr_phy_post_training_configure()
802 for (i = 0; i < 9; i++) { in n1sdp_ddr_phy_post_training_configure()
817 for (i = 0; i < 9; i++) { in n1sdp_ddr_phy_post_training_configure()
831 for (i = 0; i < 9; i++) { in n1sdp_ddr_phy_post_training_configure()
861 for (i = 0; i < 9; i++) { in n1sdp_ddr_phy_post_training_configure()
1030 for (i = 0; i < 9; i++) { in n1sdp_wrlvl_phy_obs_regs()
1078 for (i = 0; i < 9; i++) { in n1sdp_read_gate_phy_obs_regs()
[all …]
/SCP-firmware-master/arch/arm/armv8-a/src/
A Darch_libc.c40 size_t i; in strncpy() local
42 for (i = 0; i < n && src[i] != 0; i++) in strncpy()
43 dest[i] = src[i]; in strncpy()
44 for (; i < n; i++) in strncpy()
45 dest[i] = '\0'; in strncpy()
74 unsigned int shifter = i; in uint_to_str()
91 i = i / base; in uint_to_str()
92 } while (i); in uint_to_str()
97 int sign = i; in int_to_str()
99 if (i < 0) { in int_to_str()
[all …]
/SCP-firmware-master/module/fip/src/
A Dmod_fip.c36 size_t i; in fip_entry_type_to_uuid() local
43 for (i = 0; i < desc_arr_size; i++) { in fip_entry_type_to_uuid()
44 if (fip_uuid_desc_arr[i].image_type == type) { in fip_entry_type_to_uuid()
46 uuid, fip_uuid_desc_arr[i].uuid, FIP_UUID_ENTRY_SIZE); in fip_entry_type_to_uuid()
54 for (i = 0; i < module_config->custom_uuid_desc_count; i++) { in fip_entry_type_to_uuid()
55 if (module_config->custom_fip_uuid_desc_arr[i].image_type == type) { in fip_entry_type_to_uuid()
58 module_config->custom_fip_uuid_desc_arr[i].uuid, in fip_entry_type_to_uuid()
72 for (unsigned int i = 0; i < FIP_UUID_ENTRY_SIZE; i++) { in uuid_cmp() local
73 if (a[i] == b[i]) { in uuid_cmp()
/SCP-firmware-master/product/synquacer/module/f_i2c/src/
A Di2c_depend.c75 size_t i; in i2c_construction() local
85 for (i = 0; i < FWK_ARRAY_SIZE(i2c_params); i++) { in i2c_construction()
87 i2c_get_channel_structure(i2c_channels[i]), in i2c_construction()
88 i2c_base_addrs[i], in i2c_construction()
89 i2c_types[i], in i2c_construction()
90 &i2c_params[i]); in i2c_construction()
93 FWK_LOG_ERR("[I2C] I2C ch#%d initialize error.", i); in i2c_construction()
/SCP-firmware-master/debugger/src/cli/
A Dcli_commands_checkpoint.c38 uint32_t i = 0; in checkpoint_f() local
41 for (i = 0; i < CHECKPOINT_NUM; i++) { in checkpoint_f()
42 if (checkpoint_table[i].in_use == true) in checkpoint_f()
43 cli_printf(NONE, "%d: %s\n", i, checkpoint_table[i].name); in checkpoint_f()
102 for (i = 0; i < (uint32_t)argc; i++) in checkpoint_f()
103 cli_printf(NONE, "Parameter %d is %s\n", i, argv[i]); in checkpoint_f()
/SCP-firmware-master/product/synquacer/module/scmi_vendor_ext/src/
A Dmod_scmi_vendor_ext.c144 uint32_t i; in fill_available_dram_region() local
150 for (i = 0; (i < SCMI_MEMORY_INFO_ARRAY_NUM_MAX) && (dram_size > 0); i++) { in fill_available_dram_region()
151 area_start[i] = ddr_memorymap_start_addr[i]; in fill_available_dram_region()
153 ddr_memorymap_size[i] : in fill_available_dram_region()
155 area_size[i] = allocated_size; in fill_available_dram_region()
160 *memory_array_count_num = i; in fill_available_dram_region()
165 uint32_t i; in get_memory_info() local
175 for (i = 0, meminfo->array_num = 0; i < memory_array_count_num; i++) { in get_memory_info()
180 (uint32_t)(area_start[i] >> 32); in get_memory_info()
182 meminfo->memory_info_array[i].size_low = in get_memory_info()
[all …]
/SCP-firmware-master/product/morello/module/dmc_bing/src/
A Dmorello_ddr_phy.c285 uint32_t i; in write_eye_detect_single_rank() local
538 for (i = 0; i < NUM_BITS_PER_SLICE; i++) { in write_eye_detect_single_rank()
737 uint32_t i; in morello_verify_phy_status() local
754 for (i = 0; i < 9; i++) { in morello_verify_phy_status()
775 for (i = 0; i < 9; i++) { in morello_verify_phy_status()
795 for (i = 0; i < 9; i++) { in morello_verify_phy_status()
844 for (i = 0; i < 9; i++) { in morello_verify_phy_status()
867 uint32_t i; in morello_wrlvl_phy_obs_regs() local
889 for (i = 0; i < 9; i++) { in morello_wrlvl_phy_obs_regs()
939 for (i = 0; i < 9; i++) { in morello_read_gate_phy_obs_regs()
[all …]
/SCP-firmware-master/module/scmi_perf/src/
A Dperf_plugins_handler.c155 for (unsigned int i = 0; i < (dev_ctx->log_dom_count + 1); i++) { in write_back_adj_values() local
195 for (unsigned int i = 0; i < (phy_dom + 1); i++) { in plugins_policy_sync_level_limits() local
227 for (size_t i = 0; i < perf_plugins_ctx.dvfs_doms_count; i++) { in plugins_policy_sync_level_limits() local
437 for (size_t i = 0; i < config->plugins_count; i++) { in perf_plugins_handler_update() local
457 (unsigned int)i, in perf_plugins_handler_update()
508 for (size_t i = 0; i < perf_plugins_ctx.config->plugins_count; i++) { in perf_plugins_handler_report() local
516 (unsigned int)i, in perf_plugins_handler_report()
559 for (size_t i = 0; i < config->perf_doms_count; i++) { in perf_plugins_handler_init() local
566 phy_group = i; in perf_plugins_handler_init()
580 for (size_t i = 0; i < perf_plugins_ctx.dvfs_doms_count; i++) { in perf_plugins_handler_init() local
[all …]
/SCP-firmware-master/module/system_power/src/
A Dmod_system_power.c91 unsigned int i; in ext_ppus_set_state() local
94 for (i = 0; i < system_power_ctx.config->ext_ppus_count; i++) { in ext_ppus_set_state()
105 unsigned int i; in ext_ppus_shutdown() local
111 for (i = 0; i < system_power_ctx.config->ext_ppus_count; i++) { in ext_ppus_shutdown()
129 unsigned int i; in set_system_power_state() local
133 for (i = 0; i < system_power_ctx.dev_count; i++) { in set_system_power_state()
151 unsigned int i; in shutdown_system_power_ppus() local
158 for (i = 0; i < system_power_ctx.dev_count; i++) { in shutdown_system_power_ppus()
458 unsigned int i; in system_power_bind() local
484 for (i = 0; i < config->ext_ppus_count; i++) { in system_power_bind()
[all …]
/SCP-firmware-master/product/rdn2/scp_ramfw/
A Dconfig_system_power.c61 unsigned int i; in platform_system_get_element_table() local
67 for (i = 0; i < (FWK_ARRAY_SIZE(system_power_element_table) - 1); i++) { in platform_system_get_element_table()
69 (struct mod_system_power_dev_config *)system_power_element_table[i] in platform_system_get_element_table()
72 fwk_id_build_element_id(fwk_module_id_ppu_v1, ppu_idx_base + i); in platform_system_get_element_table()
/SCP-firmware-master/product/tc1/scp_ramfw/
A Dconfig_system_power.c62 unsigned int i; in tc1_system_get_element_table() local
68 for (i = 0; i < (FWK_ARRAY_SIZE(system_power_element_table) - 1); i++) { in tc1_system_get_element_table()
70 (struct mod_system_power_dev_config *)system_power_element_table[i] in tc1_system_get_element_table()
73 fwk_id_build_element_id(fwk_module_id_ppu_v1, ppu_idx_base + i); in tc1_system_get_element_table()
/SCP-firmware-master/product/tc2/scp_ramfw/
A Dconfig_system_power.c62 unsigned int i; in tc2_system_get_element_table() local
68 for (i = 0; i < (FWK_ARRAY_SIZE(system_power_element_table) - 1); i++) { in tc2_system_get_element_table()
70 (struct mod_system_power_dev_config *)system_power_element_table[i] in tc2_system_get_element_table()
73 fwk_id_build_element_id(fwk_module_id_ppu_v1, ppu_idx_base + i); in tc2_system_get_element_table()
/SCP-firmware-master/product/n1sdp/scp_ramfw/
A Dconfig_cdns_i2c.c62 unsigned int i; in get_i2c_table() local
65 for (i = 0; i < CDNS_I2C_IDX_COUNT; i++) { in get_i2c_table()
67 (struct mod_cdns_i2c_device_config *)i2c_element_desc_table[i].data; in get_i2c_table()
69 if ((i == CDNS_C2C_I2C_IDX) && n1sdp_is_multichip_enabled() && in get_i2c_table()
/SCP-firmware-master/product/synquacer/module/ccn512/src/
A Dmod_ccn512.c86 unsigned int i; in ccn512_dmc_init() local
103 for (i = 0; i < HNF_COUNT; i++) { in ccn512_dmc_init()
105 hnf[i].HNF_SAM_CONTROL = ddr_ch0_id; in ccn512_dmc_init()
107 hnf[i].HNF_SAM_CONTROL = ddr_ch1_id; in ccn512_dmc_init()
109 hnf[i].HNF_SAM_CONTROL = in ccn512_dmc_init()
110 (i < (HNF_COUNT / 2) ? ddr_ch0_id : ddr_ch1_id); in ccn512_dmc_init()
135 unsigned int i; in fw_ccn512_exit() local
147 for (i = 0; i < HNF_COUNT; i++) in fw_ccn512_exit()
148 hnf[i].SNOOP_DOMAIN_CTL_CLR = hnf[i].SNOOP_DOMAIN_CTL; in fw_ccn512_exit()

Completed in 51 milliseconds

123456