Lines Matching defs:timer
839 * Main timer function
842 static enum hrtimer_restart cec_pin_timer(struct hrtimer *timer)
844 struct cec_pin *pin = container_of(timer, struct cec_pin, timer);
855 /* Keep track of timer overruns */
875 hrtimer_forward_now(timer, ns_to_ktime(100000));
881 hrtimer_forward_now(timer,
886 hrtimer_forward_now(timer,
1022 hrtimer_forward_now(timer,
1028 hrtimer_forward_now(timer, ns_to_ktime(100000));
1101 hrtimer_start(&pin->timer, ns_to_ktime(0),
1111 hrtimer_start(&pin->timer, ns_to_ktime(0),
1152 hrtimer_start(&pin->timer, ns_to_ktime(0),
1155 hrtimer_cancel(&pin->timer);
1232 seq_printf(file, "timer overruns > 100us: %u of %u\n",
1234 seq_printf(file, "timer overruns > 300us: %u of %u\n",
1236 seq_printf(file, "max timer overrun: %u usecs\n",
1238 seq_printf(file, "avg timer overrun: %u usecs\n",
1348 hrtimer_init(&pin->timer, CLOCK_MONOTONIC, HRTIMER_MODE_REL);
1350 pin->timer.function = cec_pin_timer;