gameport 29 include/linux/gameport.h void (*trigger)(struct gameport *); gameport 30 include/linux/gameport.h unsigned char (*read)(struct gameport *); gameport 31 include/linux/gameport.h int (*cooked_read)(struct gameport *, int *, int *); gameport 32 include/linux/gameport.h int (*calibrate)(struct gameport *, int *, int *); gameport 33 include/linux/gameport.h int (*open)(struct gameport *, int); gameport 34 include/linux/gameport.h void (*close)(struct gameport *); gameport 40 include/linux/gameport.h void (*poll_handler)(struct gameport *); gameport 42 include/linux/gameport.h struct gameport *parent, *child; gameport 52 include/linux/gameport.h #define to_gameport_port(d) container_of(d, struct gameport, dev) gameport 59 include/linux/gameport.h int (*connect)(struct gameport *, struct gameport_driver *drv); gameport 60 include/linux/gameport.h int (*reconnect)(struct gameport *); gameport 61 include/linux/gameport.h void (*disconnect)(struct gameport *); gameport 77 include/linux/gameport.h __gameport_register_port(gameport, THIS_MODULE); gameport 105 include/linux/gameport.h static inline struct gameport *gameport_allocate_port(void) gameport 107 include/linux/gameport.h struct gameport *gameport = kzalloc(sizeof(struct gameport), GFP_KERNEL); gameport 109 include/linux/gameport.h return gameport; gameport 114 include/linux/gameport.h kfree(gameport); gameport 119 include/linux/gameport.h strlcpy(gameport->name, name, sizeof(gameport->name)); gameport 128 include/linux/gameport.h return dev_get_drvdata(&gameport->dev); gameport 133 include/linux/gameport.h dev_set_drvdata(&gameport->dev, data); gameport 141 include/linux/gameport.h return mutex_lock_interruptible(&gameport->drv_mutex); gameport 146 include/linux/gameport.h mutex_unlock(&gameport->drv_mutex); gameport 178 include/linux/gameport.h if (gameport->trigger) gameport 179 include/linux/gameport.h gameport->trigger(gameport); gameport 181 include/linux/gameport.h outb(0xff, gameport->io); gameport 186 include/linux/gameport.h if (gameport->read) gameport 187 include/linux/gameport.h return gameport->read(gameport); gameport 189 include/linux/gameport.h return inb(gameport->io); gameport 194 include/linux/gameport.h if (gameport->cooked_read) gameport 195 include/linux/gameport.h return gameport->cooked_read(gameport, axes, buttons); gameport 202 include/linux/gameport.h if (gameport->calibrate) gameport 203 include/linux/gameport.h return gameport->calibrate(gameport, axes, max); gameport 210 include/linux/gameport.h return (time * gameport->speed) / 1000; gameport 215 include/linux/gameport.h gameport->poll_handler = handler; gameport 220 include/linux/gameport.h gameport->poll_interval = msecs; gameport 1709 include/sound/cs46xx.h struct gameport *gameport; gameport 412 include/sound/trident.h struct gameport *gameport; gameport 299 include/sound/ymfpci.h struct gameport *gameport; gameport 116 sound/pci/als4000.c struct gameport *gameport; gameport 776 sound/pci/als4000.c struct gameport *gp; gameport 799 sound/pci/als4000.c acard->gameport = gp = gameport_allocate_port(); gameport 815 sound/pci/als4000.c gameport_register_port(acard->gameport); gameport 822 sound/pci/als4000.c if (acard->gameport) { gameport 823 sound/pci/als4000.c struct resource *r = gameport_get_port_data(acard->gameport); gameport 825 sound/pci/als4000.c gameport_unregister_port(acard->gameport); gameport 826 sound/pci/als4000.c acard->gameport = NULL; gameport 1028 sound/pci/als4000.c if (acard->gameport) gameport 174 sound/pci/au88x0/au88x0.h struct gameport *gameport; gameport 44 sound/pci/au88x0/au88x0_game.c vortex_t *vortex = gameport_get_port_data(gameport); gameport 50 sound/pci/au88x0/au88x0_game.c vortex_t *vortex = gameport_get_port_data(gameport); gameport 57 sound/pci/au88x0/au88x0_game.c vortex_t *vortex = gameport_get_port_data(gameport); gameport 73 sound/pci/au88x0/au88x0_game.c vortex_t *vortex = gameport_get_port_data(gameport); gameport 96 sound/pci/au88x0/au88x0_game.c struct gameport *gp; gameport 98 sound/pci/au88x0/au88x0_game.c vortex->gameport = gp = gameport_allocate_port(); gameport 123 sound/pci/au88x0/au88x0_game.c if (vortex->gameport) { gameport 124 sound/pci/au88x0/au88x0_game.c gameport_unregister_port(vortex->gameport); gameport 125 sound/pci/au88x0/au88x0_game.c vortex->gameport = NULL; gameport 285 sound/pci/azt3328.c struct gameport *gameport; gameport 1436 sound/pci/azt3328.c struct snd_azf3328 *chip = gameport_get_port_data(gameport); gameport 1458 sound/pci/azt3328.c struct snd_azf3328 *chip = gameport_get_port_data(gameport); gameport 1470 sound/pci/azt3328.c struct snd_azf3328 *chip = gameport_get_port_data(gameport); gameport 1533 sound/pci/azt3328.c struct gameport *gp; gameport 1535 sound/pci/azt3328.c chip->gameport = gp = gameport_allocate_port(); gameport 1557 sound/pci/azt3328.c gameport_register_port(chip->gameport); gameport 1565 sound/pci/azt3328.c if (chip->gameport) { gameport 1566 sound/pci/azt3328.c gameport_unregister_port(chip->gameport); gameport 1567 sound/pci/azt3328.c chip->gameport = NULL; gameport 502 sound/pci/cmipci.c struct gameport *gameport; gameport 2865 sound/pci/cmipci.c struct gameport *gp; gameport 2889 sound/pci/cmipci.c cm->gameport = gp = gameport_allocate_port(); gameport 2903 sound/pci/cmipci.c gameport_register_port(cm->gameport); gameport 2910 sound/pci/cmipci.c if (cm->gameport) { gameport 2911 sound/pci/cmipci.c struct resource *r = gameport_get_port_data(cm->gameport); gameport 2913 sound/pci/cmipci.c gameport_unregister_port(cm->gameport); gameport 2914 sound/pci/cmipci.c cm->gameport = NULL; gameport 487 sound/pci/cs4281.c struct gameport *gameport; gameport 1210 sound/pci/cs4281.c struct cs4281 *chip = gameport_get_port_data(gameport); gameport 1219 sound/pci/cs4281.c struct cs4281 *chip = gameport_get_port_data(gameport); gameport 1230 sound/pci/cs4281.c struct cs4281 *chip = gameport_get_port_data(gameport); gameport 1272 sound/pci/cs4281.c struct gameport *gp; gameport 1274 sound/pci/cs4281.c chip->gameport = gp = gameport_allocate_port(); gameport 1299 sound/pci/cs4281.c if (chip->gameport) { gameport 1300 sound/pci/cs4281.c gameport_unregister_port(chip->gameport); gameport 1301 sound/pci/cs4281.c chip->gameport = NULL; gameport 2562 sound/pci/cs46xx/cs46xx_lib.c struct snd_cs46xx *chip = gameport_get_port_data(gameport); gameport 2571 sound/pci/cs46xx/cs46xx_lib.c struct snd_cs46xx *chip = gameport_get_port_data(gameport); gameport 2580 sound/pci/cs46xx/cs46xx_lib.c struct snd_cs46xx *chip = gameport_get_port_data(gameport); gameport 2617 sound/pci/cs46xx/cs46xx_lib.c struct gameport *gp; gameport 2619 sound/pci/cs46xx/cs46xx_lib.c chip->gameport = gp = gameport_allocate_port(); gameport 2645 sound/pci/cs46xx/cs46xx_lib.c if (chip->gameport) { gameport 2646 sound/pci/cs46xx/cs46xx_lib.c gameport_unregister_port(chip->gameport); gameport 2647 sound/pci/cs46xx/cs46xx_lib.c chip->gameport = NULL; gameport 440 sound/pci/ens1370.c struct gameport *gameport; gameport 1794 sound/pci/ens1370.c struct gameport *gp; gameport 1822 sound/pci/ens1370.c ensoniq->gameport = gp = gameport_allocate_port(); gameport 1841 sound/pci/ens1370.c gameport_register_port(ensoniq->gameport); gameport 1848 sound/pci/ens1370.c if (ensoniq->gameport) { gameport 1849 sound/pci/ens1370.c int port = ensoniq->gameport->io; gameport 1851 sound/pci/ens1370.c gameport_unregister_port(ensoniq->gameport); gameport 1852 sound/pci/ens1370.c ensoniq->gameport = NULL; gameport 237 sound/pci/es1938.c struct gameport *gameport; gameport 1542 sound/pci/es1938.c struct gameport *gp; gameport 1544 sound/pci/es1938.c chip->gameport = gp = gameport_allocate_port(); gameport 1562 sound/pci/es1938.c if (chip->gameport) { gameport 1563 sound/pci/es1938.c gameport_unregister_port(chip->gameport); gameport 1564 sound/pci/es1938.c chip->gameport = NULL; gameport 548 sound/pci/es1968.c struct gameport *gameport; gameport 2429 sound/pci/es1968.c struct gameport *gp; gameport 2440 sound/pci/es1968.c chip->gameport = gp = gameport_allocate_port(); gameport 2463 sound/pci/es1968.c if (chip->gameport) { gameport 2464 sound/pci/es1968.c struct resource *r = gameport_get_port_data(chip->gameport); gameport 2466 sound/pci/es1968.c gameport_unregister_port(chip->gameport); gameport 2467 sound/pci/es1968.c chip->gameport = NULL; gameport 2041 sound/pci/riptide/riptide.c static struct gameport *riptide_gameport; gameport 241 sound/pci/sonicvibes.c struct gameport *gameport; gameport 1161 sound/pci/sonicvibes.c struct gameport *gp; gameport 1163 sound/pci/sonicvibes.c sonic->gameport = gp = gameport_allocate_port(); gameport 1183 sound/pci/sonicvibes.c if (sonic->gameport) { gameport 1184 sound/pci/sonicvibes.c gameport_unregister_port(sonic->gameport); gameport 1185 sound/pci/sonicvibes.c sonic->gameport = NULL; gameport 3134 sound/pci/trident/trident_main.c struct snd_trident *chip = gameport_get_port_data(gameport); gameport 3143 sound/pci/trident/trident_main.c struct snd_trident *chip = gameport_get_port_data(gameport); gameport 3152 sound/pci/trident/trident_main.c struct snd_trident *chip = gameport_get_port_data(gameport); gameport 3170 sound/pci/trident/trident_main.c struct snd_trident *chip = gameport_get_port_data(gameport); gameport 3190 sound/pci/trident/trident_main.c struct gameport *gp; gameport 3192 sound/pci/trident/trident_main.c chip->gameport = gp = gameport_allocate_port(); gameport 3216 sound/pci/trident/trident_main.c if (chip->gameport) { gameport 3217 sound/pci/trident/trident_main.c gameport_unregister_port(chip->gameport); gameport 3218 sound/pci/trident/trident_main.c chip->gameport = NULL; gameport 396 sound/pci/via82xx.c struct gameport *gameport; gameport 1841 sound/pci/via82xx.c struct gameport *gp; gameport 1854 sound/pci/via82xx.c chip->gameport = gp = gameport_allocate_port(); gameport 1871 sound/pci/via82xx.c gameport_register_port(chip->gameport); gameport 1878 sound/pci/via82xx.c if (chip->gameport) { gameport 1879 sound/pci/via82xx.c struct resource *r = gameport_get_port_data(chip->gameport); gameport 1881 sound/pci/via82xx.c gameport_unregister_port(chip->gameport); gameport 1882 sound/pci/via82xx.c chip->gameport = NULL; gameport 85 sound/pci/ymfpci/ymfpci.c struct gameport *gp; gameport 129 sound/pci/ymfpci/ymfpci.c chip->gameport = gp = gameport_allocate_port(); gameport 149 sound/pci/ymfpci/ymfpci.c gameport_register_port(chip->gameport); gameport 156 sound/pci/ymfpci/ymfpci.c if (chip->gameport) { gameport 157 sound/pci/ymfpci/ymfpci.c struct resource *r = gameport_get_port_data(chip->gameport); gameport 159 sound/pci/ymfpci/ymfpci.c gameport_unregister_port(chip->gameport); gameport 160 sound/pci/ymfpci/ymfpci.c chip->gameport = NULL;