Searched refs:DELTA (Results 1 – 2 of 2) sorted by relevance
/drivers/input/joystick/ |
D | analog.c | 142 #define DELTA(x,y) (cpu_has_tsc ? ((y) - (x)) : ((x) - (y) + ((x) < (y) ? PIT_TICK_RATE / HZ : 0))) macro 159 #define DELTA(x,y) ((y)-(x)) macro 163 #define DELTA(x,y) ((y)-(x)) macro 169 #define DELTA(x,y) ((y)-(x)) macro 255 if ((last ^ this) && (DELTA(loop, now) < loopout)) { in analog_cooked_read() 261 } while (this && (i < 4) && (DELTA(start, now) < timeout)); in analog_cooked_read() 269 port->axes[j] = (DELTA(start, time[i]) << ANALOG_FUZZ_BITS) / port->loop; in analog_cooked_read() 381 port->speed = DELTA(t1, t2) - DELTA(t2, t3); in analog_calibrate_timer() 392 t = DELTA(t1, t2) - DELTA(t2, t3); in analog_calibrate_timer()
|
/drivers/input/gameport/ |
D | gameport.c | 52 #define DELTA(x,y) ((y)-(x)+((y)<(x)?1193182/HZ:0)) macro 97 if ((t = DELTA(t2,t1) - DELTA(t3,t2)) < tx) tx = t; in gameport_measure_speed()
|