Home
last modified time | relevance | path

Searched refs:gameport (Results 1 – 19 of 19) sorted by relevance

/sound/pci/au88x0/
Dau88x0_game.c30 static unsigned char vortex_game_read(struct gameport *gameport) in vortex_game_read() argument
32 vortex_t *vortex = gameport_get_port_data(gameport); in vortex_game_read()
36 static void vortex_game_trigger(struct gameport *gameport) in vortex_game_trigger() argument
38 vortex_t *vortex = gameport_get_port_data(gameport); in vortex_game_trigger()
43 vortex_game_cooked_read(struct gameport *gameport, int *axes, int *buttons) in vortex_game_cooked_read() argument
45 vortex_t *vortex = gameport_get_port_data(gameport); in vortex_game_cooked_read()
59 static int vortex_game_open(struct gameport *gameport, int mode) in vortex_game_open() argument
61 vortex_t *vortex = gameport_get_port_data(gameport); in vortex_game_open()
84 struct gameport *gp; in vortex_gameport_register()
86 vortex->gameport = gp = gameport_allocate_port(); in vortex_gameport_register()
[all …]
Dau88x0.h170 struct gameport *gameport; member
/sound/isa/
Dcmi8328.c47 static bool gameport[CMI8328_MAX] = {[0 ... (CMI8328_MAX-1)] = true}; variable
69 module_param_array(gameport, bool, NULL, 0444);
70 MODULE_PARM_DESC(gameport, "Enable gameport.");
80 struct gameport *gameport; member
376 if (!gameport[ndev]) in snd_cmi8328_probe()
383 struct gameport *gp = cmi->gameport = gameport_allocate_port(); in snd_cmi8328_probe()
384 if (!cmi->gameport) in snd_cmi8328_probe()
412 if (cmi->gameport) { in snd_cmi8328_remove()
413 struct resource *res = gameport_get_port_data(cmi->gameport); in snd_cmi8328_remove()
414 gameport_unregister_port(cmi->gameport); in snd_cmi8328_remove()
/sound/pci/ymfpci/
Dymfpci.c70 struct gameport *gp; in snd_ymfpci_create_gameport()
117 chip->gameport = gp = gameport_allocate_port(); in snd_ymfpci_create_gameport()
138 gameport_register_port(chip->gameport); in snd_ymfpci_create_gameport()
145 if (chip->gameport) { in snd_ymfpci_free_gameport()
146 struct resource *r = gameport_get_port_data(chip->gameport); in snd_ymfpci_free_gameport()
148 gameport_unregister_port(chip->gameport); in snd_ymfpci_free_gameport()
149 chip->gameport = NULL; in snd_ymfpci_free_gameport()
Dymfpci.h284 struct gameport *gameport; member
/sound/pci/
Dals4000.c101 struct gameport *gameport; member
761 struct gameport *gp; in snd_als4000_create_gameport()
784 acard->gameport = gp = gameport_allocate_port(); in snd_als4000_create_gameport()
800 gameport_register_port(acard->gameport); in snd_als4000_create_gameport()
807 if (acard->gameport) { in snd_als4000_free_gameport()
808 struct resource *r = gameport_get_port_data(acard->gameport); in snd_als4000_free_gameport()
810 gameport_unregister_port(acard->gameport); in snd_als4000_free_gameport()
811 acard->gameport = NULL; in snd_als4000_free_gameport()
998 if (acard->gameport) in snd_als4000_resume()
Dcs4281.c472 struct gameport *gameport; member
1182 static void snd_cs4281_gameport_trigger(struct gameport *gameport) in snd_cs4281_gameport_trigger() argument
1184 struct cs4281 *chip = gameport_get_port_data(gameport); in snd_cs4281_gameport_trigger()
1191 static unsigned char snd_cs4281_gameport_read(struct gameport *gameport) in snd_cs4281_gameport_read() argument
1193 struct cs4281 *chip = gameport_get_port_data(gameport); in snd_cs4281_gameport_read()
1201 static int snd_cs4281_gameport_cooked_read(struct gameport *gameport, in snd_cs4281_gameport_cooked_read() argument
1204 struct cs4281 *chip = gameport_get_port_data(gameport); in snd_cs4281_gameport_cooked_read()
1229 static int snd_cs4281_gameport_open(struct gameport *gameport, int mode) in snd_cs4281_gameport_open() argument
1246 struct gameport *gp; in snd_cs4281_create_gameport()
1248 chip->gameport = gp = gameport_allocate_port(); in snd_cs4281_create_gameport()
[all …]
Dazt3328.c286 struct gameport *gameport; member
1709 snd_azf3328_gameport_open(struct gameport *gameport, int mode) in snd_azf3328_gameport_open() argument
1711 struct snd_azf3328 *chip = gameport_get_port_data(gameport); in snd_azf3328_gameport_open()
1733 snd_azf3328_gameport_close(struct gameport *gameport) in snd_azf3328_gameport_close() argument
1735 struct snd_azf3328 *chip = gameport_get_port_data(gameport); in snd_azf3328_gameport_close()
1744 snd_azf3328_gameport_cooked_read(struct gameport *gameport, in snd_azf3328_gameport_cooked_read() argument
1749 struct snd_azf3328 *chip = gameport_get_port_data(gameport); in snd_azf3328_gameport_cooked_read()
1811 struct gameport *gp; in snd_azf3328_gameport()
1813 chip->gameport = gp = gameport_allocate_port(); in snd_azf3328_gameport()
1837 gameport_register_port(chip->gameport); in snd_azf3328_gameport()
[all …]
Dsonicvibes.c226 struct gameport *gameport; member
1174 struct gameport *gp; in snd_sonicvibes_create_gameport()
1177 sonic->gameport = gp = gameport_allocate_port(); in snd_sonicvibes_create_gameport()
1201 if (sonic->gameport) { in snd_sonicvibes_free_gameport()
1202 gameport_unregister_port(sonic->gameport); in snd_sonicvibes_free_gameport()
1203 sonic->gameport = NULL; in snd_sonicvibes_free_gameport()
Des1938.c221 struct gameport *gameport; member
1514 struct gameport *gp; in snd_es1938_create_gameport()
1516 chip->gameport = gp = gameport_allocate_port(); in snd_es1938_create_gameport()
1535 if (chip->gameport) { in snd_es1938_free_gameport()
1536 gameport_unregister_port(chip->gameport); in snd_es1938_free_gameport()
1537 chip->gameport = NULL; in snd_es1938_free_gameport()
Dens1370.c429 struct gameport *gameport; member
1794 struct gameport *gp; in snd_ensoniq_create_gameport()
1824 ensoniq->gameport = gp = gameport_allocate_port(); in snd_ensoniq_create_gameport()
1844 gameport_register_port(ensoniq->gameport); in snd_ensoniq_create_gameport()
1851 if (ensoniq->gameport) { in snd_ensoniq_free_gameport()
1852 int port = ensoniq->gameport->io; in snd_ensoniq_free_gameport()
1854 gameport_unregister_port(ensoniq->gameport); in snd_ensoniq_free_gameport()
1855 ensoniq->gameport = NULL; in snd_ensoniq_free_gameport()
Dvia82xx.c389 struct gameport *gameport; member
1923 struct gameport *gp; in snd_via686_create_gameport()
1936 chip->gameport = gp = gameport_allocate_port(); in snd_via686_create_gameport()
1954 gameport_register_port(chip->gameport); in snd_via686_create_gameport()
1961 if (chip->gameport) { in snd_via686_free_gameport()
1962 struct resource *r = gameport_get_port_data(chip->gameport); in snd_via686_free_gameport()
1964 gameport_unregister_port(chip->gameport); in snd_via686_free_gameport()
1965 chip->gameport = NULL; in snd_via686_free_gameport()
Des1968.c538 struct gameport *gameport; member
2438 struct gameport *gp; in snd_es1968_create_gameport()
2449 chip->gameport = gp = gameport_allocate_port(); in snd_es1968_create_gameport()
2473 if (chip->gameport) { in snd_es1968_free_gameport()
2474 struct resource *r = gameport_get_port_data(chip->gameport); in snd_es1968_free_gameport()
2476 gameport_unregister_port(chip->gameport); in snd_es1968_free_gameport()
2477 chip->gameport = NULL; in snd_es1968_free_gameport()
Dcmipci.c489 struct gameport *gameport; member
2851 struct gameport *gp; in snd_cmipci_create_gameport()
2875 cm->gameport = gp = gameport_allocate_port(); in snd_cmipci_create_gameport()
2889 gameport_register_port(cm->gameport); in snd_cmipci_create_gameport()
2896 if (cm->gameport) { in snd_cmipci_free_gameport()
2897 struct resource *r = gameport_get_port_data(cm->gameport); in snd_cmipci_free_gameport()
2899 gameport_unregister_port(cm->gameport); in snd_cmipci_free_gameport()
2900 cm->gameport = NULL; in snd_cmipci_free_gameport()
/sound/pci/trident/
Dtrident.h397 struct gameport *gameport; member
Dtrident_main.c3111 static unsigned char snd_trident_gameport_read(struct gameport *gameport) in snd_trident_gameport_read() argument
3113 struct snd_trident *chip = gameport_get_port_data(gameport); in snd_trident_gameport_read()
3120 static void snd_trident_gameport_trigger(struct gameport *gameport) in snd_trident_gameport_trigger() argument
3122 struct snd_trident *chip = gameport_get_port_data(gameport); in snd_trident_gameport_trigger()
3129 static int snd_trident_gameport_cooked_read(struct gameport *gameport, int *axes, int *buttons) in snd_trident_gameport_cooked_read() argument
3131 struct snd_trident *chip = gameport_get_port_data(gameport); in snd_trident_gameport_cooked_read()
3147 static int snd_trident_gameport_open(struct gameport *gameport, int mode) in snd_trident_gameport_open() argument
3149 struct snd_trident *chip = gameport_get_port_data(gameport); in snd_trident_gameport_open()
3169 struct gameport *gp; in snd_trident_create_gameport()
3171 chip->gameport = gp = gameport_allocate_port(); in snd_trident_create_gameport()
[all …]
/sound/pci/riptide/
Driptide.c1996 struct gameport *gameport; in snd_riptide_joystick_probe() local
2012 gameport = gameport_allocate_port(); in snd_riptide_joystick_probe()
2013 if (!gameport) { in snd_riptide_joystick_probe()
2021 gameport_free_port(gameport); in snd_riptide_joystick_probe()
2026 gameport->io = joystick_port[dev]; in snd_riptide_joystick_probe()
2027 gameport_register_port(gameport); in snd_riptide_joystick_probe()
2028 pci_set_drvdata(pci, gameport); in snd_riptide_joystick_probe()
2038 struct gameport *gameport = pci_get_drvdata(pci); in snd_riptide_joystick_remove() local
2039 if (gameport) { in snd_riptide_joystick_remove()
2040 release_region(gameport->io, 8); in snd_riptide_joystick_remove()
[all …]
/sound/pci/cs46xx/
Dcs46xx_lib.c2711 static void snd_cs46xx_gameport_trigger(struct gameport *gameport) in snd_cs46xx_gameport_trigger() argument
2713 struct snd_cs46xx *chip = gameport_get_port_data(gameport); in snd_cs46xx_gameport_trigger()
2720 static unsigned char snd_cs46xx_gameport_read(struct gameport *gameport) in snd_cs46xx_gameport_read() argument
2722 struct snd_cs46xx *chip = gameport_get_port_data(gameport); in snd_cs46xx_gameport_read()
2729 static int snd_cs46xx_gameport_cooked_read(struct gameport *gameport, int *axes, int *buttons) in snd_cs46xx_gameport_cooked_read() argument
2731 struct snd_cs46xx *chip = gameport_get_port_data(gameport); in snd_cs46xx_gameport_cooked_read()
2753 static int snd_cs46xx_gameport_open(struct gameport *gameport, int mode) in snd_cs46xx_gameport_open() argument
2768 struct gameport *gp; in snd_cs46xx_gameport()
2770 chip->gameport = gp = gameport_allocate_port(); in snd_cs46xx_gameport()
2797 if (chip->gameport) { in snd_cs46xx_remove_gameport()
[all …]
Dcs46xx.h1694 struct gameport *gameport; member