Lines Matching refs:id

66 	unsigned char id;  member
160 for (i = 0; i < 4 && i < gf2k_axes[gf2k->id]; i++) in gf2k_read()
163 for (i = 0; i < 2 && i < gf2k_axes[gf2k->id] - 4; i++) in gf2k_read()
168 for (i = 0; i < gf2k_hats[gf2k->id]; i++) in gf2k_read()
173 for (i = 0; i < gf2k_joys[gf2k->id]; i++) in gf2k_read()
176 for (i = 0; i < gf2k_pads[gf2k->id]; i++) in gf2k_read()
193 if (gf2k_read_packet(gf2k->gameport, gf2k_length[gf2k->id], data) < gf2k_length[gf2k->id]) in gf2k_poll()
254 if (!(gf2k->id = GB(7,2,0) | GB(3,3,2) | GB(0,3,5))) { in gf2k_connect()
260 if ((gf2k->id != (GB(19,2,0) | GB(15,3,2) | GB(12,3,5))) && in gf2k_connect()
261 (gf2k->id != (GB(31,2,0) | GB(27,3,2) | GB(24,3,5)))) { in gf2k_connect()
266 gf2k->id = 6; in gf2k_connect()
269 if (gf2k->id > GF2K_ID_MAX || !gf2k_axes[gf2k->id]) { in gf2k_connect()
271 gameport->phys, gf2k->id, gf2k->id > GF2K_ID_MAX ? "Unknown" : gf2k_names[gf2k->id]); in gf2k_connect()
281 gf2k->length = gf2k_lens[gf2k->id]; in gf2k_connect()
283 input_dev->name = gf2k_names[gf2k->id]; in gf2k_connect()
285 input_dev->id.bustype = BUS_GAMEPORT; in gf2k_connect()
286 input_dev->id.vendor = GAMEPORT_ID_VENDOR_GENIUS; in gf2k_connect()
287 input_dev->id.product = gf2k->id; in gf2k_connect()
288 input_dev->id.version = 0x0100; in gf2k_connect()
298 for (i = 0; i < gf2k_axes[gf2k->id]; i++) in gf2k_connect()
301 for (i = 0; i < gf2k_hats[gf2k->id]; i++) in gf2k_connect()
304 for (i = 0; i < gf2k_joys[gf2k->id]; i++) in gf2k_connect()
307 for (i = 0; i < gf2k_pads[gf2k->id]; i++) in gf2k_connect()
313 for (i = 0; i < gf2k_axes[gf2k->id]; i++) { in gf2k_connect()