Searched refs:state_idx (Results 1 - 12 of 12) sorted by relevance

/linux-master/drivers/pmdomain/
H A Dgovernor.c273 int state_idx = genpd->state_count - 1; local
285 while (state_idx >= 0) {
286 if (next_wakeup_allows_state(genpd, state_idx, now)) {
290 state_idx--;
293 if (state_idx < 0) {
294 state_idx = 0;
301 genpd->state_idx = gd->cached_power_down_state_idx;
326 while (!__default_power_down_ok(pd, state_idx)) {
327 if (state_idx == 0) {
331 state_idx
[all...]
H A Dcore.c244 genpd->states[genpd->state_idx].idle_time += delta;
583 unsigned int state_idx = genpd->state_idx; local
599 timed = timed && genpd->gd && !genpd->states[state_idx].fwnode;
614 if (elapsed_ns <= genpd->states[state_idx].power_on_latency_ns)
617 genpd->states[state_idx].power_on_latency_ns = elapsed_ns;
634 unsigned int state_idx = genpd->state_idx; local
650 timed = timed && genpd->gd && !genpd->states[state_idx].fwnode;
665 if (elapsed_ns <= genpd->states[state_idx]
[all...]
/linux-master/drivers/cpuidle/
H A Ddt_idle_states.c157 unsigned int state_idx = start_idx; local
159 if (state_idx >= CPUIDLE_STATE_MAX)
193 if (state_idx == CPUIDLE_STATE_MAX) {
198 idle_state = &drv->states[state_idx++];
215 drv->state_count = state_idx;
222 return state_idx - start_idx;
H A Dcpuidle-psci-domain.c34 struct genpd_power_state *state = &pd->states[pd->state_idx];
H A Dcpuidle-riscv-sbi.c364 struct genpd_power_state *state = &pd->states[pd->state_idx];
/linux-master/drivers/cpuidle/governors/
H A Dteo.c345 * @state_idx: Index of the capping idle state.
350 struct cpuidle_device *dev, int state_idx,
355 for (i = state_idx - 1; i >= 0; i--) {
360 state_idx = i;
364 return state_idx;
349 teo_find_shallower_state(struct cpuidle_driver *drv, struct cpuidle_device *dev, int state_idx, s64 duration_ns, bool no_poll) argument
/linux-master/drivers/gpu/drm/amd/display/dc/dml2/
H A Ddisplay_mode_core.h66 dml_uint_t state_idx,
71 dml_uint_t state_idx,
H A Ddisplay_mode_core.c8108 dml_print("DML::%s: state_idx=%0d max_state_idx=%0d\n", __func__, mode_lib->ms.state_idx, mode_lib->ms.max_state_idx);
8110 s->is_max_pwr_state = (mode_lib->ms.max_state_idx == mode_lib->ms.state_idx);
8774 dml_print("DML::%s: mode_lib->ms.state_idx = %u\n", __func__, mode_lib->ms.state_idx);
10021 dml_uint_t state_idx)
10023 dml_print("DML::%s: state_idx=%u (num_states=%u)\n", __func__, state_idx, states->num_states);
10025 if (state_idx >= (dml_uint_t)states->num_states) {
10026 dml_print("DML::%s: ERROR: Invalid state_idx
10019 dml_get_soc_state_bounding_box( const struct soc_states_st *states, dml_uint_t state_idx) argument
10035 cache_ip_soc_cfg(struct display_mode_lib_st *mode_lib, dml_uint_t state_idx) argument
10073 dml_mode_support( struct display_mode_lib_st *mode_lib, dml_uint_t state_idx, const struct dml_display_cfg_st *display_cfg) argument
10105 dml_mode_programming( struct display_mode_lib_st *mode_lib, dml_uint_t state_idx, const struct dml_display_cfg_st *display_cfg, bool call_standalone) argument
10146 dml_uint_t state_idx = 0; local
[all...]
H A Ddisplay_mode_core_structs.h757 dml_uint_t state_idx; //<brief The power state idx for the power state under this computation member in struct:mode_support_st
/linux-master/drivers/acpi/
H A Dprocessor_idle.c901 int pkg_count, state_idx = 1, loop; local
941 for (loop = 3; state_idx <= pkg_count; loop++, state_idx++, lpi_state++) {
977 lpi_state->index = state_idx;
1001 acpi_handle_debug(handle, "Found %d power states\n", state_idx);
/linux-master/net/netfilter/ipvs/
H A Dip_vs_proto_tcp.c515 int state_idx; local
530 if ((state_idx = tcp_state_idx(th)) < 0) {
531 IP_VS_DBG(8, "tcp_state_idx=%d!!!\n", state_idx);
536 pd->tcp_state_table[state_off+state_idx].next_state[cp->state];
/linux-master/include/linux/
H A Dpm_domain.h187 unsigned int state_idx; /* state that genpd will go to when off */ member in struct:generic_pm_domain

Completed in 216 milliseconds