Lines Matching defs:loop
70 #define ANALOG_LOOP_TIME 2000 /* 2 * loop */
76 #define ANALOG_FUZZ_MAGIC 36 /* 36 u*ms/loop */
107 int loop;
170 ktime_t time[4], start, loop, now;
176 loopout = (ANALOG_LOOP_TIME * port->loop) / 1000;
189 loop = now;
197 if ((last ^ this) && (ktime_sub(now, loop) < loopout)) {
211 port->axes[j] = ((u32)ktime_sub(time[i], start) << ANALOG_FUZZ_BITS) / port->loop;
303 * analog_calibrate_timer() calibrates the timer and computes loop
330 port->loop = tx / 50;
532 port->fuzz = (NSEC_PER_MSEC * ANALOG_FUZZ_MAGIC) / port->loop / 1000 + ANALOG_FUZZ_BITS;