Lines Matching defs:gameport
28 #include <linux/gameport.h>
487 struct gameport *gameport;
1199 static void snd_cs4281_gameport_trigger(struct gameport *gameport)
1201 struct cs4281 *chip = gameport_get_port_data(gameport);
1208 static unsigned char snd_cs4281_gameport_read(struct gameport *gameport)
1210 struct cs4281 *chip = gameport_get_port_data(gameport);
1218 static int snd_cs4281_gameport_cooked_read(struct gameport *gameport,
1221 struct cs4281 *chip = gameport_get_port_data(gameport);
1246 static int snd_cs4281_gameport_open(struct gameport *gameport, int mode)
1263 struct gameport *gp;
1265 chip->gameport = gp = gameport_allocate_port();
1267 printk(KERN_ERR "cs4281: cannot allocate memory for gameport\n");
1290 if (chip->gameport) {
1291 gameport_unregister_port(chip->gameport);
1292 chip->gameport = NULL;