Home
last modified time | relevance | path

Searched refs:dev_idx (Results 1 – 4 of 4) sorted by relevance

/SCP-firmware-master/module/thermal_mgmt/test/
A Dmod_thermal_mgmt_unit_test.c28 unsigned int dev_idx, actor_idx; in setUp() local
43 for (dev_idx = 0; dev_idx < MOD_THERMAL_MGMT_DOM_COUNT; dev_idx++) { in setUp()
44 dev_ctx = &mod_ctx.dev_ctx_table[dev_idx]; in setUp()
48 thermal_mgmt_domains_elem_table[dev_idx] in setUp()
55 dev_ctx->actor_ctx_table = &actor_ctx_table[dev_idx][0]; in setUp()
153 unsigned int status, dev_idx, actor_idx; in test_thermal_mgmt_dev_init_success() local
158 for (dev_idx = 0; dev_idx < MOD_THERMAL_MGMT_DOM_COUNT; dev_idx++) { in test_thermal_mgmt_dev_init_success()
160 dev_ctx = &mod_ctx.dev_ctx_table[dev_idx]; in test_thermal_mgmt_dev_init_success()
161 config = &dev_config_table[dev_idx]; in test_thermal_mgmt_dev_init_success()
169 actor_table_domain[dev_idx]); in test_thermal_mgmt_dev_init_success()
[all …]
/SCP-firmware-master/module/system_power/src/
A Dmod_system_power.c519 unsigned int dev_idx; in system_power_process_bind_request() local
532 for (dev_idx = 0; dev_idx < system_power_ctx.dev_count; dev_idx++) { in system_power_process_bind_request()
533 dev_ctx = &system_power_ctx.dev_ctx_table[dev_idx]; in system_power_process_bind_request()
543 if (dev_idx >= system_power_ctx.dev_count) { in system_power_process_bind_request()
/SCP-firmware-master/product/synquacer/module/hsspi/src/
A Dmod_hsspi.c48 static void set_hsel_mem(int dev_idx, struct bootctl_reg *reg) in set_hsel_mem() argument
52 if (dev_idx == 0) { in set_hsel_mem()
574 unsigned int dev_idx; in initialize_csmode() local
576 dev_idx = fwk_id_get_element_idx(id); in initialize_csmode()
577 ctx = hsspi_ctx.dev_ctx + dev_idx; in initialize_csmode()
643 unsigned int dev_idx; in hsspi_start() local
649 dev_idx = fwk_id_get_element_idx(id); in hsspi_start()
650 ctx = hsspi_ctx.dev_ctx + dev_idx; in hsspi_start()
653 set_hsel_mem(dev_idx, hsspi_ctx.bootctl); in hsspi_start()
/SCP-firmware-master/module/thermal_mgmt/src/
A Dmod_thermal_mgmt.c199 unsigned int dev_idx; in thermal_update() local
204 for (dev_idx = 0; dev_idx < mod_ctx.dev_ctx_count; dev_idx++) { in thermal_update()
205 dev_id = FWK_ID_ELEMENT(FWK_MODULE_IDX_THERMAL_MGMT, dev_idx); in thermal_update()

Completed in 8 milliseconds