Home
last modified time | relevance | path

Searched refs:target_residency_ns (Results 1 – 6 of 6) sorted by relevance

/linux-6.6.21/drivers/cpuidle/governors/
Dteo.c232 s64 target_residency_ns; in teo_update() local
280 target_residency_ns = drv->states[i].target_residency_ns; in teo_update()
282 if (target_residency_ns <= cpu_data->sleep_length_ns) { in teo_update()
284 if (target_residency_ns <= measured_ns) in teo_update()
302 if (target_residency_ns < TICK_NSEC) { in teo_update()
338 drv->states[i].target_residency_ns >= TICK_NSEC; in teo_state_ok()
361 if (drv->states[i].target_residency_ns <= duration_ns) in teo_find_shallower_state()
436 duration_ns = drv->states[1].target_residency_ns; in teo_select()
481 duration_ns = drv->states[idx].target_residency_ns; in teo_select()
588 drv->states[idx].target_residency_ns < RESIDENCY_THRESHOLD_NS) in teo_select()
[all …]
Dmenu.c315 ((data->next_timer_ns < drv->states[1].target_residency_ns || in menu_select()
363 if (s->target_residency_ns > predicted_ns) { in menu_select()
370 s->target_residency_ns <= data->next_timer_ns) { in menu_select()
371 predicted_ns = s->target_residency_ns; in menu_select()
385 predicted_ns = drv->states[idx].target_residency_ns; in menu_select()
395 if (drv->states[idx].target_residency_ns < TICK_NSEC && in menu_select()
396 s->target_residency_ns <= delta_tick) in menu_select()
418 if (idx > 0 && drv->states[idx].target_residency_ns > delta_tick) { in menu_select()
430 if (drv->states[i].target_residency_ns <= delta_tick) in menu_select()
/linux-6.6.21/drivers/cpuidle/
Ddriver.c183 s->target_residency_ns = s->target_residency * NSEC_PER_USEC; in __cpuidle_driver_init()
184 else if (s->target_residency_ns < 0) in __cpuidle_driver_init()
185 s->target_residency_ns = 0; in __cpuidle_driver_init()
187 s->target_residency = div_u64(s->target_residency_ns, NSEC_PER_USEC); in __cpuidle_driver_init()
Dpoll_state.c57 state->target_residency_ns = 0; in cpuidle_poll_state_init()
Dcpuidle.c306 if (diff < drv->states[entered_state].target_residency_ns) { in cpuidle_enter_state()
325 if (diff - delay >= drv->states[i].target_residency_ns) { in cpuidle_enter_state()
447 state_limit = drv->states[i].target_residency_ns; in cpuidle_poll_time()
/linux-6.6.21/include/linux/
Dcpuidle.h54 s64 target_residency_ns; member