Lines Matching defs:gameport
20 #include <linux/gameport.h>
38 struct gameport *gameport;
60 static int l4_cooked_read(struct gameport *gameport, int *axes, int *buttons)
62 struct l4 *l4 = gameport->port_data;
93 static int l4_open(struct gameport *gameport, int mode)
95 struct l4 *l4 = gameport->port_data;
180 static int l4_calibrate(struct gameport *gameport, int *axes, int *max)
184 struct l4 *l4 = gameport->port_data;
206 struct gameport *port;
214 if (!(l4->gameport = port = gameport_allocate_port())) {
217 gameport_free_port(l4->gameport);
218 l4->gameport = NULL;
230 gameport_set_phys(port, "isa%04x/gameport%d", L4_PORT, idx);
274 printk(KERN_INFO "gameport: PDPI Lightning 4 %s card v%d.%d at %#x\n",
282 gameport_register_port(l4->gameport);
315 if (l4_ports[i].gameport) {
317 gameport_unregister_port(l4_ports[i].gameport);