Searched refs:bitout (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/input/joystick/
H A Dsidewinder.c138 int timeout, bitout, sched, i, kick, start, strobe; sw_read_packet() local
146 bitout = start; sw_read_packet()
156 bitout--; sw_read_packet()
159 } while (!(~v & u & 0x10) && (bitout > 0)); /* Wait for first falling edge on clock */ sw_read_packet()
161 if (bitout > 0) sw_read_packet()
162 bitout = strobe; /* Extend time if not timed out */ sw_read_packet()
164 while ((timeout > 0 || bitout > 0) && (i < length)) { sw_read_packet()
167 bitout--; /* Decrement timers */ sw_read_packet()
173 if ((~u & v & 0x10) && (bitout > 0)) { /* Rising edge on clock - data bit */ sw_read_packet()
177 bitout = strobe; /* Extend timeout for next bit */ sw_read_packet()
188 bitout = start; /* Long bit timeout */ sw_read_packet()

Completed in 65 milliseconds