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
84 struct hrtimer timer;
115 * idle_inject_timer_fn - idle injection timer function
116 * @timer: idle injection hrtimer
118 * This function is called when the idle injection timer expires. It wakes up
119 * idle injection tasks associated with the timer and they, in turn, invoke
124 static enum hrtimer_restart idle_inject_timer_fn(struct hrtimer *timer)
128 container_of(timer, struct idle_inject_device, timer);
136 hrtimer_forward_now(timer, ns_to_ktime(duration_us * NSEC_PER_USEC));
217 * sets up a timer to start the next idle injection period.
234 hrtimer_start(&ii_dev->timer,
252 * kthreads are scheduled out and the periodic timer is off.
262 hrtimer_cancel(&ii_dev->timer);
323 * given set of CPUs and initializes the timer associated with it. This
342 hrtimer_init(&ii_dev->timer, CLOCK_MONOTONIC, HRTIMER_MODE_REL);
343 ii_dev->timer.function = idle_inject_timer_fn;
377 * given set of CPUs and initializes the timer associated with it. It does not