Lines Matching refs:gameport
30 static unsigned char vortex_game_read(struct gameport *gameport) in vortex_game_read() argument
32 vortex_t *vortex = gameport_get_port_data(gameport); in vortex_game_read()
36 static void vortex_game_trigger(struct gameport *gameport) in vortex_game_trigger() argument
38 vortex_t *vortex = gameport_get_port_data(gameport); in vortex_game_trigger()
43 vortex_game_cooked_read(struct gameport *gameport, int *axes, int *buttons) in vortex_game_cooked_read() argument
45 vortex_t *vortex = gameport_get_port_data(gameport); in vortex_game_cooked_read()
59 static int vortex_game_open(struct gameport *gameport, int mode) in vortex_game_open() argument
61 vortex_t *vortex = gameport_get_port_data(gameport); in vortex_game_open()
84 struct gameport *gp; in vortex_gameport_register()
86 vortex->gameport = gp = gameport_allocate_port(); in vortex_gameport_register()
112 if (vortex->gameport) { in vortex_gameport_unregister()
113 gameport_unregister_port(vortex->gameport); in vortex_gameport_unregister()
114 vortex->gameport = NULL; in vortex_gameport_unregister()