/linux-master/drivers/pmdomain/ |
H A D | governor.c | 273 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 D | core.c | 244 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 D | dt_idle_states.c | 157 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 D | cpuidle-psci-domain.c | 34 struct genpd_power_state *state = &pd->states[pd->state_idx];
|
H A D | cpuidle-riscv-sbi.c | 364 struct genpd_power_state *state = &pd->states[pd->state_idx];
|
/linux-master/drivers/cpuidle/governors/ |
H A D | teo.c | 345 * @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 D | display_mode_core.h | 66 dml_uint_t state_idx, 71 dml_uint_t state_idx,
|
H A D | display_mode_core.c | 8108 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 D | display_mode_core_structs.h | 757 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 D | processor_idle.c | 901 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 D | ip_vs_proto_tcp.c | 515 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 D | pm_domain.h | 187 unsigned int state_idx; /* state that genpd will go to when off */ member in struct:generic_pm_domain
|