Lines Matching defs:hrtimer
9 #include <linux/hrtimer.h>
101 struct hrtimer hrtimer;
336 * hrtimer is required because mmdc does not provide an interrupt so
339 hrtimer_start(&pmu_mmdc->hrtimer, mmdc_pmu_timer_period(),
407 hrtimer_cancel(&pmu_mmdc->hrtimer);
424 static enum hrtimer_restart mmdc_pmu_timer_handler(struct hrtimer *hrtimer)
426 struct mmdc_pmu *pmu_mmdc = container_of(hrtimer, struct mmdc_pmu,
427 hrtimer);
430 hrtimer_forward_now(hrtimer, mmdc_pmu_timer_period());
511 hrtimer_init(&pmu_mmdc->hrtimer, CLOCK_MONOTONIC,
513 pmu_mmdc->hrtimer.function = mmdc_pmu_timer_handler;
530 hrtimer_cancel(&pmu_mmdc->hrtimer);