Searched refs:bitout (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/input/joystick/ |
H A D | sidewinder.c | 122 int timeout, bitout, sched, i, kick, start, strobe; in sw_read_packet() local 130 bitout = start; in sw_read_packet() 140 bitout--; in sw_read_packet() 143 } while (!(~v & u & 0x10) && (bitout > 0)); /* Wait for first falling edge on clock */ in sw_read_packet() 145 if (bitout > 0) in sw_read_packet() 146 bitout = strobe; /* Extend time if not timed out */ in sw_read_packet() 148 while ((timeout > 0 || bitout > 0) && (i < length)) { in sw_read_packet() 151 bitout--; /* Decrement timers */ in sw_read_packet() 157 if ((~u & v & 0x10) && (bitout > 0)) { /* Rising edge on clock - data bit */ in sw_read_packet() 161 bitout in sw_read_packet() [all...] |
/kernel/linux/linux-6.6/drivers/input/joystick/ |
H A D | sidewinder.c | 119 int timeout, bitout, sched, i, kick, start, strobe; in sw_read_packet() local 127 bitout = start; in sw_read_packet() 137 bitout--; in sw_read_packet() 140 } while (!(~v & u & 0x10) && (bitout > 0)); /* Wait for first falling edge on clock */ in sw_read_packet() 142 if (bitout > 0) in sw_read_packet() 143 bitout = strobe; /* Extend time if not timed out */ in sw_read_packet() 145 while ((timeout > 0 || bitout > 0) && (i < length)) { in sw_read_packet() 148 bitout--; /* Decrement timers */ in sw_read_packet() 154 if ((~u & v & 0x10) && (bitout > 0)) { /* Rising edge on clock - data bit */ in sw_read_packet() 158 bitout in sw_read_packet() [all...] |
Completed in 4 milliseconds