Home
last modified time | relevance | path

Searched refs:state_idx (Results 1 – 9 of 9) sorted by relevance

/linux/drivers/cpuidle/
H A Ddt_idle_states.c153 unsigned int state_idx = start_idx; in dt_init_idle_driver() local
155 if (state_idx >= CPUIDLE_STATE_MAX) in dt_init_idle_driver()
189 if (state_idx == CPUIDLE_STATE_MAX) { in dt_init_idle_driver()
194 idle_state = &drv->states[state_idx++]; in dt_init_idle_driver()
211 drv->state_count = state_idx; in dt_init_idle_driver()
218 return state_idx - start_idx; in dt_init_idle_driver()
H A Dcpuidle-psci.c41 unsigned int state_idx; member
49 void psci_set_domain_state(struct generic_pm_domain *pd, unsigned int state_idx, in psci_set_domain_state() argument
55 ds->state_idx = state_idx; in psci_set_domain_state()
102 pm_genpd_inc_rejected(ds->pd, ds->state_idx); in __psci_enter_domain_idle_state()
H A Dcpuidle-psci-domain.c34 struct genpd_power_state *state = &pd->states[pd->state_idx]; in psci_pd_power_off()
42 psci_set_domain_state(pd, pd->state_idx, *pd_state); in psci_pd_power_off()
H A Dcpuidle-psci.h9 void psci_set_domain_state(struct generic_pm_domain *pd, unsigned int state_idx,
H A Dcpuidle-riscv-sbi.c352 struct genpd_power_state *state = &pd->states[pd->state_idx]; in sbi_cpuidle_pd_power_off()
/linux/drivers/pmdomain/
H A Dcore.c308 genpd->states[genpd->state_idx].idle_time += delta; in genpd_update_accounting()
319 unsigned int state_idx; in genpd_reflect_residency() local
326 state_idx = genpd->state_idx; in genpd_reflect_residency()
327 state = &genpd->states[state_idx]; in genpd_reflect_residency()
332 } else if (state_idx < (genpd->state_count -1)) { in genpd_reflect_residency()
333 next_state = &genpd->states[state_idx + 1]; in genpd_reflect_residency()
817 unsigned int state_idx) in pm_genpd_inc_rejected() argument
820 genpd->states[genpd->state_idx].rejected++; in pm_genpd_inc_rejected()
821 genpd->states[genpd->state_idx].usage--; in pm_genpd_inc_rejected()
828 unsigned int state_idx = genpd->state_idx; in _genpd_power_on() local
[all …]
/linux/net/netfilter/ipvs/
H A Dip_vs_proto_tcp.c479 int state_idx; in set_tcp_state() local
494 if ((state_idx = tcp_state_idx(th)) < 0) { in set_tcp_state()
495 IP_VS_DBG(8, "tcp_state_idx=%d!!!\n", state_idx); in set_tcp_state()
500 pd->tcp_state_table[state_off+state_idx].next_state[cp->state]; in set_tcp_state()
/linux/drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/
H A Ddml2_core_shared_types.h365 unsigned int state_idx; // <brief min clk state table index for mode support call member
/linux/drivers/gpu/drm/amd/display/dc/dml2_0/
H A Ddisplay_mode_core_structs.h816 dml_uint_t state_idx; //<brief The power state idx for the power state under this computation member