/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 | 184 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() 1028 if (acard->gameport) in snd_als4000_resume()
|
D | cs4281.c | 487 struct gameport *gameport; member 1204 static void snd_cs4281_gameport_trigger(struct gameport *gameport) in snd_cs4281_gameport_trigger() argument 1206 struct cs4281 *chip = gameport_get_port_data(gameport); in snd_cs4281_gameport_trigger() 1213 static unsigned char snd_cs4281_gameport_read(struct gameport *gameport) in snd_cs4281_gameport_read() argument 1215 struct cs4281 *chip = gameport_get_port_data(gameport); in snd_cs4281_gameport_read() 1223 static int snd_cs4281_gameport_cooked_read(struct gameport *gameport, in snd_cs4281_gameport_cooked_read() argument 1226 struct cs4281 *chip = gameport_get_port_data(gameport); in snd_cs4281_gameport_cooked_read() 1251 static int snd_cs4281_gameport_open(struct gameport *gameport, int mode) in snd_cs4281_gameport_open() argument 1268 struct gameport *gp; in snd_cs4281_create_gameport() 1270 chip->gameport = gp = gameport_allocate_port(); in snd_cs4281_create_gameport() [all …]
|
D | azt3328.c | 300 struct gameport *gameport; member 1728 snd_azf3328_gameport_open(struct gameport *gameport, int mode) in snd_azf3328_gameport_open() argument 1730 struct snd_azf3328 *chip = gameport_get_port_data(gameport); in snd_azf3328_gameport_open() 1752 snd_azf3328_gameport_close(struct gameport *gameport) in snd_azf3328_gameport_close() argument 1754 struct snd_azf3328 *chip = gameport_get_port_data(gameport); in snd_azf3328_gameport_close() 1763 snd_azf3328_gameport_cooked_read(struct gameport *gameport, in snd_azf3328_gameport_cooked_read() argument 1768 struct snd_azf3328 *chip = gameport_get_port_data(gameport); in snd_azf3328_gameport_cooked_read() 1830 struct gameport *gp; in snd_azf3328_gameport() 1832 chip->gameport = gp = gameport_allocate_port(); in snd_azf3328_gameport() 1856 gameport_register_port(chip->gameport); in snd_azf3328_gameport() [all …]
|
D | es1938.c | 237 struct gameport *gameport; member 1532 struct gameport *gp; in snd_es1938_create_gameport() 1534 chip->gameport = gp = gameport_allocate_port(); in snd_es1938_create_gameport() 1553 if (chip->gameport) { in snd_es1938_free_gameport() 1554 gameport_unregister_port(chip->gameport); in snd_es1938_free_gameport() 1555 chip->gameport = NULL; in snd_es1938_free_gameport()
|
D | sonicvibes.c | 241 struct gameport *gameport; member 1200 struct gameport *gp; in snd_sonicvibes_create_gameport() 1202 sonic->gameport = gp = gameport_allocate_port(); in snd_sonicvibes_create_gameport() 1223 if (sonic->gameport) { in snd_sonicvibes_free_gameport() 1224 gameport_unregister_port(sonic->gameport); in snd_sonicvibes_free_gameport() 1225 sonic->gameport = NULL; in snd_sonicvibes_free_gameport()
|
D | ens1370.c | 443 struct gameport *gameport; member 1825 struct gameport *gp; in snd_ensoniq_create_gameport() 1855 ensoniq->gameport = gp = gameport_allocate_port(); in snd_ensoniq_create_gameport() 1875 gameport_register_port(ensoniq->gameport); in snd_ensoniq_create_gameport() 1882 if (ensoniq->gameport) { in snd_ensoniq_free_gameport() 1883 int port = ensoniq->gameport->io; in snd_ensoniq_free_gameport() 1885 gameport_unregister_port(ensoniq->gameport); in snd_ensoniq_free_gameport() 1886 ensoniq->gameport = NULL; in snd_ensoniq_free_gameport()
|
D | via82xx.c | 403 struct gameport *gameport; member 1941 struct gameport *gp; in snd_via686_create_gameport() 1954 chip->gameport = gp = gameport_allocate_port(); in snd_via686_create_gameport() 1972 gameport_register_port(chip->gameport); in snd_via686_create_gameport() 1979 if (chip->gameport) { in snd_via686_free_gameport() 1980 struct resource *r = gameport_get_port_data(chip->gameport); in snd_via686_free_gameport() 1982 gameport_unregister_port(chip->gameport); in snd_via686_free_gameport() 1983 chip->gameport = NULL; in snd_via686_free_gameport()
|
D | es1968.c | 552 struct gameport *gameport; member 2472 struct gameport *gp; in snd_es1968_create_gameport() 2483 chip->gameport = gp = gameport_allocate_port(); in snd_es1968_create_gameport() 2507 if (chip->gameport) { in snd_es1968_free_gameport() 2508 struct resource *r = gameport_get_port_data(chip->gameport); in snd_es1968_free_gameport() 2510 gameport_unregister_port(chip->gameport); in snd_es1968_free_gameport() 2511 chip->gameport = NULL; in snd_es1968_free_gameport()
|
D | cmipci.c | 502 struct gameport *gameport; member 2872 struct gameport *gp; in snd_cmipci_create_gameport() 2896 cm->gameport = gp = gameport_allocate_port(); in snd_cmipci_create_gameport() 2910 gameport_register_port(cm->gameport); in snd_cmipci_create_gameport() 2917 if (cm->gameport) { in snd_cmipci_free_gameport() 2918 struct resource *r = gameport_get_port_data(cm->gameport); in snd_cmipci_free_gameport() 2920 gameport_unregister_port(cm->gameport); in snd_cmipci_free_gameport() 2921 cm->gameport = NULL; in snd_cmipci_free_gameport()
|
/sound/pci/trident/ |
D | trident.h | 412 struct gameport *gameport; member
|
D | trident_main.c | 3141 static unsigned char snd_trident_gameport_read(struct gameport *gameport) in snd_trident_gameport_read() argument 3143 struct snd_trident *chip = gameport_get_port_data(gameport); in snd_trident_gameport_read() 3150 static void snd_trident_gameport_trigger(struct gameport *gameport) in snd_trident_gameport_trigger() argument 3152 struct snd_trident *chip = gameport_get_port_data(gameport); in snd_trident_gameport_trigger() 3159 static int snd_trident_gameport_cooked_read(struct gameport *gameport, int *axes, int *buttons) in snd_trident_gameport_cooked_read() argument 3161 struct snd_trident *chip = gameport_get_port_data(gameport); in snd_trident_gameport_cooked_read() 3177 static int snd_trident_gameport_open(struct gameport *gameport, int mode) in snd_trident_gameport_open() argument 3179 struct snd_trident *chip = gameport_get_port_data(gameport); in snd_trident_gameport_open() 3199 struct gameport *gp; in snd_trident_create_gameport() 3201 chip->gameport = gp = gameport_allocate_port(); in snd_trident_create_gameport() [all …]
|
/sound/pci/riptide/ |
D | riptide.c | 2032 struct gameport *gameport; in snd_riptide_joystick_probe() local 2048 gameport = gameport_allocate_port(); in snd_riptide_joystick_probe() 2049 if (!gameport) { in snd_riptide_joystick_probe() 2057 gameport_free_port(gameport); in snd_riptide_joystick_probe() 2062 gameport->io = joystick_port[dev]; in snd_riptide_joystick_probe() 2063 gameport_register_port(gameport); in snd_riptide_joystick_probe() 2064 pci_set_drvdata(pci, gameport); in snd_riptide_joystick_probe() 2074 struct gameport *gameport = pci_get_drvdata(pci); in snd_riptide_joystick_remove() local 2075 if (gameport) { in snd_riptide_joystick_remove() 2076 release_region(gameport->io, 8); in snd_riptide_joystick_remove() [all …]
|
/sound/pci/cs46xx/ |
D | cs46xx_lib.c | 2754 static void snd_cs46xx_gameport_trigger(struct gameport *gameport) in snd_cs46xx_gameport_trigger() argument 2756 struct snd_cs46xx *chip = gameport_get_port_data(gameport); in snd_cs46xx_gameport_trigger() 2763 static unsigned char snd_cs46xx_gameport_read(struct gameport *gameport) in snd_cs46xx_gameport_read() argument 2765 struct snd_cs46xx *chip = gameport_get_port_data(gameport); in snd_cs46xx_gameport_read() 2772 static int snd_cs46xx_gameport_cooked_read(struct gameport *gameport, int *axes, int *buttons) in snd_cs46xx_gameport_cooked_read() argument 2774 struct snd_cs46xx *chip = gameport_get_port_data(gameport); in snd_cs46xx_gameport_cooked_read() 2796 static int snd_cs46xx_gameport_open(struct gameport *gameport, int mode) in snd_cs46xx_gameport_open() argument 2811 struct gameport *gp; in snd_cs46xx_gameport() 2813 chip->gameport = gp = gameport_allocate_port(); in snd_cs46xx_gameport() 2840 if (chip->gameport) { in snd_cs46xx_remove_gameport() [all …]
|
D | cs46xx.h | 1709 struct gameport *gameport; member
|