Lines Matching defs:gameport
2 * FM801 gameport driver for Linux
32 #include <linux/gameport.h>
40 struct gameport *gameport;
45 static int fm801_gp_cooked_read(struct gameport *gameport, int *axes, int *buttons)
49 w = inw(gameport->io + 2);
52 w = inw(gameport->io + 4);
54 w = inw(gameport->io + 6);
57 w = inw(gameport->io + 8);
59 outw(0xff, gameport->io); /* reset */
65 static int fm801_gp_open(struct gameport *gameport, int mode)
84 struct gameport *port;
108 gp->gameport = port;
137 gameport_unregister_port(gp->gameport);
170 MODULE_DESCRIPTION("FM801 gameport driver");