Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/cpuidle/governors/
Dteo.c204 s64 target_residency_ns = drv->states[i].target_residency_ns; in teo_update() local
212 if (target_residency_ns <= cpu_data->sleep_length_ns) { in teo_update()
214 if (target_residency_ns <= measured_ns) in teo_update()
251 return (drv->states[idx].target_residency_ns + in teo_middle_of_bin()
252 drv->states[idx+1].target_residency_ns) / 2; in teo_middle_of_bin()
273 if (drv->states[i].target_residency_ns <= duration_ns) in teo_find_shallower_state()
320 if (drv->states[1].target_residency_ns > duration_ns) in teo_select()
351 if (s->target_residency_ns > duration_ns) in teo_select()
471 drv->states[idx].target_residency_ns > delta_tick) in teo_select()
Dmenu.c294 ((data->next_timer_ns < drv->states[1].target_residency_ns || in menu_select()
352 if (s->target_residency_ns > predicted_ns) { in menu_select()
359 s->target_residency_ns <= data->next_timer_ns) { in menu_select()
360 predicted_ns = s->target_residency_ns; in menu_select()
374 predicted_ns = drv->states[idx].target_residency_ns; in menu_select()
384 if (drv->states[idx].target_residency_ns < TICK_NSEC && in menu_select()
385 s->target_residency_ns <= delta_tick) in menu_select()
407 if (idx > 0 && drv->states[idx].target_residency_ns > delta_tick) { in menu_select()
419 if (drv->states[i].target_residency_ns <= delta_tick) in menu_select()
/linux-5.19.10/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()
Dpoll_state.c53 state->target_residency_ns = 0; in cpuidle_poll_state_init()
Dcpuidle.c274 if (diff < drv->states[entered_state].target_residency_ns) { in cpuidle_enter_state()
292 if (diff - delay >= drv->states[i].target_residency_ns) in cpuidle_enter_state()
410 state_limit = drv->states[i].target_residency_ns; in cpuidle_poll_time()
/linux-5.19.10/include/linux/
Dcpuidle.h53 s64 target_residency_ns; member