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

/linux-4.4.14/drivers/input/joystick/
H A Dgrip_mp.c133 static inline int poll_until(u8 onbits, u8 offbits, int u_sec, struct gameport* gp, u8 *data) poll_until() function
192 if (!poll_until(0x10, 0, 308, gameport, &raw_data)) mp_io()
216 if (!poll_until(0, 0x10, 77, gameport, &raw_data)) mp_io()
224 if (!poll_until(0x10, 0, 77, gameport, &raw_data)) mp_io()
243 if (!poll_until(0x30, 0, 77, gameport, &raw_data)) mp_io()
253 if (!poll_until(0, 0x20, 77, gameport, &raw_data)) mp_io()
267 if (!poll_until(0x20, 0, 77, gameport, &raw_data)) mp_io()
278 if (!poll_until(0x20, 0x10, 116, gameport, &raw_data)) mp_io()
281 if (!poll_until(0x30, 0, 193, gameport, &raw_data)) mp_io()

Completed in 142 milliseconds