Home
last modified time | relevance | path

Searched refs:exit_latency_ns (Results 1 – 7 of 7) sorted by relevance

/linux-6.12.1/drivers/cpuidle/governors/
Dladder.c85 last_residency = dev->last_residency_ns - drv->states[last_idx].exit_latency_ns; in ladder_select_state()
91 drv->states[last_idx + 1].exit_latency_ns <= latency_req) { in ladder_select_state()
103 drv->states[last_idx].exit_latency_ns > latency_req)) { in ladder_select_state()
107 if (drv->states[i].exit_latency_ns <= latency_req) in ladder_select_state()
155 lstate->threshold.promotion_time_ns = state->exit_latency_ns; in ladder_enable_device()
157 lstate->threshold.demotion_time_ns = state->exit_latency_ns; in ladder_enable_device()
Dmenu.c309 latency_req < drv->states[1].exit_latency_ns) && in menu_select()
362 s->exit_latency_ns <= latency_req && in menu_select()
394 if (s->exit_latency_ns > latency_req) in menu_select()
503 if (measured_ns > 2 * target->exit_latency_ns) in menu_update()
504 measured_ns -= target->exit_latency_ns; in menu_update()
Dteo.c158 u64 lat_ns = drv->states[dev->last_state_idx].exit_latency_ns; in teo_update()
335 if (s->exit_latency_ns <= latency_req) in teo_select()
/linux-6.12.1/drivers/cpuidle/
Ddriver.c191 s->exit_latency_ns = mul_u32_u32(s->exit_latency, NSEC_PER_USEC); in __cpuidle_driver_init()
192 else if (s->exit_latency_ns < 0) in __cpuidle_driver_init()
193 s->exit_latency_ns = 0; in __cpuidle_driver_init()
195 s->exit_latency = div_u64(s->exit_latency_ns, NSEC_PER_USEC); in __cpuidle_driver_init()
Dcpuidle.c93 s->exit_latency_ns <= latency_req || in find_deepest_state()
94 s->exit_latency_ns > max_latency_ns || in find_deepest_state()
99 latency_req = s->exit_latency_ns; in find_deepest_state()
229 index = find_deepest_state(drv, dev, target_state->exit_latency_ns, in cpuidle_enter_state()
289 s64 diff, delay = drv->states[entered_state].exit_latency_ns; in cpuidle_enter_state()
Dpoll_state.c56 state->exit_latency_ns = 0; in cpuidle_poll_state_init()
/linux-6.12.1/include/linux/
Dcpuidle.h53 s64 exit_latency_ns; member