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

/linux-4.4.14/drivers/input/joystick/
H A Dcobra.c43 #define COBRA_LENGTH 36 macro
80 if ((w & 0x30) < 0x30 && r[i] < COBRA_LENGTH && t[i] > 0) { cobra_read_packet()
94 if (r[i] != COBRA_LENGTH) continue; cobra_read_packet()
96 for (j = 0; j < COBRA_LENGTH && (buf[i] & 0x04104107f) ^ 0x041041040; j++) cobra_read_packet()
97 buf[i] = (buf[i] >> 1) | ((__u64)(buf[i] & 1) << (COBRA_LENGTH - 1)); cobra_read_packet()
99 if (j < COBRA_LENGTH) ret |= (1 << i); cobra_read_packet()

Completed in 152 milliseconds