Home
last modified time | relevance | path

Searched refs:grip (Results 1 – 4 of 4) sorted by relevance

/drivers/input/joystick/
Dgrip.c55 struct grip { struct
185 struct grip *grip = gameport_get_drvdata(gameport); in grip_poll() local
192 dev = grip->dev[i]; in grip_poll()
196 grip->reads++; in grip_poll()
198 switch (grip->mode[i]) { in grip_poll()
202 if (grip_gpp_read_packet(grip->gameport, (i << 1) + 4, data)) { in grip_poll()
203 grip->bads++; in grip_poll()
218 if (grip_xt_read_packet(grip->gameport, (i << 1) + 4, data)) { in grip_poll()
219 grip->bads++; in grip_poll()
237 if (grip_xt_read_packet(grip->gameport, (i << 1) + 4, data)) { in grip_poll()
[all …]
Dgrip_mp.c113 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 …]
DMakefile16 obj-$(CONFIG_JOYSTICK_GRIP) += grip.o
DKconfig81 module will be called grip.