Searched refs:cm_timer (Results 1 – 1 of 1) sorted by relevance
79 static struct alarm *cm_timer; variable882 if (timer_req && cm_timer) { in cm_setup_timer()898 alarm_start(cm_timer, ktime_add(now, add)); in cm_setup_timer()1448 cm_timer = devm_kzalloc(cm->dev, sizeof(*cm_timer), GFP_KERNEL); in charger_manager_probe()1449 if (!cm_timer) in charger_manager_probe()1451 alarm_init(cm_timer, ALARM_BOOTTIME, cm_timer_func); in charger_manager_probe()1675 if (cm_timer) in cm_need_to_awake()1718 alarm_cancel(cm_timer); in cm_suspend_complete()1720 remain = alarm_expires_remaining(cm_timer); in cm_suspend_complete()