Lines Matching defs:gameport
3 * FM801 gameport driver for Linux
16 #include <linux/gameport.h>
24 struct gameport *gameport;
29 static int fm801_gp_cooked_read(struct gameport *gameport, int *axes, int *buttons)
33 w = inw(gameport->io + 2);
36 w = inw(gameport->io + 4);
38 w = inw(gameport->io + 6);
41 w = inw(gameport->io + 8);
43 outw(0xff, gameport->io); /* reset */
49 static int fm801_gp_open(struct gameport *gameport, int mode)
68 struct gameport *port;
92 gp->gameport = port;
120 gameport_unregister_port(gp->gameport);
142 MODULE_DESCRIPTION("FM801 gameport driver");