Lines Matching refs:loop
87 #define ANALOG_LOOP_TIME 2000 /* 2 * loop */
93 #define ANALOG_FUZZ_MAGIC 36 /* 36 u*ms/loop */
125 int loop;
233 unsigned int time[4], start, loop, now, loopout, timeout;
238 loopout = (ANALOG_LOOP_TIME * port->loop) / 1000;
251 loop = now;
259 if ((last ^ this) && (DELTA(loop, now) < loopout)) {
273 port->axes[j] = (DELTA(start, time[i]) << ANALOG_FUZZ_BITS) / port->loop;
365 * analog_calibrate_timer() calibrates the timer and computes loop
400 port->loop = tx / 50;
601 port->fuzz = (port->speed * ANALOG_FUZZ_MAGIC) / port->loop / 1000 + ANALOG_FUZZ_BITS;