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;
1677 dev_dbg(chip->card->dev, "gameport irq\n");
1679 /* this should ACK the gameport IRQ properly, hopefully. */
1684 snd_azf3328_gameport_open(struct gameport *gameport, int mode)
1686 struct snd_azf3328 *chip = gameport_get_port_data(gameport);
1708 snd_azf3328_gameport_close(struct gameport *gameport)
1710 struct snd_azf3328 *chip = gameport_get_port_data(gameport);
1719 snd_azf3328_gameport_cooked_read(struct gameport *gameport,
1724 struct snd_azf3328 *chip = gameport_get_port_data(gameport);
1786 struct gameport *gp;
1788 chip->gameport = gp = gameport_allocate_port();
1790 dev_err(chip->card->dev, "cannot alloc memory for gameport\n");
1812 gameport_register_port(chip->gameport);
1820 if (chip->gameport) {
1821 gameport_unregister_port(chip->gameport);
1822 chip->gameport = NULL;