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

/linux-4.4.14/drivers/input/joystick/
H A Dgrip.c47 #define GRIP_LENGTH_GPP 24 macro
108 } while (i < GRIP_LENGTH_GPP && t > 0); grip_gpp_read_packet()
112 if (i < GRIP_LENGTH_GPP) return -1; grip_gpp_read_packet()
114 for (i = 0; i < GRIP_LENGTH_GPP && (data[0] & 0xfe4210) ^ 0x7c0000; i++) grip_gpp_read_packet()
115 data[0] = data[0] >> 1 | (data[0] & 1) << (GRIP_LENGTH_GPP - 1); grip_gpp_read_packet()
117 return -(i == GRIP_LENGTH_GPP); grip_gpp_read_packet()

Completed in 50 milliseconds