Searched refs:state_idx (Results 1 – 10 of 10) sorted by relevance
/kernel/linux/linux-5.10/drivers/base/power/ |
D | domain_governor.c | 215 genpd->state_idx = genpd->cached_power_down_state_idx; in default_power_down_ok() 231 genpd->state_idx = genpd->state_count - 1; in default_power_down_ok() 234 while (!__default_power_down_ok(pd, genpd->state_idx)) { in default_power_down_ok() 235 if (genpd->state_idx == 0) { in default_power_down_ok() 239 genpd->state_idx--; in default_power_down_ok() 242 genpd->cached_power_down_state_idx = genpd->state_idx; in default_power_down_ok() 292 i = genpd->state_idx; in cpu_power_down_ok() 296 genpd->state_idx = i; in cpu_power_down_ok()
|
D | domain.c | 226 int state_idx = genpd->state_idx; in genpd_update_accounting() local 228 genpd->states[state_idx].idle_time = in genpd_update_accounting() 229 ktime_add(genpd->states[state_idx].idle_time, delta); in genpd_update_accounting() 413 unsigned int state_idx = genpd->state_idx; in _genpd_power_on() local 443 if (elapsed_ns <= genpd->states[state_idx].power_on_latency_ns) in _genpd_power_on() 446 genpd->states[state_idx].power_on_latency_ns = elapsed_ns; in _genpd_power_on() 462 unsigned int state_idx = genpd->state_idx; in _genpd_power_off() local 492 if (elapsed_ns <= genpd->states[state_idx].power_off_latency_ns) in _genpd_power_off() 495 genpd->states[state_idx].power_off_latency_ns = elapsed_ns; in _genpd_power_off() 584 genpd->state_idx = 0; in genpd_power_off() [all …]
|
/kernel/linux/linux-5.10/drivers/cpuidle/ |
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() 219 drv->state_count = state_idx; in dt_init_idle_driver() 226 return state_idx - start_idx; in dt_init_idle_driver()
|
D | cpuidle-psci-domain.c | 34 struct genpd_power_state *state = &pd->states[pd->state_idx]; in psci_pd_power_off()
|
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/ |
D | 0013_linux_drivers_base.patch | 138 genpd->state_idx = 0; 145 + genpd->state_idx = genpd->state_count - 1; 158 + genpd->state_idx_saved = genpd->state_idx; 164 + genpd->state_idx == (genpd->state_count - 1)) 188 + genpd->state_idx = genpd->state_idx_saved;
|
D | 0018_linux_drivers_firmware.patch | 1071 + msg.mode = power_on ? IMX_SC_PM_PW_MODE_ON : pd->pd.state_idx ?
|
/kernel/linux/linux-5.10/drivers/cpuidle/governors/ |
D | teo.c | 218 struct cpuidle_device *dev, int state_idx, in teo_find_shallower_state() argument 223 for (i = state_idx - 1; i >= 0; i--) { in teo_find_shallower_state() 227 state_idx = i; in teo_find_shallower_state() 231 return state_idx; in teo_find_shallower_state()
|
/kernel/linux/linux-5.10/net/netfilter/ipvs/ |
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()
|
/kernel/linux/linux-5.10/drivers/acpi/ |
D | processor_idle.c | 885 int pkg_count, state_idx = 1, loop; in acpi_processor_evaluate_lpi() local 925 for (loop = 3; state_idx <= pkg_count; loop++, state_idx++, lpi_state++) { in acpi_processor_evaluate_lpi() 961 lpi_state->index = state_idx; in acpi_processor_evaluate_lpi() 985 acpi_handle_debug(handle, "Found %d power states\n", state_idx); in acpi_processor_evaluate_lpi()
|
/kernel/linux/linux-5.10/include/linux/ |
D | pm_domain.h | 144 unsigned int state_idx; /* state that genpd will go to when off */ member
|