Searched refs:elapsed_ns (Results 1 – 1 of 1) sorted by relevance
495 s64 elapsed_ns; in _genpd_power_on() local522 elapsed_ns = ktime_to_ns(ktime_sub(ktime_get(), time_start)); in _genpd_power_on()523 if (elapsed_ns <= genpd->states[state_idx].power_on_latency_ns) in _genpd_power_on()526 genpd->states[state_idx].power_on_latency_ns = elapsed_ns; in _genpd_power_on()529 genpd->name, "on", elapsed_ns); in _genpd_power_on()544 s64 elapsed_ns; in _genpd_power_off() local571 elapsed_ns = ktime_to_ns(ktime_sub(ktime_get(), time_start)); in _genpd_power_off()572 if (elapsed_ns <= genpd->states[state_idx].power_off_latency_ns) in _genpd_power_off()575 genpd->states[state_idx].power_off_latency_ns = elapsed_ns; in _genpd_power_off()578 genpd->name, "off", elapsed_ns); in _genpd_power_off()[all …]