Lines Matching defs:gameport
17 #include <linux/gameport.h>
35 struct gameport *gameport;
57 static int l4_cooked_read(struct gameport *gameport, int *axes, int *buttons)
59 struct l4 *l4 = gameport->port_data;
90 static int l4_open(struct gameport *gameport, int mode)
92 struct l4 *l4 = gameport->port_data;
177 static int l4_calibrate(struct gameport *gameport, int *axes, int *max)
181 struct l4 *l4 = gameport->port_data;
203 struct gameport *port;
211 if (!(l4->gameport = port = gameport_allocate_port())) {
214 gameport_free_port(l4->gameport);
215 l4->gameport = NULL;
227 gameport_set_phys(port, "isa%04x/gameport%d", L4_PORT, idx);
271 printk(KERN_INFO "gameport: PDPI Lightning 4 %s card v%d.%d at %#x\n",
279 gameport_register_port(l4->gameport);
312 if (l4_ports[i].gameport) {
314 gameport_unregister_port(l4_ports[i].gameport);