Home
last modified time | relevance | path

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

/linux/drivers/input/joystick/
H A Dgrip.c28 #define GRIP_LENGTH_GPP 24 macro
89 } while (i < GRIP_LENGTH_GPP && t > 0); in grip_gpp_read_packet()
93 if (i < GRIP_LENGTH_GPP) return -1; in grip_gpp_read_packet()
95 for (i = 0; i < GRIP_LENGTH_GPP && (data[0] & 0xfe4210) ^ 0x7c0000; i++) in grip_gpp_read_packet()
96 data[0] = data[0] >> 1 | (data[0] & 1) << (GRIP_LENGTH_GPP - 1); in grip_gpp_read_packet()
98 return -(i == GRIP_LENGTH_GPP); in grip_gpp_read_packet()