Home
last modified time | relevance | path

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

/drivers/base/power/
Ddomain.c106 s64 elapsed_ns; in genpd_power_on() local
120 elapsed_ns = ktime_to_ns(ktime_sub(ktime_get(), time_start)); in genpd_power_on()
121 if (elapsed_ns <= genpd->power_on_latency_ns) in genpd_power_on()
124 genpd->power_on_latency_ns = elapsed_ns; in genpd_power_on()
127 genpd->name, "on", elapsed_ns); in genpd_power_on()
135 s64 elapsed_ns; in genpd_power_off() local
149 elapsed_ns = ktime_to_ns(ktime_sub(ktime_get(), time_start)); in genpd_power_off()
150 if (elapsed_ns <= genpd->power_off_latency_ns) in genpd_power_off()
153 genpd->power_off_latency_ns = elapsed_ns; in genpd_power_off()
156 genpd->name, "off", elapsed_ns); in genpd_power_off()
[all …]