Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/power/supply/
Dcharger-manager.c86 static unsigned long polling_jiffy = ULONG_MAX; /* ULONG_MAX: no polling */ variable
666 polling_jiffy = msecs_to_jiffies(min); in _setup_polling()
667 if (polling_jiffy <= CM_JIFFIES_SMALL) in _setup_polling()
668 polling_jiffy = CM_JIFFIES_SMALL + 1; in _setup_polling()
671 polling_jiffy = ULONG_MAX; in _setup_polling()
672 if (polling_jiffy == ULONG_MAX) in _setup_polling()
684 _next_polling = jiffies + polling_jiffy; in _setup_polling()
687 mod_delayed_work(cm_wq, &cm_monitor_work, polling_jiffy); in _setup_polling()
690 if (queue_delayed_work(cm_wq, &cm_monitor_work, polling_jiffy)) in _setup_polling()