Searched refs:elapsed_ns (Results 1 – 1 of 1) sorted by relevance
335 s64 elapsed_ns; in _genpd_power_on() local349 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() local388 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 …]