Home
last modified time | relevance | path

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

/freebsd/sys/compat/linuxkpi/common/src/
H A Dlinux_hrtimer.c39 struct hrtimer *hrtimer; in hrtimer_call_handler() local
42 hrtimer = arg; in hrtimer_call_handler()
43 ret = hrtimer->function(hrtimer); in hrtimer_call_handler()
46 callout_schedule_sbt(&hrtimer->callout, in hrtimer_call_handler()
47 nstosbt(hrtimer->expires), nstosbt(hrtimer->precision), 0); in hrtimer_call_handler()
49 callout_deactivate(&hrtimer->callout); in hrtimer_call_handler()
54 linux_hrtimer_active(struct hrtimer *hrtimer) in linux_hrtimer_active() argument
58 mtx_lock(&hrtimer->mtx); in linux_hrtimer_active()
59 ret = callout_active(&hrtimer->callout); in linux_hrtimer_active()
60 mtx_unlock(&hrtimer->mtx); in linux_hrtimer_active()
[all …]
/freebsd/sys/compat/linuxkpi/common/include/linux/
H A Dhrtimer.h46 struct hrtimer { struct
47 enum hrtimer_restart (*function)(struct hrtimer *); argument
54 #define hrtimer_active(hrtimer) linux_hrtimer_active(hrtimer) argument
55 #define hrtimer_try_to_cancel(hrtimer) linux_hrtimer_try_to_cancel(hrtimer) argument
56 #define hrtimer_cancel(hrtimer) linux_hrtimer_cancel(hrtimer) argument
58 #define hrtimer_init(hrtimer, clock, mode) do { \ argument
61 linux_hrtimer_init(hrtimer); \
64 #define hrtimer_set_expires(hrtimer, time) \ argument
65 linux_hrtimer_set_expires(hrtimer, time)
67 #define hrtimer_start(hrtimer, time, mode) do { \ argument
[all …]
/freebsd/sys/contrib/dev/mediatek/mt76/
H A Dmt76x02.h108 struct hrtimer pre_tbtt_timer;
H A Dmt76x02_usb_core.c225 static enum hrtimer_restart mt76x02u_pre_tbtt_interrupt(struct hrtimer *timer) in mt76x02u_pre_tbtt_interrupt()
/freebsd/sys/dev/netmap/
H A Dnetmap_kern.h133 struct hrtimer { struct
200 typedef struct hrtimer{ struct
1036 struct hrtimer mit_timer;