Lines Matching refs:t
79 unsigned int i, t, tx; in gameport_measure_speed() local
91 for (t = 0; t < 50; t++) in gameport_measure_speed()
97 t = (t2 - t1) - (t3 - t2); in gameport_measure_speed()
98 if (t < tx) in gameport_measure_speed()
99 tx = t; in gameport_measure_speed()
103 t = 1000000 * 50; in gameport_measure_speed()
105 t /= tx; in gameport_measure_speed()
106 return t; in gameport_measure_speed()
113 unsigned int i, t, t1, t2, t3, tx; in old_gameport_measure_speed() local
124 for (t = 0; t < 50; t++) gameport_read(gameport); in old_gameport_measure_speed()
129 if ((t = DELTA(t2,t1) - DELTA(t3,t2)) < tx) tx = t; in old_gameport_measure_speed()
137 unsigned int i, t; in old_gameport_measure_speed()
148 for (t = 0; t < 50; t++) gameport_read(gameport); in old_gameport_measure_speed()
161 unsigned int j, t = 0; in old_gameport_measure_speed()
167 j = jiffies; while (j == jiffies) { t++; gameport_read(gameport); } in old_gameport_measure_speed()
170 return t * HZ / 1000; in old_gameport_measure_speed()
200 static void gameport_run_poll_handler(struct timer_list *t) in gameport_run_poll_handler() argument
202 struct gameport *gameport = from_timer(gameport, t, poll_timer); in gameport_run_poll_handler()