Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/base/power/
Ddomain.c335 s64 elapsed_ns; in _genpd_power_on() local
349 elapsed_ns = ktime_to_ns(ktime_sub(ktime_get(), time_start)); in _genpd_power_on()
359 if (elapsed_ns <= genpd->states[state_idx].power_on_latency_ns) in _genpd_power_on()
362 genpd->states[state_idx].power_on_latency_ns = elapsed_ns; in _genpd_power_on()
365 genpd->name, "on", elapsed_ns); in _genpd_power_on()
374 s64 elapsed_ns; in _genpd_power_off() local
388 elapsed_ns = ktime_to_ns(ktime_sub(ktime_get(), time_start)); in _genpd_power_off()
389 if (elapsed_ns <= genpd->states[state_idx].power_off_latency_ns) in _genpd_power_off()
392 genpd->states[state_idx].power_off_latency_ns = elapsed_ns; in _genpd_power_off()
395 genpd->name, "off", elapsed_ns); in _genpd_power_off()
[all …]