Searched refs:gameport (Results 26 - 39 of 39) sorted by relevance

12

/linux-master/sound/pci/ymfpci/
H A Dymfpci.h14 #include <linux/gameport.h>
324 struct gameport *gameport; member in struct:snd_ymfpci
/linux-master/sound/pci/au88x0/
H A Dau88x0.h170 struct gameport *gameport; member in struct:snd_vortex
/linux-master/sound/pci/trident/
H A Dtrident.h396 struct gameport *gameport; member in struct:snd_trident
H A Dtrident_main.c22 #include <linux/gameport.h>
3092 * gameport interface
3097 static unsigned char snd_trident_gameport_read(struct gameport *gameport) argument
3099 struct snd_trident *chip = gameport_get_port_data(gameport);
3106 static void snd_trident_gameport_trigger(struct gameport *gameport) argument
3108 struct snd_trident *chip = gameport_get_port_data(gameport);
3115 static int snd_trident_gameport_cooked_read(struct gameport *gameport, in argument
3133 snd_trident_gameport_open(struct gameport *gameport, int mode) argument
[all...]
/linux-master/sound/pci/riptide/
H A Driptide.c83 #include <linux/gameport.h>
1968 struct gameport *gameport; local
1984 gameport = gameport_allocate_port();
1985 if (!gameport) {
1989 if (!request_region(joystick_port[dev], 8, "Riptide gameport")) {
1991 "Riptide: cannot grab gameport 0x%x\n",
1993 gameport_free_port(gameport);
1998 gameport->io = joystick_port[dev];
1999 gameport_register_port(gameport);
2010 struct gameport *gameport = pci_get_drvdata(pci); local
[all...]
/linux-master/sound/pci/
H A Dsonicvibes.c16 #include <linux/gameport.h>
225 struct gameport *gameport; member in struct:sonicvibes
1159 struct gameport *gp;
1162 sonic->gameport = gp = gameport_allocate_port();
1165 "sonicvibes: cannot allocate memory for gameport\n");
1186 if (sonic->gameport) {
1187 gameport_unregister_port(sonic->gameport);
1188 sonic->gameport = NULL;
H A Des1938.c39 #include <linux/gameport.h>
217 struct gameport *gameport; member in struct:es1938
1466 struct gameport *gp;
1468 chip->gameport = gp = gameport_allocate_port();
1471 "cannot allocate memory for gameport\n");
1487 if (chip->gameport) {
1488 gameport_unregister_port(chip->gameport);
1489 chip->gameport = NULL;
H A Dens1370.c21 #include <linux/gameport.h>
421 struct gameport *gameport; member in struct:ensoniq
1770 struct gameport *gp;
1781 if (request_region(io_port, 8, "ens137x: gameport"))
1785 "no gameport ports available\n");
1791 if (!request_region(io_port, 8, "ens137x: gameport")) {
1793 "gameport io port %#x in use\n",
1800 ensoniq->gameport = gp = gameport_allocate_port();
1803 "cannot allocate memory for gameport\
[all...]
H A Dvia82xx.c41 #include <linux/gameport.h>
386 struct gameport *gameport; member in struct:via82xx
1911 struct gameport *gp;
1917 "VIA686 gameport")) {
1923 chip->gameport = gp = gameport_allocate_port();
1926 "cannot allocate memory for gameport\n");
1939 gameport_register_port(chip->gameport);
1946 if (chip->gameport) {
1947 gameport_unregister_port(chip->gameport);
[all...]
H A Des1968.c90 #include <linux/gameport.h>
530 struct gameport *gameport; member in struct:es1968
2418 struct gameport *gp;
2426 "ES1968 gameport");
2430 chip->gameport = gp = gameport_allocate_port();
2433 "cannot allocate memory for gameport\n");
2452 if (chip->gameport) {
2453 gameport_unregister_port(chip->gameport);
2454 chip->gameport
[all...]
H A Dcmipci.c16 #include <linux/gameport.h>
484 struct gameport *gameport; member in struct:cmipci
2838 struct gameport *gp;
2849 "CMIPCI gameport");
2856 "CMIPCI gameport");
2864 cm->gameport = gp = gameport_allocate_port();
2866 dev_err(cm->card->dev, "cannot allocate memory for gameport\n");
2876 gameport_register_port(cm->gameport);
2883 if (cm->gameport) {
[all...]
/linux-master/sound/pci/cs46xx/
H A Dcs46xx_lib.c40 #include <linux/gameport.h>
2686 * gameport interface
2691 static void snd_cs46xx_gameport_trigger(struct gameport *gameport) argument
2693 struct snd_cs46xx *chip = gameport_get_port_data(gameport);
2697 snd_cs46xx_pokeBA0(chip, BA0_JSPT, 0xFF); //outb(gameport->io, 0xFF);
2700 static unsigned char snd_cs46xx_gameport_read(struct gameport *gameport) argument
2702 struct snd_cs46xx *chip = gameport_get_port_data(gameport);
2706 return snd_cs46xx_peekBA0(chip, BA0_JSPT); //inb(gameport
2709 snd_cs46xx_gameport_cooked_read(struct gameport *gameport, int *axes, int *buttons) argument
2733 snd_cs46xx_gameport_open(struct gameport *gameport, int mode) argument
[all...]
H A Dcs46xx.h1693 struct gameport *gameport; member in struct:snd_cs46xx
/linux-master/drivers/
H A DMakefile110 obj-$(CONFIG_GAMEPORT) += input/gameport/

Completed in 242 milliseconds

12