Lines Matching refs:gameport
13 #include <linux/gameport.h>
471 struct gameport *gameport;
1166 static void snd_cs4281_gameport_trigger(struct gameport *gameport)
1168 struct cs4281 *chip = gameport_get_port_data(gameport);
1175 static unsigned char snd_cs4281_gameport_read(struct gameport *gameport)
1177 struct cs4281 *chip = gameport_get_port_data(gameport);
1185 static int snd_cs4281_gameport_cooked_read(struct gameport *gameport,
1188 struct cs4281 *chip = gameport_get_port_data(gameport);
1213 static int snd_cs4281_gameport_open(struct gameport *gameport, int mode)
1230 struct gameport *gp;
1232 chip->gameport = gp = gameport_allocate_port();
1235 "cannot allocate memory for gameport\n");
1258 if (chip->gameport) {
1259 gameport_unregister_port(chip->gameport);
1260 chip->gameport = NULL;