Lines Matching refs:gameport
24 struct gameport *gameport; member
29 static int fm801_gp_cooked_read(struct gameport *gameport, int *axes, int *buttons) in fm801_gp_cooked_read() argument
33 w = inw(gameport->io + 2); in fm801_gp_cooked_read()
36 w = inw(gameport->io + 4); in fm801_gp_cooked_read()
38 w = inw(gameport->io + 6); in fm801_gp_cooked_read()
41 w = inw(gameport->io + 8); in fm801_gp_cooked_read()
43 outw(0xff, gameport->io); /* reset */ in fm801_gp_cooked_read()
49 static int fm801_gp_open(struct gameport *gameport, int mode) in fm801_gp_open() argument
68 struct gameport *port; in fm801_gp_probe()
92 gp->gameport = port; in fm801_gp_probe()
120 gameport_unregister_port(gp->gameport); in fm801_gp_remove()