Lines Matching defs:timer
25 * After all of them have been woken up, a timer is set to start the next idle
28 * The timer interrupt handler will wake up the idle injection kthreads for
62 * @timer: idle injection period timer
69 struct hrtimer timer;
99 * idle_inject_timer_fn - idle injection timer function
100 * @timer: idle injection hrtimer
102 * This function is called when the idle injection timer expires. It wakes up
103 * idle injection tasks associated with the timer and they, in turn, invoke
108 static enum hrtimer_restart idle_inject_timer_fn(struct hrtimer *timer)
112 container_of(timer, struct idle_inject_device, timer);
119 hrtimer_forward_now(timer, ns_to_ktime(duration_us * NSEC_PER_USEC));
192 * sets up a timer to start the next idle injection period.
209 hrtimer_start(&ii_dev->timer,
226 * kthreads are scheduled out and the periodic timer is off.
236 hrtimer_cancel(&ii_dev->timer);
294 * given set of CPUs and initializes the timer associated with it. It does not
310 hrtimer_init(&ii_dev->timer, CLOCK_MONOTONIC, HRTIMER_MODE_REL);
311 ii_dev->timer.function = idle_inject_timer_fn;