Lines Matching defs:gameport
8 #include <linux/gameport.h>
156 struct gameport *gameport;
1255 snd_azf3328_dbggame("gameport irq\n");
1257 /* this should ACK the gameport IRQ properly, hopefully. */
1262 snd_azf3328_gameport_open(struct gameport *gameport, int mode)
1264 struct snd_azf3328 *chip = gameport_get_port_data(gameport);
1286 snd_azf3328_gameport_close(struct gameport *gameport)
1288 struct snd_azf3328 *chip = gameport_get_port_data(gameport);
1297 snd_azf3328_gameport_cooked_read(struct gameport *gameport,
1302 struct snd_azf3328 *chip = gameport_get_port_data(gameport);
1365 struct gameport *gp;
1367 chip->gameport = gp = gameport_allocate_port();
1369 printk(KERN_ERR "azt3328: cannot alloc memory for gameport\n");
1391 gameport_register_port(chip->gameport);
1399 if (chip->gameport) {
1400 gameport_unregister_port(chip->gameport);
1401 chip->gameport = NULL;