Home
last modified time | relevance | path

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

12

/SCP-firmware-master/product/n1sdp/module/n1sdp_scp2pcc/src/
A Dmod_n1sdp_scp2pcc.c42 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 Dcli.c107 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 Dcli_commands_core.c143 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 Dsynquacer_pd_manage.c55 #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 Dconfig_juno_pvt.c85 .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 Dconfig_pcie_integ_ctrl.c19 #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 Dmod_juno_hdlcd.c44 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 Dmod_scmi_base.c152 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 Dmod_voltage_domain.h219 unsigned int index,
331 unsigned int index,
/SCP-firmware-master/module/cdns_i2c/src/
A Dmod_cdns_i2c.c149 (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 Dmod_juno_pvt.h94 uint8_t index; member
/SCP-firmware-master/product/juno/module/juno_hdlcd/include/
A Dmod_juno_hdlcd.h113 int (*set_rate_from_index)(fwk_id_t clock_id, int index);
/SCP-firmware-master/debugger/include/
A Dcheckpoint.h56 uint32_t index; member
/SCP-firmware-master/product/juno/module/juno_cdcel937/src/
A Dmod_juno_cdcel937.c370 } 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 Djuno_cdcel937.h253 int index; member
/SCP-firmware-master/module/pcie_integ_ctrl/src/
A Dmod_pcie_integ_ctrl.c67 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 Dmod_voltage_domain.c132 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 Dmod_stm32_pmic_regu.c277 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 Dcheckpoint.c60 checkpoint_table[i].index = i; in checkpoint_register()
/SCP-firmware-master/module/cdns_i2c/include/
A Dmod_cdns_i2c.h107 uint8_t index; member
/SCP-firmware-master/product/optee-stm32mp1/module/stm32_pwr_regu/src/
A Dmod_stm32_pwr_regu.c202 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 Dmod_mock_voltage_domain.c336 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 Dmod_power_domain.c540 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 Dframework.md266 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 Dmod_juno_pvt.c292 (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()

Completed in 36 milliseconds

12