Home
last modified time | relevance | path

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

1234

/drivers/oprofile/
Dtimer_int.c23 static DEFINE_PER_CPU(struct hrtimer, oprofile_hrtimer);
26 static enum hrtimer_restart oprofile_hrtimer_notify(struct hrtimer *hrtimer) in oprofile_hrtimer_notify() argument
29 hrtimer_forward_now(hrtimer, ns_to_ktime(TICK_NSEC)); in oprofile_hrtimer_notify()
35 struct hrtimer *hrtimer = this_cpu_ptr(&oprofile_hrtimer); in __oprofile_hrtimer_start() local
40 hrtimer_init(hrtimer, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in __oprofile_hrtimer_start()
41 hrtimer->function = oprofile_hrtimer_notify; in __oprofile_hrtimer_start()
43 hrtimer_start(hrtimer, ns_to_ktime(TICK_NSEC), in __oprofile_hrtimer_start()
58 struct hrtimer *hrtimer = &per_cpu(oprofile_hrtimer, cpu); in __oprofile_hrtimer_stop() local
63 hrtimer_cancel(hrtimer); in __oprofile_hrtimer_stop()
/drivers/hwtracing/stm/
Dheartbeat.c26 struct hrtimer hrtimer; member
32 static enum hrtimer_restart stm_heartbeat_hrtimer_handler(struct hrtimer *hr) in stm_heartbeat_hrtimer_handler()
35 hrtimer); in stm_heartbeat_hrtimer_handler()
50 hrtimer_start(&heartbeat->hrtimer, ms_to_ktime(interval_ms), in stm_heartbeat_link()
62 hrtimer_cancel(&heartbeat->hrtimer); in stm_heartbeat_unlink()
83 hrtimer_init(&stm_heartbeat[i].hrtimer, CLOCK_MONOTONIC, in stm_heartbeat_init()
85 stm_heartbeat[i].hrtimer.function = in stm_heartbeat_init()
/drivers/watchdog/
Dsoftdog.c64 static struct hrtimer softdog_ticktock;
65 static struct hrtimer softdog_preticktock;
78 static enum hrtimer_restart softdog_fire(struct hrtimer *timer) in softdog_fire()
126 static enum hrtimer_restart softdog_pretimeout(struct hrtimer *timer) in softdog_pretimeout()
/drivers/power/reset/
Dltc2952-poweroff.c60 struct hrtimer timer_trigger;
61 struct hrtimer timer_wde;
93 static enum hrtimer_restart ltc2952_poweroff_timer_wde(struct hrtimer *timer) in ltc2952_poweroff_timer_wde()
117 ltc2952_poweroff_timer_trigger(struct hrtimer *timer) in ltc2952_poweroff_timer_trigger()
/drivers/infiniband/sw/rdmavt/
Dtrace_qp.h95 __field(void *, hrtimer)
102 __entry->hrtimer = &qp->s_rnr_timer;
110 __entry->hrtimer,
/drivers/net/ethernet/
Dec_bhf.c129 struct hrtimer hrtimer; member
237 static enum hrtimer_restart ec_bhf_timer_fun(struct hrtimer *timer) in ec_bhf_timer_fun()
240 hrtimer); in ec_bhf_timer_fun()
419 hrtimer_init(&priv->hrtimer, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in ec_bhf_open()
420 priv->hrtimer.function = ec_bhf_timer_fun; in ec_bhf_open()
421 hrtimer_start(&priv->hrtimer, polling_frequency, HRTIMER_MODE_REL); in ec_bhf_open()
437 hrtimer_cancel(&priv->hrtimer); in ec_bhf_stop()
/drivers/perf/
Dthunderx2_pmu.c107 struct hrtimer hrtimer; member
110 enum hrtimer_restart (*hrtimer_callback)(struct hrtimer *cb);
628 hrtimer_start(&tx2_pmu->hrtimer, in tx2_uncore_event_start()
695 hrtimer_cancel(&tx2_pmu->hrtimer); in tx2_uncore_event_del()
703 static enum hrtimer_restart tx2_hrtimer_callback(struct hrtimer *timer) in tx2_hrtimer_callback()
708 tx2_pmu = container_of(timer, struct tx2_uncore_pmu, hrtimer); in tx2_hrtimer_callback()
759 hrtimer_init(&tx2_pmu->hrtimer, in tx2_uncore_pmu_add_dev()
761 tx2_pmu->hrtimer.function = tx2_pmu->hrtimer_callback; in tx2_uncore_pmu_add_dev()
950 hrtimer_cancel(&tx2_pmu->hrtimer); in tx2_uncore_pmu_offline_cpu()
Darm-ccn.c161 struct hrtimer hrtimer; member
1114 hrtimer_start(&ccn->dt.hrtimer, arm_ccn_pmu_timer_period(), in arm_ccn_pmu_event_add()
1136 hrtimer_cancel(&ccn->dt.hrtimer); in arm_ccn_pmu_event_del()
1190 static enum hrtimer_restart arm_ccn_pmu_timer_handler(struct hrtimer *hrtimer) in arm_ccn_pmu_timer_handler() argument
1192 struct arm_ccn_dt *dt = container_of(hrtimer, struct arm_ccn_dt, in arm_ccn_pmu_timer_handler()
1193 hrtimer); in arm_ccn_pmu_timer_handler()
1200 hrtimer_forward_now(hrtimer, arm_ccn_pmu_timer_period()); in arm_ccn_pmu_timer_handler()
1289 hrtimer_init(&ccn->dt.hrtimer, CLOCK_MONOTONIC, in arm_ccn_pmu_init()
1291 ccn->dt.hrtimer.function = arm_ccn_pmu_timer_handler; in arm_ccn_pmu_init()
/drivers/block/null_blk/
Dnull_blk.h22 struct hrtimer timer;
88 struct hrtimer bw_timer;
/drivers/mailbox/
Dmailbox.c117 static enum hrtimer_restart txdone_hrtimer(struct hrtimer *hrtimer) in txdone_hrtimer() argument
120 container_of(hrtimer, struct mbox_controller, poll_hrt); in txdone_hrtimer()
136 hrtimer_forward_now(hrtimer, ms_to_ktime(mbox->txpoll_period)); in txdone_hrtimer()
/drivers/usb/host/
Dehci-timer.c88 hrtimer_start_range_ns(&ehci->hrtimer, *timeout, in ehci_enable_event()
398 static enum hrtimer_restart ehci_hrtimer_func(struct hrtimer *t) in ehci_hrtimer_func()
400 struct ehci_hcd *ehci = container_of(t, struct ehci_hcd, hrtimer); in ehci_hrtimer_func()
Dfotg210.h81 struct hrtimer hrtimer; member
Dehci-hcd.c376 hrtimer_cancel(&ehci->hrtimer); in ehci_shutdown()
435 hrtimer_cancel(&ehci->hrtimer); in ehci_stop()
468 hrtimer_init(&ehci->hrtimer, CLOCK_MONOTONIC, HRTIMER_MODE_ABS); in ehci_init()
469 ehci->hrtimer.function = ehci_hrtimer_func; in ehci_init()
/drivers/char/hw_random/
Dtimeriomem-rng.c38 struct hrtimer timer;
92 static enum hrtimer_restart timeriomem_rng_trigger(struct hrtimer *timer) in timeriomem_rng_trigger()
/drivers/iio/trigger/
Diio-trig-hrtimer.c24 struct hrtimer timer;
85 static enum hrtimer_restart iio_hrtimer_trig_handler(struct hrtimer *timer) in iio_hrtimer_trig_handler()
DMakefile8 obj-$(CONFIG_IIO_HRTIMER_TRIGGER) += iio-trig-hrtimer.o
/drivers/powercap/
Didle_inject.c69 struct hrtimer timer;
108 static enum hrtimer_restart idle_inject_timer_fn(struct hrtimer *timer) in idle_inject_timer_fn()
/drivers/pps/generators/
Dpps_gen_parport.c43 struct hrtimer timer;
57 static enum hrtimer_restart hrtimer_event(struct hrtimer *timer) in hrtimer_event()
/drivers/media/rc/
Dir-rx51.c22 struct hrtimer timer;
55 static enum hrtimer_restart ir_rx51_timer_cb(struct hrtimer *timer) in ir_rx51_timer_cb()
/drivers/gpu/drm/i915/
Di915_pmu.h63 struct hrtimer timer;
Di915_perf_types.h220 struct hrtimer poll_check_timer;
/drivers/input/joystick/
Dwalkera0701.c54 struct hrtimer timer;
167 static enum hrtimer_restart timer_handler(struct hrtimer in timer_handler()
/drivers/ntb/test/
Dntb_pingpong.c101 struct hrtimer timer;
214 static enum hrtimer_restart pp_timer_func(struct hrtimer *t) in pp_timer_func()
/drivers/gpu/drm/vkms/
Dvkms_drv.h70 struct hrtimer vblank_hrtimer;
/drivers/gpu/drm/msm/
Dmsm_kms.h138 struct hrtimer timer;

1234