Lines Matching defs:tmr
55 static void settime(int tfd, struct tst_its *tmr, int tflags,
60 tst_its_set_value_from_us(tmr, tvalue);
61 tst_its_set_interval_from_us(tmr, tinterval);
63 if (tv->tfd_settime(tfd, tflags, tst_its_get(tmr), NULL))
99 struct tst_its tmr = {.type = tv->ts_type, };
107 settime(tfd, &tmr, 0, 100 * 1000, 0);
112 settime(tfd, &tmr, TFD_TIMER_ABSTIME, tnow + 100 * 1000, 0);
117 settime(tfd, &tmr, TFD_TIMER_ABSTIME, tnow + 50 * 1000, 50 * 1000);
119 memset(&tmr, 0, sizeof(tmr));
120 tmr.type = tv->ts_type;
122 if (tv->tfd_gettime(tfd, tst_its_get(&tmr)))
125 if (tst_its_get_value_sec(tmr) != 0 || tst_its_get_value_nsec(tmr) > 50 * 1000000)
135 settime(tfd, &tmr, 0, 100 * 1000, 0);