Lines Matching refs:gameport
3125 static unsigned char snd_trident_gameport_read(struct gameport *gameport) in snd_trident_gameport_read() argument
3127 struct snd_trident *chip = gameport_get_port_data(gameport); in snd_trident_gameport_read()
3134 static void snd_trident_gameport_trigger(struct gameport *gameport) in snd_trident_gameport_trigger() argument
3136 struct snd_trident *chip = gameport_get_port_data(gameport); in snd_trident_gameport_trigger()
3143 static int snd_trident_gameport_cooked_read(struct gameport *gameport, int *axes, int *buttons) in snd_trident_gameport_cooked_read() argument
3145 struct snd_trident *chip = gameport_get_port_data(gameport); in snd_trident_gameport_cooked_read()
3161 static int snd_trident_gameport_open(struct gameport *gameport, int mode) in snd_trident_gameport_open() argument
3163 struct snd_trident *chip = gameport_get_port_data(gameport); in snd_trident_gameport_open()
3183 struct gameport *gp; in snd_trident_create_gameport()
3185 chip->gameport = gp = gameport_allocate_port(); in snd_trident_create_gameport()
3210 if (chip->gameport) { in snd_trident_free_gameport()
3211 gameport_unregister_port(chip->gameport); in snd_trident_free_gameport()
3212 chip->gameport = NULL; in snd_trident_free_gameport()