Searched refs:hrtimer (Results 51 - 75 of 289) sorted by relevance

1234567891011>>

/linux-master/drivers/power/reset/
H A Dltc2952-poweroff.c62 struct hrtimer timer_trigger;
63 struct hrtimer timer_wde;
95 static enum hrtimer_restart ltc2952_poweroff_timer_wde(struct hrtimer *timer)
117 ltc2952_poweroff_timer_trigger(struct hrtimer *timer)
/linux-master/drivers/media/platform/chips-media/wave5/
H A Dwave5-vpu.c104 static enum hrtimer_restart wave5_vpu_timer_callback(struct hrtimer *timer)
107 container_of(timer, struct vpu_device, hrtimer);
219 hrtimer_init(&dev->hrtimer, CLOCK_MONOTONIC, HRTIMER_MODE_REL_PINNED);
220 dev->hrtimer.function = &wave5_vpu_timer_callback;
295 hrtimer_cancel(&dev->hrtimer);
/linux-master/drivers/net/ethernet/qualcomm/rmnet/
H A Drmnet_map_data.c571 static enum hrtimer_restart rmnet_map_flush_tx_packet_queue(struct hrtimer *t)
575 port = container_of(t, struct rmnet_port, hrtimer);
630 hrtimer_cancel(&port->hrtimer);
653 hrtimer_cancel(&port->hrtimer);
659 if (!hrtimer_active(&port->hrtimer) && port->agg_state != -EINPROGRESS) {
661 hrtimer_start(&port->hrtimer,
689 hrtimer_init(&port->hrtimer, CLOCK_MONOTONIC, HRTIMER_MODE_REL);
690 port->hrtimer.function = rmnet_map_flush_tx_packet_queue;
698 hrtimer_cancel(&port->hrtimer);
/linux-master/drivers/net/ethernet/
H A Dec_bhf.c22 #include <linux/hrtimer.h>
129 struct hrtimer hrtimer; member in struct:ec_bhf_priv
237 static enum hrtimer_restart ec_bhf_timer_fun(struct hrtimer *timer)
240 hrtimer);
419 hrtimer_init(&priv->hrtimer, CLOCK_MONOTONIC, HRTIMER_MODE_REL);
420 priv->hrtimer.function = ec_bhf_timer_fun;
421 hrtimer_start(&priv->hrtimer, polling_frequency, HRTIMER_MODE_REL);
437 hrtimer_cancel(&priv->hrtimer);
/linux-master/drivers/gpu/drm/vkms/
H A Dvkms_drv.h6 #include <linux/hrtimer.h>
104 struct hrtimer vblank_hrtimer;
/linux-master/drivers/gpu/drm/i915/
H A Di915_perf_types.h11 #include <linux/hrtimer.h>
260 struct hrtimer poll_check_timer;
263 * @poll_wq: The wait queue that hrtimer callback wakes when it
297 * consistently from a hrtimer callback (atomic context) and
305 * hrtimer callbacks (5ms period) and that reads typically only
306 * happen in response to a hrtimer event and likely complete
/linux-master/include/linux/
H A Dtimer.h206 struct hrtimer;
207 extern enum hrtimer_restart it_real_fn(struct hrtimer *);
/linux-master/drivers/net/ethernet/ti/
H A Dam65-cpsw-nuss.h87 struct hrtimer tx_hrtimer;
156 struct hrtimer rx_hrtimer;
/linux-master/arch/x86/kvm/
H A Dirq.h14 #include <linux/hrtimer.h>
/linux-master/kernel/time/
H A Dtick-oneshot.c12 #include <linux/hrtimer.h>
H A Dtimer_list.c46 print_timer(struct seq_file *m, struct hrtimer *taddr, struct hrtimer *timer,
63 struct hrtimer *timer, tmp;
87 timer = container_of(curr, struct hrtimer, node);
H A Dsched_clock.c16 #include <linux/hrtimer.h>
47 static struct hrtimer sched_clock_timer;
155 static enum hrtimer_restart sched_clock_poll(struct hrtimer *hrt)
/linux-master/drivers/cpuidle/governors/
H A Dhaltpoll.c17 #include <linux/hrtimer.h>
/linux-master/net/can/j1939/
H A Dbus.c127 static enum hrtimer_restart j1939_ecu_timer_handler(struct hrtimer *hrtimer) argument
130 container_of(hrtimer, struct j1939_ecu, ac_timer);
/linux-master/drivers/pps/generators/
H A Dpps_gen_parport.c20 #include <linux/hrtimer.h>
36 #define SAFETY_INTERVAL 3000 /* set the hrtimer earlier for safety (ns) */
41 struct hrtimer timer;
51 /* calibrated time between a hrtimer event and the reaction */
54 /* the kernel hrtimer event */
55 static enum hrtimer_restart hrtimer_event(struct hrtimer *timer)
116 /* update calibrated hrtimer error */
129 /* update the hrtimer expire time */
/linux-master/drivers/powercap/
H A Didle_inject.c41 #include <linux/hrtimer.h>
84 struct hrtimer timer;
116 * @timer: idle injection hrtimer
124 static enum hrtimer_restart idle_inject_timer_fn(struct hrtimer *timer)
/linux-master/drivers/media/rc/
H A Dpwm-ir-tx.c13 #include <linux/hrtimer.h>
22 struct hrtimer timer;
117 static enum hrtimer_restart pwm_ir_timer(struct hrtimer *timer)
/linux-master/net/mac802154/
H A Dieee802154_i.h16 #include <linux/hrtimer.h>
57 struct hrtimer ifs_timer;
207 enum hrtimer_restart ieee802154_xmit_ifs_timer(struct hrtimer *timer);
/linux-master/arch/loongarch/include/asm/
H A Dkvm_host.h10 #include <linux/hrtimer.h>
177 struct hrtimer swtimer;
270 enum hrtimer_restart kvm_swtimer_wakeup(struct hrtimer *timer);
/linux-master/arch/arm/mm/
H A Dcache-l2x0-pmu.c8 #include <linux/hrtimer.h>
27 static struct hrtimer l2x0_pmu_hrtimer;
151 static enum hrtimer_restart l2x0_pmu_poll(struct hrtimer *hrtimer) argument
172 hrtimer_forward_now(hrtimer, l2x0_pmu_poll_period);
533 * We always use a hrtimer rather than an interrupt.
/linux-master/drivers/mailbox/
H A Dmailbox.c118 static enum hrtimer_restart txdone_hrtimer(struct hrtimer *hrtimer) argument
121 container_of(hrtimer, struct mbox_controller, poll_hrt);
140 if (!hrtimer_is_queued(hrtimer))
141 hrtimer_forward_now(hrtimer, ms_to_ktime(mbox->txpoll_period));
/linux-master/drivers/perf/
H A Dthunderx2_pmu.c107 struct hrtimer hrtimer; member in struct:tx2_uncore_pmu
110 enum hrtimer_restart (*hrtimer_callback)(struct hrtimer *cb);
616 /* No hrtimer needed for CCPI2, 64-bit counters */
623 hrtimer_start(&tx2_pmu->hrtimer,
690 hrtimer_cancel(&tx2_pmu->hrtimer);
698 static enum hrtimer_restart tx2_hrtimer_callback(struct hrtimer *timer)
703 tx2_pmu = container_of(timer, struct tx2_uncore_pmu, hrtimer);
755 hrtimer_init(&tx2_pmu->hrtimer,
757 tx2_pmu->hrtimer
[all...]
/linux-master/arch/arm64/kvm/
H A Darch_timer.c213 static void soft_timer_start(struct hrtimer *hrt, u64 ns)
219 static void soft_timer_cancel(struct hrtimer *hrt)
330 static enum hrtimer_restart kvm_bg_timer_expire(struct hrtimer *hrt)
354 static enum hrtimer_restart kvm_hrtimer_expire(struct hrtimer *hrt)
360 ctx = container_of(hrt, struct arch_timer_context, hrtimer);
483 soft_timer_start(&ctx->hrtimer, kvm_timer_compute_delta(ctx));
897 * In any case, we re-schedule the hrtimer for the physical timer when
901 soft_timer_cancel(&map.emul_vtimer->hrtimer);
903 soft_timer_cancel(&map.emul_ptimer->hrtimer);
979 soft_timer_cancel(&map.emul_vtimer->hrtimer);
[all...]
/linux-master/drivers/usb/host/
H A Dehci-timer.c35 * Lots of different events are triggered from ehci->hrtimer. Whenever
44 * ehci->next_hrtimer_event. Whenever ehci->hrtimer gets restarted, its
56 * Delay lengths for the hrtimer event types.
75 /* Enable a pending hrtimer event */
88 hrtimer_start_range_ns(&ehci->hrtimer, *timeout,
379 * Handler functions for the hrtimer event types.
398 static enum hrtimer_restart ehci_hrtimer_func(struct hrtimer *t)
400 struct ehci_hcd *ehci = container_of(t, struct ehci_hcd, hrtimer);
/linux-master/drivers/ntb/test/
H A Dntb_pingpong.c78 #include <linux/hrtimer.h>
101 struct hrtimer timer;
214 static enum hrtimer_restart pp_timer_func(struct hrtimer *t)

Completed in 431 milliseconds

1234567891011>>