/sound/pci/au88x0/ |
D | au88x0_game.c | 43 static unsigned char vortex_game_read(struct gameport *gameport) in vortex_game_read() argument 45 vortex_t *vortex = gameport_get_port_data(gameport); in vortex_game_read() 49 static void vortex_game_trigger(struct gameport *gameport) in vortex_game_trigger() argument 51 vortex_t *vortex = gameport_get_port_data(gameport); in vortex_game_trigger() 56 vortex_game_cooked_read(struct gameport *gameport, int *axes, int *buttons) in vortex_game_cooked_read() argument 58 vortex_t *vortex = gameport_get_port_data(gameport); in vortex_game_cooked_read() 72 static int vortex_game_open(struct gameport *gameport, int mode) in vortex_game_open() argument 74 vortex_t *vortex = gameport_get_port_data(gameport); in vortex_game_open() 97 struct gameport *gp; in vortex_gameport_register() 99 vortex->gameport = gp = gameport_allocate_port(); in vortex_gameport_register() [all …]
|
D | au88x0.h | 182 struct gameport *gameport; member
|
/sound/isa/ |
D | cmi8328.c | 46 static bool gameport[CMI8328_MAX] = {[0 ... (CMI8328_MAX-1)] = true}; variable 68 module_param_array(gameport, bool, NULL, 0444); 69 MODULE_PARM_DESC(gameport, "Enable gameport."); 79 struct gameport *gameport; member 375 if (!gameport[ndev]) in snd_cmi8328_probe() 382 struct gameport *gp = cmi->gameport = gameport_allocate_port(); in snd_cmi8328_probe() 383 if (!cmi->gameport) in snd_cmi8328_probe() 411 if (cmi->gameport) { in snd_cmi8328_remove() 412 struct resource *res = gameport_get_port_data(cmi->gameport); in snd_cmi8328_remove() 413 gameport_unregister_port(cmi->gameport); in snd_cmi8328_remove()
|
/sound/pci/ymfpci/ |
D | ymfpci.c | 85 struct gameport *gp; in snd_ymfpci_create_gameport() 132 chip->gameport = gp = gameport_allocate_port(); in snd_ymfpci_create_gameport() 153 gameport_register_port(chip->gameport); in snd_ymfpci_create_gameport() 160 if (chip->gameport) { in snd_ymfpci_free_gameport() 161 struct resource *r = gameport_get_port_data(chip->gameport); in snd_ymfpci_free_gameport() 163 gameport_unregister_port(chip->gameport); in snd_ymfpci_free_gameport() 164 chip->gameport = NULL; in snd_ymfpci_free_gameport()
|
D | ymfpci.h | 299 struct gameport *gameport; member
|
/sound/pci/ |
D | als4000.c | 115 struct gameport *gameport; member 775 struct gameport *gp; in snd_als4000_create_gameport() 798 acard->gameport = gp = gameport_allocate_port(); in snd_als4000_create_gameport() 814 gameport_register_port(acard->gameport); in snd_als4000_create_gameport() 821 if (acard->gameport) { in snd_als4000_free_gameport() 822 struct resource *r = gameport_get_port_data(acard->gameport); in snd_als4000_free_gameport() 824 gameport_unregister_port(acard->gameport); in snd_als4000_free_gameport() 825 acard->gameport = NULL; in snd_als4000_free_gameport() 1013 if (acard->gameport) in snd_als4000_resume()
|
D | cs4281.c | 487 struct gameport *gameport; member 1199 static void snd_cs4281_gameport_trigger(struct gameport *gameport) in snd_cs4281_gameport_trigger() argument 1201 struct cs4281 *chip = gameport_get_port_data(gameport); in snd_cs4281_gameport_trigger() 1208 static unsigned char snd_cs4281_gameport_read(struct gameport *gameport) in snd_cs4281_gameport_read() argument 1210 struct cs4281 *chip = gameport_get_port_data(gameport); in snd_cs4281_gameport_read() 1218 static int snd_cs4281_gameport_cooked_read(struct gameport *gameport, in snd_cs4281_gameport_cooked_read() argument 1221 struct cs4281 *chip = gameport_get_port_data(gameport); in snd_cs4281_gameport_cooked_read() 1246 static int snd_cs4281_gameport_open(struct gameport *gameport, int mode) in snd_cs4281_gameport_open() argument 1263 struct gameport *gp; in snd_cs4281_create_gameport() 1265 chip->gameport = gp = gameport_allocate_port(); in snd_cs4281_create_gameport() [all …]
|
D | azt3328.c | 300 struct gameport *gameport; member 1723 snd_azf3328_gameport_open(struct gameport *gameport, int mode) in snd_azf3328_gameport_open() argument 1725 struct snd_azf3328 *chip = gameport_get_port_data(gameport); in snd_azf3328_gameport_open() 1747 snd_azf3328_gameport_close(struct gameport *gameport) in snd_azf3328_gameport_close() argument 1749 struct snd_azf3328 *chip = gameport_get_port_data(gameport); in snd_azf3328_gameport_close() 1758 snd_azf3328_gameport_cooked_read(struct gameport *gameport, in snd_azf3328_gameport_cooked_read() argument 1763 struct snd_azf3328 *chip = gameport_get_port_data(gameport); in snd_azf3328_gameport_cooked_read() 1825 struct gameport *gp; in snd_azf3328_gameport() 1827 chip->gameport = gp = gameport_allocate_port(); in snd_azf3328_gameport() 1851 gameport_register_port(chip->gameport); in snd_azf3328_gameport() [all …]
|
D | sonicvibes.c | 240 struct gameport *gameport; member 1190 struct gameport *gp; in snd_sonicvibes_create_gameport() 1192 sonic->gameport = gp = gameport_allocate_port(); in snd_sonicvibes_create_gameport() 1213 if (sonic->gameport) { in snd_sonicvibes_free_gameport() 1214 gameport_unregister_port(sonic->gameport); in snd_sonicvibes_free_gameport() 1215 sonic->gameport = NULL; in snd_sonicvibes_free_gameport()
|
D | es1938.c | 236 struct gameport *gameport; member 1513 struct gameport *gp; in snd_es1938_create_gameport() 1515 chip->gameport = gp = gameport_allocate_port(); in snd_es1938_create_gameport() 1534 if (chip->gameport) { in snd_es1938_free_gameport() 1535 gameport_unregister_port(chip->gameport); in snd_es1938_free_gameport() 1536 chip->gameport = NULL; in snd_es1938_free_gameport()
|
D | via82xx.c | 403 struct gameport *gameport; member 1935 struct gameport *gp; in snd_via686_create_gameport() 1948 chip->gameport = gp = gameport_allocate_port(); in snd_via686_create_gameport() 1966 gameport_register_port(chip->gameport); in snd_via686_create_gameport() 1973 if (chip->gameport) { in snd_via686_free_gameport() 1974 struct resource *r = gameport_get_port_data(chip->gameport); in snd_via686_free_gameport() 1976 gameport_unregister_port(chip->gameport); in snd_via686_free_gameport() 1977 chip->gameport = NULL; in snd_via686_free_gameport()
|
D | ens1370.c | 443 struct gameport *gameport; member 1809 struct gameport *gp; in snd_ensoniq_create_gameport() 1839 ensoniq->gameport = gp = gameport_allocate_port(); in snd_ensoniq_create_gameport() 1859 gameport_register_port(ensoniq->gameport); in snd_ensoniq_create_gameport() 1866 if (ensoniq->gameport) { in snd_ensoniq_free_gameport() 1867 int port = ensoniq->gameport->io; in snd_ensoniq_free_gameport() 1869 gameport_unregister_port(ensoniq->gameport); in snd_ensoniq_free_gameport() 1870 ensoniq->gameport = NULL; in snd_ensoniq_free_gameport()
|
D | es1968.c | 552 struct gameport *gameport; member 2453 struct gameport *gp; in snd_es1968_create_gameport() 2464 chip->gameport = gp = gameport_allocate_port(); in snd_es1968_create_gameport() 2488 if (chip->gameport) { in snd_es1968_free_gameport() 2489 struct resource *r = gameport_get_port_data(chip->gameport); in snd_es1968_free_gameport() 2491 gameport_unregister_port(chip->gameport); in snd_es1968_free_gameport() 2492 chip->gameport = NULL; in snd_es1968_free_gameport()
|
D | cmipci.c | 502 struct gameport *gameport; member 2867 struct gameport *gp; in snd_cmipci_create_gameport() 2891 cm->gameport = gp = gameport_allocate_port(); in snd_cmipci_create_gameport() 2905 gameport_register_port(cm->gameport); in snd_cmipci_create_gameport() 2912 if (cm->gameport) { in snd_cmipci_free_gameport() 2913 struct resource *r = gameport_get_port_data(cm->gameport); in snd_cmipci_free_gameport() 2915 gameport_unregister_port(cm->gameport); in snd_cmipci_free_gameport() 2916 cm->gameport = NULL; in snd_cmipci_free_gameport()
|
/sound/pci/trident/ |
D | trident.h | 412 struct gameport *gameport; member
|
D | trident_main.c | 3125 static unsigned char snd_trident_gameport_read(struct gameport *gameport) in snd_trident_gameport_read() argument 3127 struct snd_trident *chip = gameport_get_port_data(gameport); in snd_trident_gameport_read() 3134 static void snd_trident_gameport_trigger(struct gameport *gameport) in snd_trident_gameport_trigger() argument 3136 struct snd_trident *chip = gameport_get_port_data(gameport); in snd_trident_gameport_trigger() 3143 static int snd_trident_gameport_cooked_read(struct gameport *gameport, int *axes, int *buttons) in snd_trident_gameport_cooked_read() argument 3145 struct snd_trident *chip = gameport_get_port_data(gameport); in snd_trident_gameport_cooked_read() 3161 static int snd_trident_gameport_open(struct gameport *gameport, int mode) in snd_trident_gameport_open() argument 3163 struct snd_trident *chip = gameport_get_port_data(gameport); in snd_trident_gameport_open() 3183 struct gameport *gp; in snd_trident_create_gameport() 3185 chip->gameport = gp = gameport_allocate_port(); in snd_trident_create_gameport() [all …]
|
/sound/pci/riptide/ |
D | riptide.c | 2013 struct gameport *gameport; in snd_riptide_joystick_probe() local 2029 gameport = gameport_allocate_port(); in snd_riptide_joystick_probe() 2030 if (!gameport) { in snd_riptide_joystick_probe() 2038 gameport_free_port(gameport); in snd_riptide_joystick_probe() 2043 gameport->io = joystick_port[dev]; in snd_riptide_joystick_probe() 2044 gameport_register_port(gameport); in snd_riptide_joystick_probe() 2045 pci_set_drvdata(pci, gameport); in snd_riptide_joystick_probe() 2055 struct gameport *gameport = pci_get_drvdata(pci); in snd_riptide_joystick_remove() local 2056 if (gameport) { in snd_riptide_joystick_remove() 2057 release_region(gameport->io, 8); in snd_riptide_joystick_remove() [all …]
|
/sound/pci/cs46xx/ |
D | cs46xx_lib.c | 2723 static void snd_cs46xx_gameport_trigger(struct gameport *gameport) in snd_cs46xx_gameport_trigger() argument 2725 struct snd_cs46xx *chip = gameport_get_port_data(gameport); in snd_cs46xx_gameport_trigger() 2732 static unsigned char snd_cs46xx_gameport_read(struct gameport *gameport) in snd_cs46xx_gameport_read() argument 2734 struct snd_cs46xx *chip = gameport_get_port_data(gameport); in snd_cs46xx_gameport_read() 2741 static int snd_cs46xx_gameport_cooked_read(struct gameport *gameport, int *axes, int *buttons) in snd_cs46xx_gameport_cooked_read() argument 2743 struct snd_cs46xx *chip = gameport_get_port_data(gameport); in snd_cs46xx_gameport_cooked_read() 2765 static int snd_cs46xx_gameport_open(struct gameport *gameport, int mode) in snd_cs46xx_gameport_open() argument 2780 struct gameport *gp; in snd_cs46xx_gameport() 2782 chip->gameport = gp = gameport_allocate_port(); in snd_cs46xx_gameport() 2809 if (chip->gameport) { in snd_cs46xx_remove_gameport() [all …]
|
D | cs46xx.h | 1709 struct gameport *gameport; member
|