/SCP-firmware-master/product/n1sdp/module/n1sdp_scp2pcc/src/ |
A D | mod_n1sdp_scp2pcc.c | 42 unsigned int index; in wrdmemcpy() local 44 for (index = 0; index < num; index++) { in wrdmemcpy() 45 ((unsigned int *)destination)[index] = ((unsigned int *)source)[index]; in wrdmemcpy() 51 unsigned int index; in reset_shared_memory() local 54 for (index = 0; index < scp2pcc_ctx.config->shared_num_rx; index++) { in reset_shared_memory() 57 (index * sizeof(struct mem_msg_packet_st))); in reset_shared_memory() 62 for (index = 0; index < scp2pcc_ctx.config->shared_num_tx; index++) { in reset_shared_memory() 65 (index * sizeof(struct mem_msg_packet_st))); in reset_shared_memory() 73 unsigned int index; in mem_msg_send_message() local 101 for (index = 0; index < scp2pcc_ctx.config->shared_num_tx; index++) { in mem_msg_send_message() [all …]
|
/SCP-firmware-master/debugger/src/cli/ |
A D | cli.c | 107 for (index = 0; cli_commands[index].command != 0; index++) { in cli_command_init() 526 for (index = 0; string[index] != 0; index++) { in cli_print() 613 index = index - 1; in cli_getline() 641 index = index + 1; in cli_getline() 999 for (; index > 0; index--) { in cli_get_command() 1016 index = index + 1; in cli_get_command() 1032 for (; index > 0; index--) { in cli_get_command() 1055 index = index + 1; in cli_get_command() 1087 index = index - 1; in cli_get_command() 1108 index = index + 1; in cli_get_command() [all …]
|
A D | cli_commands_core.c | 143 uint32_t cycle_count, index = 0; in cycle_memory_f() local 160 for (index = 0; index < size; index++) in cycle_memory_f() 161 cycle_buffer[index] = tmp_address[index]; in cycle_memory_f() 165 for (index = 0; index < size; index++) { in cycle_memory_f() 166 if (tmp_address[index] != cycle_buffer[index]) { in cycle_memory_f() 167 cycle_buffer[index] = tmp_address[index]; in cycle_memory_f()
|
/SCP-firmware-master/product/synquacer/module/synquacer_system/src/ |
A D | synquacer_pd_manage.c | 55 #define FOR_EACH_PMU_INFO(index) \ argument 56 for (index = 0; index < FWK_ARRAY_SIZE(sni_pmu_info); index++) 57 #define FOR_EACH_PPU_INFO(index) \ argument 58 for (index = 0; index < FWK_ARRAY_SIZE(sni_ppu_info); index++) 59 #define FOR_EACH_TRANSW_INFO(index) \ argument 60 for (index = 0; index < FWK_ARRAY_SIZE(sni_transw_info); index++) 61 #define FOR_EACH_TRANSW_REG(index) \ argument 62 for (index = 0; index < TRANSW_REG_NUM; index++)
|
/SCP-firmware-master/product/juno/scp_ramfw/ |
A D | config_juno_pvt.c | 85 .index = 1, 93 .index = 0, 104 .index = 1, 112 .index = 0, 123 .index = 0, 131 .index = 1, 142 .index = 0, 153 .index = 0, 166 .index = 1,
|
/SCP-firmware-master/product/rdn2/scp_ramfw/ |
A D | config_pcie_integ_ctrl.c | 19 #define RD_N2_PCIE_INTEG_START_ADDR(index, base, size) (base + (size * index)) argument 20 #define RD_N2_PCIE_INTEG_END_ADDR(index, base, size) \ argument 21 (base + (size * (index + 1ULL)) - 1ULL)
|
/SCP-firmware-master/product/juno/module/juno_hdlcd/src/ |
A D | mod_juno_hdlcd.c | 44 int index; member 116 ctx->config->lookup_table[ctx->index].pll.REG0, in enable_pll() 117 ctx->config->lookup_table[ctx->index].pll.REG1); in enable_pll() 123 ctx->config->lookup_table[ctx->index].pll.REG1; in enable_pll() 125 ctx->config->lookup_table[ctx->index].pll.REG0; in enable_pll() 235 ctx->index = (int)((clock_rate - PXL_CLK_IN_RATE) / (500 * FWK_KHZ)); in juno_hdlcd_set_rate() 236 if ((ctx->index < 0) || in juno_hdlcd_set_rate() 237 ((unsigned int)ctx->index >= ctx->config->lookup_table_count)) { in juno_hdlcd_set_rate() 244 ctx->index); in juno_hdlcd_set_rate() 253 ctx->index); in juno_hdlcd_set_rate()
|
/SCP-firmware-master/module/scmi/src/ |
A D | mod_scmi_base.c | 152 unsigned int index; in scmi_base_protocol_attributes_handler() local 163 for (index = 0, protocol_count = 0, global_protocol_count = 0; in scmi_base_protocol_attributes_handler() 166 index++) { in scmi_base_protocol_attributes_handler() 167 if ((shared_scmi_ctx->scmi_protocol_id_to_idx[index] == 0) || in scmi_base_protocol_attributes_handler() 168 (index == MOD_SCMI_PROTOCOL_ID_BASE)) { in scmi_base_protocol_attributes_handler() 172 protocol_id = (uint8_t)index; in scmi_base_protocol_attributes_handler() 328 unsigned int index; in scmi_base_discover_list_protocols_handler() local 395 for (index = 0, in scmi_base_discover_list_protocols_handler() 400 index++) { in scmi_base_discover_list_protocols_handler() 402 (index == MOD_SCMI_PROTOCOL_ID_BASE)) { in scmi_base_discover_list_protocols_handler() [all …]
|
/SCP-firmware-master/module/voltage_domain/include/ |
A D | mod_voltage_domain.h | 219 unsigned int index, 331 unsigned int index,
|
/SCP-firmware-master/module/cdns_i2c/src/ |
A D | mod_cdns_i2c.c | 149 (ctx->irq_data_ctx.index < ctx->irq_data_ctx.size); in i2c_isr() 152 ctx->irq_data_ctx.index++; in i2c_isr() 160 (ctx->irq_data_ctx.index < ctx->irq_data_ctx.size); in i2c_isr() 161 ctx->irq_data_ctx.index++) { in i2c_isr() 162 ctx->irq_data_ctx.data[ctx->irq_data_ctx.index] = in i2c_isr() 173 (ctx->irq_data_ctx.index < ctx->irq_data_ctx.size)) { in i2c_isr() 174 if ((ctx->irq_data_ctx.size - ctx->irq_data_ctx.index) > in i2c_isr() 179 (ctx->irq_data_ctx.size - ctx->irq_data_ctx.index); in i2c_isr() 191 if (ctx->irq_data_ctx.index != ctx->irq_data_ctx.size) { in i2c_isr() 617 device_ctx->irq_data_ctx.index = 0; in i2c_target_write_irq() [all …]
|
/SCP-firmware-master/product/juno/module/juno_pvt/include/ |
A D | mod_juno_pvt.h | 94 uint8_t index; member
|
/SCP-firmware-master/product/juno/module/juno_hdlcd/include/ |
A D | mod_juno_hdlcd.h | 113 int (*set_rate_from_index)(fwk_id_t clock_id, int index);
|
/SCP-firmware-master/debugger/include/ |
A D | checkpoint.h | 56 uint32_t index; member
|
/SCP-firmware-master/product/juno/module/juno_cdcel937/src/ |
A D | mod_juno_cdcel937.c | 370 } else if (ctx->index < 0) { in set_rate_write_pll_config() 373 if ((unsigned int)ctx->index >= ctx->config->lookup_table_count) { in set_rate_write_pll_config() 377 preset = ctx->config->lookup_table[ctx->index].preset; in set_rate_write_pll_config() 470 int index) in create_set_rate_request() argument 500 ctx->index = index; in create_set_rate_request() 834 int index) in juno_cdcel937_set_rate_from_index() argument 841 if ((index < 0) || (unsigned int)index >= ctx->config->lookup_table_count) { in juno_cdcel937_set_rate_from_index() 845 rate = ctx->config->lookup_table[index].rate_hz; in juno_cdcel937_set_rate_from_index() 847 return create_set_rate_request(clock_id, ctx, rate, index); in juno_cdcel937_set_rate_from_index()
|
A D | juno_cdcel937.h | 253 int index; member
|
/SCP-firmware-master/module/pcie_integ_ctrl/src/ |
A D | mod_pcie_integ_ctrl.c | 67 unsigned int index, in configure_pcie_ecam_mmio_space() argument 79 FWK_LOG_INFO(MOD_NAME "Configuring PCIe integ ctrl reg set: %d", index); in configure_pcie_ecam_mmio_space()
|
/SCP-firmware-master/module/voltage_domain/src/ |
A D | mod_voltage_domain.c | 132 unsigned int index, in voltd_get_level_from_index() argument 142 return ctx->api->get_level_from_index(ctx->config->driver_id, index, in voltd_get_level_from_index()
|
/SCP-firmware-master/product/optee-stm32mp1/module/stm32_pmic_regu/src/ |
A D | mod_stm32_pmic_regu.c | 277 static int pmic_regu_level_from_index(fwk_id_t dev_id, unsigned int index, in pmic_regu_level_from_index() argument 291 if (index >= full_count) { in pmic_regu_level_from_index() 295 *level_uv = (int32_t)levels[index] * 1000; in pmic_regu_level_from_index()
|
/SCP-firmware-master/debugger/src/ |
A D | checkpoint.c | 60 checkpoint_table[i].index = i; in checkpoint_register()
|
/SCP-firmware-master/module/cdns_i2c/include/ |
A D | mod_cdns_i2c.h | 107 uint8_t index; member
|
/SCP-firmware-master/product/optee-stm32mp1/module/stm32_pwr_regu/src/ |
A D | mod_stm32_pwr_regu.c | 202 static int pwr_regu_level_from_index(fwk_id_t dev_id, unsigned int index, in pwr_regu_level_from_index() argument 217 if (index > 0) { in pwr_regu_level_from_index()
|
/SCP-firmware-master/module/mock_voltage_domain/src/ |
A D | mod_mock_voltage_domain.c | 336 unsigned int index, in mod_mock_voltage_domain_get_level_from_index() argument 347 if (index > cfg->level_count) { in mod_mock_voltage_domain_get_level_from_index() 350 *level_uv = cfg->voltage_levels[index]; in mod_mock_voltage_domain_get_level_from_index()
|
/SCP-firmware-master/module/power_domain/src/ |
A D | mod_power_domain.c | 540 unsigned int index; in connect_pd_tree() local 543 for (index = 0; index < mod_pd_ctx.pd_count; index++) { in connect_pd_tree() 544 pd = &mod_pd_ctx.pd_ctx_table[index]; in connect_pd_tree() 1831 int index; in pd_start() local 1840 for (index = (int)(mod_pd_ctx.pd_count - 1); index >= 0; index--) { in pd_start() 1841 pd = &mod_pd_ctx.pd_ctx_table[index]; in pd_start()
|
/SCP-firmware-master/doc/ |
A D | framework.md | 266 within the identifier. Internally, identifiers always contain the index of a 272 - Module: Consists of the module index alone 273 - Element: Consists of a module index and an index of an element within the 275 - Sub-element: Consists of a module index, an index of an element within the 276 module, and an index of the sub-element owned by the element. 277 - API: Consists of a module index and an index of an API provided by the module 278 - Event: Consists of a module index and an index of an event that may be 280 - Notification: Consists of a module index and an index of a notification that 306 The API identifier consists of a *module index* and an *API index*. The former 310 A module may offer some affordances so that the *API index* is always
|
/SCP-firmware-master/product/juno/module/juno_pvt/src/ |
A D | mod_juno_pvt.c | 292 (uint32_t)(1U << sensor_cfg->index))) != (uint32_t)0) { in pvt_interrupt_handler() 293 osc_counter = sensor_cfg->group->regs->SENSOR_DATA[sensor_cfg->index] & in pvt_interrupt_handler() 808 group->regs->SENSOR_ENABLE = (uint32_t)(1U << sensor_cfg->index); in pvt_process_event()
|