Searched refs:cm_wq (Results 1 – 2 of 2) sorted by relevance
| /OK3568_Linux_fs/kernel/drivers/power/supply/ |
| H A D | charger-manager.c | 88 static struct workqueue_struct *cm_wq; /* init at driver add */ variable 675 WARN(cm_wq == NULL, "charger-manager: workqueue not initialized" 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() 934 queue_delayed_work(cm_wq, &cm_monitor_work, 0); in charger_extcon_work() 1752 cm_wq = create_freezable_workqueue("charger_manager"); in charger_manager_init() 1753 if (unlikely(!cm_wq)) in charger_manager_init() 1764 destroy_workqueue(cm_wq); in charger_manager_cleanup() 1765 cm_wq = NULL; in charger_manager_cleanup()
|
| H A D | rockchip_charger_manager.c | 301 struct workqueue_struct *cm_wq; /* init at driver add */ member 1991 WARN(cm->cm_wq == NULL, "rockchip-charger-manager: workqueue not initialized\n"); in _setup_polling() 2002 queue_delayed_work(cm->cm_wq, &cm->cm_monitor_work, polling_jiffy); in _setup_polling() 2005 if (queue_delayed_work(cm->cm_wq, &cm->cm_monitor_work, polling_jiffy)) in _setup_polling() 2083 queue_delayed_work(cm->cm_wq, in cm_jeita_poller() 2103 queue_delayed_work(cm->cm_wq, &cm->cm_monitor_work, 0); in charger_extcon_work() 2209 queue_work(cm->cm_wq, &cm->wq); in charger_extcon_notifier() 2257 queue_delayed_work(cm->cm_wq, &cm->cm_jeita_work, 0); in charger_extcon_notifier() 2554 cm->cm_wq = alloc_ordered_workqueue("%s", in charger_manager_probe() 2557 if (unlikely(!cm->cm_wq)) { in charger_manager_probe()
|