Searched refs:grip (Results 1 – 4 of 4) sorted by relevance
/drivers/input/joystick/ |
D | grip.c | 38 struct grip { struct 168 struct grip *grip = gameport_get_drvdata(gameport); in grip_poll() local 175 dev = grip->dev[i]; in grip_poll() 179 grip->reads++; in grip_poll() 181 switch (grip->mode[i]) { in grip_poll() 185 if (grip_gpp_read_packet(grip->gameport, (i << 1) + 4, data)) { in grip_poll() 186 grip->bads++; in grip_poll() 201 if (grip_xt_read_packet(grip->gameport, (i << 1) + 4, data)) { in grip_poll() 202 grip->bads++; in grip_poll() 220 if (grip_xt_read_packet(grip->gameport, (i << 1) + 4, data)) { in grip_poll() [all …]
|
D | grip_mp.c | 113 static int register_slot(int i, struct grip_mp *grip); 358 static int get_and_decode_packet(struct grip_mp *grip, int flags) in get_and_decode_packet() argument 368 flags = multiport_io(grip->gameport, flags, 0, &packet); in get_and_decode_packet() 369 grip->reads++; in get_and_decode_packet() 375 grip->bads++; in get_and_decode_packet() 385 port = grip->port[slot]; in get_and_decode_packet() 424 if (register_slot(slot, grip)) { in get_and_decode_packet() 449 static int slots_valid(struct grip_mp *grip) in slots_valid() argument 453 flags = get_and_decode_packet(grip, 0); in slots_valid() 458 if (grip->port[slot]->mode == GRIP_MODE_RESET) in slots_valid() [all …]
|
D | Makefile | 18 obj-$(CONFIG_JOYSTICK_GRIP) += grip.o
|
D | Kconfig | 82 module will be called grip.
|