Searched refs:hrtimer (Results 1 – 5 of 5) sorted by relevance
| /freebsd/sys/compat/linuxkpi/common/src/ |
| H A D | linux_hrtimer.c | 39 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 D | hrtimer.h | 46 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 60 #define hrtimer_init(hrtimer, clock, mode) do { \ argument 63 linux_hrtimer_init(hrtimer); \ 67 #define hrtimer_setup(hrtimer, restart, clock, mode) do { \ argument 70 linuxkpi_hrtimer_setup(hrtimer, restart); \ 73 #define hrtimer_set_expires(hrtimer, time) \ argument [all …]
|
| /freebsd/sys/contrib/dev/mediatek/mt76/ |
| H A D | mt76x02_usb_core.c | 229 static enum hrtimer_restart mt76x02u_pre_tbtt_interrupt(struct hrtimer *timer) in mt76x02u_pre_tbtt_interrupt()
|
| H A D | mt76x02.h | 108 struct hrtimer pre_tbtt_timer;
|
| /freebsd/sys/dev/netmap/ |
| H A D | netmap_kern.h | 133 struct hrtimer { struct 200 typedef struct hrtimer{ struct 1039 struct hrtimer mit_timer;
|