Lines Matching refs:target_residency_ns
147 s64 target_residency_ns; in teo_update() local
195 target_residency_ns = drv->states[i].target_residency_ns; in teo_update()
197 if (target_residency_ns <= cpu_data->sleep_length_ns) { in teo_update()
199 if (target_residency_ns <= measured_ns) in teo_update()
210 if (target_residency_ns < TICK_NSEC) { in teo_update()
242 drv->states[i].target_residency_ns >= TICK_NSEC; in teo_state_ok()
265 if (drv->states[i].target_residency_ns <= duration_ns) in teo_find_shallower_state()
354 duration_ns = drv->states[idx].target_residency_ns; in teo_select()
450 drv->states[idx].target_residency_ns < RESIDENCY_THRESHOLD_NS) in teo_select()
460 if (drv->states[idx].target_residency_ns > duration_ns) { in teo_select()
471 if (drv->states[idx].target_residency_ns < TICK_NSEC && in teo_select()
491 drv->states[idx].target_residency_ns > delta_tick) in teo_select()