Lines Matching defs:gameport
145 * - an _unconnected_ secondary joystick at the gameport will be reported
165 * - use MMIO (memory-mapped I/O)? Slightly faster access, e.g. for gameport.
174 #include <linux/gameport.h>
285 struct gameport *gameport;
1671 dev_dbg(chip->card->dev, "gameport irq\n");
1673 /* this should ACK the gameport IRQ properly, hopefully. */
1678 snd_azf3328_gameport_open(struct gameport *gameport, int mode)
1680 struct snd_azf3328 *chip = gameport_get_port_data(gameport);
1702 snd_azf3328_gameport_close(struct gameport *gameport)
1704 struct snd_azf3328 *chip = gameport_get_port_data(gameport);
1713 snd_azf3328_gameport_cooked_read(struct gameport *gameport,
1718 struct snd_azf3328 *chip = gameport_get_port_data(gameport);
1778 struct gameport *gp;
1780 chip->gameport = gp = gameport_allocate_port();
1782 dev_err(chip->card->dev, "cannot alloc memory for gameport\n");
1804 gameport_register_port(chip->gameport);
1812 if (chip->gameport) {
1813 gameport_unregister_port(chip->gameport);
1814 chip->gameport = NULL;