Lines Matching defs:data
73 #define IO_MODE_FAST 0x0200 /* Used 3 data bits per gameport read */
80 * Gamepad configuration data. Other 9-pin digital joystick devices
134 static inline int poll_until(u8 onbits, u8 offbits, int u_sec, struct gameport* gp, u8 *data)
140 *data = gameport_read(gp);
141 if ((*data & onbits) == onbits &&
142 (~(*data) & offbits) == offbits)
161 * sendcode: data to send to the multiport if sendflags is nonzero
166 u8 raw_data; /* raw data from gameport */
167 u8 data_mask; /* packet data bits from raw_data */
200 if (raw_data & 0x20) { /* 3 data bits/read */
208 } else { /* 1 data bit/read */
214 /* Construct a packet. Final data bits must be zero. */
266 /* Multiport is done sending packets and is ready to receive data */
464 /* Return true if no active slot but multiport sent all its data */