Lines Matching refs:timer
1103 struct hrtimer *timer = &cpc->hrtimer; in __perf_mux_hrtimer_init() local
1118 hrtimer_init(timer, CLOCK_MONOTONIC, HRTIMER_MODE_ABS_PINNED_HARD); in __perf_mux_hrtimer_init()
1119 timer->function = perf_mux_hrtimer_handler; in __perf_mux_hrtimer_init()
1124 struct hrtimer *timer = &cpc->hrtimer; in perf_mux_hrtimer_restart() local
1130 hrtimer_forward_now(timer, cpc->hrtimer_interval); in perf_mux_hrtimer_restart()
1131 hrtimer_start_expires(timer, HRTIMER_MODE_ABS_PINNED_HARD); in perf_mux_hrtimer_restart()
11426 int timer, cpu, ret; in perf_event_mux_interval_ms_store() local
11428 ret = kstrtoint(buf, 0, &timer); in perf_event_mux_interval_ms_store()
11432 if (timer < 1) in perf_event_mux_interval_ms_store()
11436 if (timer == pmu->hrtimer_interval_ms) in perf_event_mux_interval_ms_store()
11440 pmu->hrtimer_interval_ms = timer; in perf_event_mux_interval_ms_store()
11447 cpc->hrtimer_interval = ns_to_ktime(NSEC_PER_MSEC * timer); in perf_event_mux_interval_ms_store()