Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/power/supply/
Dcharger-manager.c863 unsigned int wakeup_ms = UINT_MAX; in cm_setup_timer() local
867 CM_MIN_VALID(wakeup_ms, in cm_setup_timer()
878 CM_MIN_VALID(wakeup_ms, cm->desc->polling_interval_ms); in cm_setup_timer()
889 if (wakeup_ms == UINT_MAX || in cm_setup_timer()
890 wakeup_ms < CM_RTC_SMALL * MSEC_PER_SEC) in cm_setup_timer()
891 wakeup_ms = 2 * CM_RTC_SMALL * MSEC_PER_SEC; in cm_setup_timer()
893 pr_info("Charger Manager wakeup timer: %u ms\n", wakeup_ms); in cm_setup_timer()
896 add = ktime_set(wakeup_ms / MSEC_PER_SEC, in cm_setup_timer()
897 (wakeup_ms % MSEC_PER_SEC) * NSEC_PER_MSEC); in cm_setup_timer()
900 cm_suspend_duration_ms = wakeup_ms; in cm_setup_timer()