Home
last modified time | relevance | path

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

/drivers/base/power/
Ddomain.c415 s64 elapsed_ns; in _genpd_power_on() local
429 elapsed_ns = ktime_to_ns(ktime_sub(ktime_get(), time_start)); in _genpd_power_on()
430 if (elapsed_ns <= genpd->states[state_idx].power_on_latency_ns) in _genpd_power_on()
433 genpd->states[state_idx].power_on_latency_ns = elapsed_ns; in _genpd_power_on()
436 genpd->name, "on", elapsed_ns); in _genpd_power_on()
445 s64 elapsed_ns; in _genpd_power_off() local
459 elapsed_ns = ktime_to_ns(ktime_sub(ktime_get(), time_start)); in _genpd_power_off()
460 if (elapsed_ns <= genpd->states[state_idx].power_off_latency_ns) in _genpd_power_off()
463 genpd->states[state_idx].power_off_latency_ns = elapsed_ns; in _genpd_power_off()
466 genpd->name, "off", elapsed_ns); in _genpd_power_off()
[all …]