Lines Matching refs:t
220 int t = 1, i = 0; in analog_button_read() local
232 while ((~u & 0xf0) && (i < 16) && t) { in analog_button_read()
236 t = strobe; in analog_button_read()
238 while (((u = gameport_read(port->gameport)) & port->mask) && t) t--; in analog_button_read()
242 return -(!t || (i == 16)); in analog_button_read()
310 unsigned int i, t, tx; in analog_calibrate_timer() local
319 for (t = 0; t < 50; t++) { in analog_calibrate_timer()
326 t = ktime_sub(t2, t1) - ktime_sub(t3, t2); in analog_calibrate_timer()
327 if (t < tx) tx = t; in analog_calibrate_timer()
366 int i, j, t, v, w, x, y, z; in analog_init_device() local
396 t = analog_axes[j]; in analog_init_device()
413 input_set_abs_params(input_dev, t, v, (x << 1) - v, port->fuzz, w); in analog_init_device()
420 t = analog_hats[j++]; in analog_init_device()
421 input_set_abs_params(input_dev, t, -1, 1, 0, 0); in analog_init_device()
518 int i, t, u, v; in analog_init_port() local
529 t = gameport_read(gameport); in analog_init_port()
531 port->mask = (gameport_read(gameport) ^ t) & t & 0xf; in analog_init_port()
543 t = gameport_time(gameport, ANALOG_MAX_TIME * 1000); in analog_init_port()
545 while ((gameport_read(port->gameport) & port->mask) && (u < t)) in analog_init_port()
548 t = gameport_time(gameport, ANALOG_SAITEK_TIME); in analog_init_port()
550 while ((gameport_read(port->gameport) & port->mask) && (v < t)) in analog_init_port()