Searched refs:timr (Results 1 – 7 of 7) sorted by relevance
/linux-6.6.21/kernel/time/ |
D | posix-timers.c | 126 static inline void unlock_timer(struct k_itimer *timr, unsigned long flags) in unlock_timer() argument 128 spin_unlock_irqrestore(&timr->it_lock, flags); in unlock_timer() 236 static inline int timer_overrun_to_int(struct k_itimer *timr, int baseval) in timer_overrun_to_int() argument 238 s64 sum = timr->it_overrun_last + (s64)baseval; in timer_overrun_to_int() 243 static void common_hrtimer_rearm(struct k_itimer *timr) in common_hrtimer_rearm() argument 245 struct hrtimer *timer = &timr->it.real.timer; in common_hrtimer_rearm() 247 timr->it_overrun += hrtimer_forward(timer, timer->base->get_time(), in common_hrtimer_rearm() 248 timr->it_interval); in common_hrtimer_rearm() 259 struct k_itimer *timr; in posixtimer_rearm() local 262 timr = lock_timer(info->si_tid, &flags); in posixtimer_rearm() [all …]
|
D | posix-timers.h | 18 int (*timer_set)(struct k_itimer *timr, int flags, 21 int (*timer_del)(struct k_itimer *timr); 22 void (*timer_get)(struct k_itimer *timr, 24 void (*timer_rearm)(struct k_itimer *timr); 25 s64 (*timer_forward)(struct k_itimer *timr, ktime_t now); 26 ktime_t (*timer_remaining)(struct k_itimer *timr, ktime_t now); 27 int (*timer_try_to_cancel)(struct k_itimer *timr); 28 void (*timer_arm)(struct k_itimer *timr, ktime_t expires, 30 void (*timer_wait_running)(struct k_itimer *timr); 39 int posix_timer_event(struct k_itimer *timr, int si_private); [all …]
|
D | alarmtimer.c | 594 static void alarm_timer_rearm(struct k_itimer *timr) in alarm_timer_rearm() argument 596 struct alarm *alarm = &timr->it.alarm.alarmtimer; in alarm_timer_rearm() 598 timr->it_overrun += alarm_forward_now(alarm, timr->it_interval); in alarm_timer_rearm() 607 static s64 alarm_timer_forward(struct k_itimer *timr, ktime_t now) in alarm_timer_forward() argument 609 struct alarm *alarm = &timr->it.alarm.alarmtimer; in alarm_timer_forward() 611 return alarm_forward(alarm, timr->it_interval, now); in alarm_timer_forward() 619 static ktime_t alarm_timer_remaining(struct k_itimer *timr, ktime_t now) in alarm_timer_remaining() argument 621 struct alarm *alarm = &timr->it.alarm.alarmtimer; in alarm_timer_remaining() 630 static int alarm_timer_try_to_cancel(struct k_itimer *timr) in alarm_timer_try_to_cancel() argument 632 return alarm_try_to_cancel(&timr->it.alarm.alarmtimer); in alarm_timer_try_to_cancel() [all …]
|
D | posix-cpu-timers.c | 1178 static void posix_cpu_timer_wait_running(struct k_itimer *timr) in posix_cpu_timer_wait_running() argument 1180 struct task_struct *tsk = rcu_dereference(timr->it.cpu.handling); in posix_cpu_timer_wait_running() 1200 static void posix_cpu_timer_wait_running_nsleep(struct k_itimer *timr) in posix_cpu_timer_wait_running_nsleep() argument 1204 spin_unlock_irq(&timr->it_lock); in posix_cpu_timer_wait_running_nsleep() 1205 posix_cpu_timer_wait_running(timr); in posix_cpu_timer_wait_running_nsleep() 1208 spin_lock_irq(&timr->it_lock); in posix_cpu_timer_wait_running_nsleep() 1303 static void posix_cpu_timer_wait_running(struct k_itimer *timr) in posix_cpu_timer_wait_running() argument 1308 static void posix_cpu_timer_wait_running_nsleep(struct k_itimer *timr) in posix_cpu_timer_wait_running_nsleep() argument 1310 spin_unlock_irq(&timr->it_lock); in posix_cpu_timer_wait_running_nsleep() 1312 spin_lock_irq(&timr->it_lock); in posix_cpu_timer_wait_running_nsleep()
|
D | timer.c | 646 #define TIMER_HINT(fn, container, timr, hintfn) \ argument 650 offsetof(container, timr) \
|
/linux-6.6.21/drivers/tty/serial/ |
D | sunsab.h | 15 u8 timr; /* Timer Register */ member 46 u8 timr; member 82 u8 timr; member
|
/linux-6.6.21/drivers/rtc/ |
D | rtc-cadence.c | 154 u32 timr, calr, stsr; in cdns_rtc_set_time() local 161 timr = cdns_rtc_time2reg(tm); in cdns_rtc_set_time() 171 writel(timr, crtc->regs + CDNS_RTC_TIMR); in cdns_rtc_set_time()
|