Home
last modified time | relevance | path

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

123

/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.c34 struct hrtimer hrtimer; member
40 static enum hrtimer_restart stm_heartbeat_hrtimer_handler(struct hrtimer *hr) in stm_heartbeat_hrtimer_handler()
43 hrtimer); in stm_heartbeat_hrtimer_handler()
58 hrtimer_start(&heartbeat->hrtimer, ms_to_ktime(interval_ms), in stm_heartbeat_link()
70 hrtimer_cancel(&heartbeat->hrtimer); in stm_heartbeat_unlink()
89 hrtimer_init(&stm_heartbeat[i].hrtimer, CLOCK_MONOTONIC, in stm_heartbeat_init()
91 stm_heartbeat[i].hrtimer.function = in stm_heartbeat_init()
/drivers/watchdog/
Dsoftdog.c56 static struct hrtimer softdog_ticktock;
57 static struct hrtimer softdog_preticktock;
59 static enum hrtimer_restart softdog_fire(struct hrtimer *timer) in softdog_fire()
78 static enum hrtimer_restart softdog_pretimeout(struct hrtimer *timer) in softdog_pretimeout()
/drivers/power/reset/
Dltc2952-poweroff.c69 struct hrtimer timer_trigger;
70 struct hrtimer timer_wde;
102 static enum hrtimer_restart ltc2952_poweroff_timer_wde(struct hrtimer *timer) in ltc2952_poweroff_timer_wde()
127 ltc2952_poweroff_timer_trigger(struct hrtimer *timer) in ltc2952_poweroff_timer_trigger()
/drivers/net/ethernet/
Dec_bhf.c138 struct hrtimer hrtimer; member
246 static enum hrtimer_restart ec_bhf_timer_fun(struct hrtimer *timer) in ec_bhf_timer_fun()
249 hrtimer); in ec_bhf_timer_fun()
428 hrtimer_init(&priv->hrtimer, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in ec_bhf_open()
429 priv->hrtimer.function = ec_bhf_timer_fun; in ec_bhf_open()
430 hrtimer_start(&priv->hrtimer, polling_frequency, HRTIMER_MODE_REL); in ec_bhf_open()
446 hrtimer_cancel(&priv->hrtimer); in ec_bhf_stop()
/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()
137 hrtimer_forward_now(hrtimer, ms_to_ktime(mbox->txpoll_period)); in txdone_hrtimer()
/drivers/usb/host/
Dehci-timer.c97 hrtimer_start_range_ns(&ehci->hrtimer, *timeout, in ehci_enable_event()
407 static enum hrtimer_restart ehci_hrtimer_func(struct hrtimer *t) in ehci_hrtimer_func()
409 struct ehci_hcd *ehci = container_of(t, struct ehci_hcd, hrtimer); in ehci_hrtimer_func()
Dfotg210.h81 struct hrtimer hrtimer; member
Dehci-hcd.c388 hrtimer_cancel(&ehci->hrtimer); in ehci_shutdown()
447 hrtimer_cancel(&ehci->hrtimer); in ehci_stop()
480 hrtimer_init(&ehci->hrtimer, CLOCK_MONOTONIC, HRTIMER_MODE_ABS); in ehci_init()
481 ehci->hrtimer.function = ehci_hrtimer_func; in ehci_init()
Dehci.h129 struct hrtimer hrtimer; member
/drivers/char/hw_random/
Dtimeriomem-rng.c41 struct hrtimer timer;
102 static enum hrtimer_restart timeriomem_rng_trigger(struct hrtimer *timer) in timeriomem_rng_trigger()
/drivers/iio/trigger/
Diio-trig-hrtimer.c28 struct hrtimer timer;
89 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/bus/
Darm-ccn.c167 struct hrtimer hrtimer; member
1123 hrtimer_start(&ccn->dt.hrtimer, arm_ccn_pmu_timer_period(), in arm_ccn_pmu_event_add()
1145 hrtimer_cancel(&ccn->dt.hrtimer); in arm_ccn_pmu_event_del()
1199 static enum hrtimer_restart arm_ccn_pmu_timer_handler(struct hrtimer *hrtimer) in arm_ccn_pmu_timer_handler() argument
1201 struct arm_ccn_dt *dt = container_of(hrtimer, struct arm_ccn_dt, in arm_ccn_pmu_timer_handler()
1202 hrtimer); in arm_ccn_pmu_timer_handler()
1209 hrtimer_forward_now(hrtimer, arm_ccn_pmu_timer_period()); in arm_ccn_pmu_timer_handler()
1299 hrtimer_init(&ccn->dt.hrtimer, CLOCK_MONOTONIC, in arm_ccn_pmu_init()
1301 ccn->dt.hrtimer.function = arm_ccn_pmu_timer_handler; in arm_ccn_pmu_init()
/drivers/pps/generators/
Dpps_gen_parport.c57 struct hrtimer timer;
71 static enum hrtimer_restart hrtimer_event(struct hrtimer *timer) in hrtimer_event()
/drivers/media/rc/
Dir-rx51.c32 struct hrtimer timer;
66 static enum hrtimer_restart ir_rx51_timer_cb(struct hrtimer *timer) in ir_rx51_timer_cb()
/drivers/input/joystick/
Dwalkera0701.c58 struct hrtimer timer;
171 static enum hrtimer_restart timer_handler(struct hrtimer in timer_handler()
/drivers/gpu/drm/i915/gvt/
Dsched_policy.c65 struct hrtimer timer;
245 static enum hrtimer_restart tbs_timer_fn(struct hrtimer *timer_data) in tbs_timer_fn()
Dinterrupt.h199 struct hrtimer timer;
/drivers/net/ethernet/hisilicon/
Dhip04_eth.c171 struct hrtimer tx_coalesce_timer;
609 static enum hrtimer_restart tx_done(struct hrtimer *hrtimer) in tx_done() argument
613 priv = container_of(hrtimer, struct hip04_priv, tx_coalesce_timer); in tx_done()
/drivers/input/misc/
Dgpio_input.c44 struct hrtimer timer;
52 static enum hrtimer_restart gpio_event_input_timer_func(struct hrtimer *timer) in gpio_event_input_timer_func()
Dgpio_matrix.c26 struct hrtimer timer;
140 static enum hrtimer_restart gpio_keypad_timer_func(struct hrtimer *timer) in gpio_keypad_timer_func()
/drivers/gpu/drm/i915/
Dintel_uncore.h100 struct hrtimer timer;
/drivers/media/pci/cx88/
Dcx88-input.c49 struct hrtimer timer;
177 static enum hrtimer_restart cx88_ir_work(struct hrtimer *timer) in cx88_ir_work()
/drivers/scsi/ibmvscsi_tgt/
Dibmvscsi_tgt.h118 struct hrtimer timer;

123