Searched refs:state_idx (Results 1 – 9 of 9) sorted by relevance
/linux-6.3-rc2/drivers/base/power/ |
A D | domain_governor.c | 269 int state_idx = genpd->state_count - 1; in _default_power_down_ok() local 281 while (state_idx >= 0) { in _default_power_down_ok() 286 state_idx--; in _default_power_down_ok() 289 if (state_idx < 0) { in _default_power_down_ok() 290 state_idx = 0; in _default_power_down_ok() 322 while (!__default_power_down_ok(pd, state_idx)) { in _default_power_down_ok() 323 if (state_idx == 0) { in _default_power_down_ok() 327 state_idx--; in _default_power_down_ok() 331 genpd->state_idx = state_idx; in _default_power_down_ok() 386 i = genpd->state_idx; in cpu_power_down_ok() [all …]
|
A D | domain.c | 245 genpd->states[genpd->state_idx].idle_time += delta; in genpd_update_accounting() 546 unsigned int state_idx = genpd->state_idx; in _genpd_power_on() local 597 unsigned int state_idx = genpd->state_idx; in _genpd_power_off() local 703 if (child->state_idx < child->state_count - 1) in genpd_power_off() 727 genpd->state_idx = 0; in genpd_power_off() 735 genpd->states[genpd->state_idx].rejected++; in genpd_power_off() 741 genpd->states[genpd->state_idx].usage++; in genpd_power_off() 1137 if (child->state_idx < child->state_count - 1) in genpd_sync_power_off() 1142 genpd->state_idx = genpd->state_count - 1; in genpd_sync_power_off() 3131 status_lookup[genpd->status], genpd->state_idx); in genpd_summary_one() [all …]
|
/linux-6.3-rc2/drivers/cpuidle/ |
A D | dt_idle_states.c | 158 unsigned int state_idx = start_idx; in dt_init_idle_driver() local 160 if (state_idx >= CPUIDLE_STATE_MAX) in dt_init_idle_driver() 194 if (state_idx == CPUIDLE_STATE_MAX) { in dt_init_idle_driver() 199 idle_state = &drv->states[state_idx++]; in dt_init_idle_driver() 216 drv->state_count = state_idx; in dt_init_idle_driver() 223 return state_idx - start_idx; in dt_init_idle_driver()
|
A D | cpuidle-psci-domain.c | 34 struct genpd_power_state *state = &pd->states[pd->state_idx]; in psci_pd_power_off()
|
A D | cpuidle-riscv-sbi.c | 395 struct genpd_power_state *state = &pd->states[pd->state_idx]; in sbi_cpuidle_pd_power_off()
|
/linux-6.3-rc2/drivers/cpuidle/governors/ |
A D | teo.c | 331 struct cpuidle_device *dev, int state_idx, in teo_find_shallower_state() argument 336 for (i = state_idx - 1; i >= 0; i--) { in teo_find_shallower_state() 341 state_idx = i; in teo_find_shallower_state() 345 return state_idx; in teo_find_shallower_state()
|
/linux-6.3-rc2/net/netfilter/ipvs/ |
A D | ip_vs_proto_tcp.c | 515 int state_idx; in set_tcp_state() local 530 if ((state_idx = tcp_state_idx(th)) < 0) { in set_tcp_state() 531 IP_VS_DBG(8, "tcp_state_idx=%d!!!\n", state_idx); in set_tcp_state() 536 pd->tcp_state_table[state_off+state_idx].next_state[cp->state]; in set_tcp_state()
|
/linux-6.3-rc2/drivers/acpi/ |
A D | processor_idle.c | 905 int pkg_count, state_idx = 1, loop; in acpi_processor_evaluate_lpi() local 945 for (loop = 3; state_idx <= pkg_count; loop++, state_idx++, lpi_state++) { in acpi_processor_evaluate_lpi() 981 lpi_state->index = state_idx; in acpi_processor_evaluate_lpi() 1005 acpi_handle_debug(handle, "Found %d power states\n", state_idx); in acpi_processor_evaluate_lpi()
|
/linux-6.3-rc2/include/linux/ |
A D | pm_domain.h | 158 unsigned int state_idx; /* state that genpd will go to when off */ member
|
Completed in 24 milliseconds