Lines Matching refs:gameport
39 struct gameport *gameport; member
44 static int fm801_gp_cooked_read(struct gameport *gameport, int *axes, int *buttons) in fm801_gp_cooked_read() argument
48 w = inw(gameport->io + 2); in fm801_gp_cooked_read()
51 w = inw(gameport->io + 4); in fm801_gp_cooked_read()
53 w = inw(gameport->io + 6); in fm801_gp_cooked_read()
56 w = inw(gameport->io + 8); in fm801_gp_cooked_read()
58 outw(0xff, gameport->io); /* reset */ in fm801_gp_cooked_read()
64 static int fm801_gp_open(struct gameport *gameport, int mode) in fm801_gp_open() argument
83 struct gameport *port; in fm801_gp_probe()
107 gp->gameport = port; in fm801_gp_probe()
135 gameport_unregister_port(gp->gameport); in fm801_gp_remove()