Lines Matching refs:timr
600 static void alarm_timer_rearm(struct k_itimer *timr) in alarm_timer_rearm() argument
602 struct alarm *alarm = &timr->it.alarm.alarmtimer; in alarm_timer_rearm()
604 timr->it_overrun += alarm_forward_now(alarm, timr->it_interval); in alarm_timer_rearm()
613 static s64 alarm_timer_forward(struct k_itimer *timr, ktime_t now) in alarm_timer_forward() argument
615 struct alarm *alarm = &timr->it.alarm.alarmtimer; in alarm_timer_forward()
617 return alarm_forward(alarm, timr->it_interval, now); in alarm_timer_forward()
625 static ktime_t alarm_timer_remaining(struct k_itimer *timr, ktime_t now) in alarm_timer_remaining() argument
627 struct alarm *alarm = &timr->it.alarm.alarmtimer; in alarm_timer_remaining()
636 static int alarm_timer_try_to_cancel(struct k_itimer *timr) in alarm_timer_try_to_cancel() argument
638 return alarm_try_to_cancel(&timr->it.alarm.alarmtimer); in alarm_timer_try_to_cancel()
649 static void alarm_timer_wait_running(struct k_itimer *timr) in alarm_timer_wait_running() argument
651 hrtimer_cancel_wait_running(&timr->it.alarm.alarmtimer.timer); in alarm_timer_wait_running()
661 static void alarm_timer_arm(struct k_itimer *timr, ktime_t expires, in alarm_timer_arm() argument
664 struct alarm *alarm = &timr->it.alarm.alarmtimer; in alarm_timer_arm()
672 alarm_start(&timr->it.alarm.alarmtimer, expires); in alarm_timer_arm()