Lines Matching defs:gameport
36 #include <linux/gameport.h>
54 struct gameport *gameport;
76 static int l4_cooked_read(struct gameport *gameport, int *axes, int *buttons)
78 struct l4 *l4 = gameport->port_data;
109 static int l4_open(struct gameport *gameport, int mode)
111 struct l4 *l4 = gameport->port_data;
196 static int l4_calibrate(struct gameport *gameport, int *axes, int *max)
200 struct l4 *l4 = gameport->port_data;
222 struct gameport *port;
230 if (!(l4->gameport = port = gameport_allocate_port())) {
233 gameport_free_port(l4->gameport);
234 l4->gameport = NULL;
246 gameport_set_phys(port, "isa%04x/gameport%d", L4_PORT, idx);
290 printk(KERN_INFO "gameport: PDPI Lightning 4 %s card v%d.%d at %#x\n",
298 gameport_register_port(l4->gameport);
331 if (l4_ports[i].gameport) {
333 gameport_unregister_port(l4_ports[i].gameport);