/linux/include/linux/ |
A D | gameport.h | 17 struct gameport { struct 27 void (*trigger)(struct gameport *); argument 28 unsigned char (*read)(struct gameport *); argument 31 int (*open)(struct gameport *, int); argument 32 void (*close)(struct gameport *); argument 38 void (*poll_handler)(struct gameport *); argument 40 struct gameport *parent, *child; argument 42 struct gameport_driver *drv; argument 49 #define to_gameport_port(d) container_of(d, struct gameport, dev) argument 71 #define gameport_register_port(gameport) \ argument [all …]
|
/linux/drivers/input/gameport/ |
A D | gameport.c | 78 static int gameport_measure_speed(struct gameport *gameport) in gameport_measure_speed() 176 void gameport_start_polling(struct gameport *gameport) in gameport_start_polling() 190 void gameport_stop_polling(struct gameport *gameport) in gameport_stop_polling() 435 struct gameport *gameport, *child = NULL; in gameport_get_pending_child() local 460 struct gameport *gameport = to_gameport_port(dev); in gameport_description_show() local 468 struct gameport *gameport = to_gameport_port(dev); in drvctl_store() local 505 struct gameport *gameport = to_gameport_port(dev); in gameport_release_port() local 693 struct gameport *gameport = to_gameport_port(dev); in gameport_driver_probe() local 702 struct gameport *gameport = to_gameport_port(dev); in gameport_driver_remove() local 756 struct gameport *gameport; in gameport_unregister_driver() local [all …]
|
A D | fm801-gp.c | 24 struct gameport *gameport; member 29 static int fm801_gp_cooked_read(struct gameport *gameport, int *axes, int *buttons) in fm801_gp_cooked_read() 49 static int fm801_gp_open(struct gameport *gameport, int mode) in fm801_gp_open()
|
A D | lightning.c | 38 struct gameport *gameport; member 60 static int l4_cooked_read(struct gameport *gameport, int *axes, int *buttons) in l4_cooked_read() 93 static int l4_open(struct gameport *gameport, int mode) in l4_open() 180 static int l4_calibrate(struct gameport *gameport, int *axes, int *max) in l4_calibrate()
|
A D | emu10k1-gp.c | 27 struct gameport *gameport; member
|
A D | ns558.c | 36 struct gameport *gameport; member
|
/linux/drivers/input/joystick/ |
A D | a3d.c | 39 struct gameport *gameport; member 55 static int a3d_read_packet(struct gameport *gameport, int length, char *data) in a3d_read_packet() 162 static void a3d_poll(struct gameport *gameport) in a3d_poll() 181 static int a3d_adc_cooked_read(struct gameport *gameport, int *axes, int *buttons) in a3d_adc_cooked_read() 197 static int a3d_adc_open(struct gameport *gameport, int mode) in a3d_adc_open() 212 static void a3d_adc_close(struct gameport *gameport) in a3d_adc_close() 246 static int a3d_connect(struct gameport *gameport, struct gameport_driver *drv) in a3d_connect() 377 static void a3d_disconnect(struct gameport *gameport) in a3d_disconnect()
|
A D | cobra.c | 32 struct gameport *gameport; member 40 static unsigned char cobra_read_packet(struct gameport *gameport, unsigned int *data) in cobra_read_packet() 94 static void cobra_poll(struct gameport *gameport) in cobra_poll() 139 static int cobra_connect(struct gameport *gameport, struct gameport_driver *drv) in cobra_connect() 225 static void cobra_disconnect(struct gameport *gameport) in cobra_disconnect()
|
A D | grip.c | 39 struct gameport *gameport; member 68 static int grip_gpp_read_packet(struct gameport *gameport, int shift, unsigned int *data) in grip_gpp_read_packet() 108 static int grip_xt_read_packet(struct gameport *gameport, int shift, unsigned int *data) in grip_xt_read_packet() 166 static void grip_poll(struct gameport *gameport) in grip_poll() 282 static int grip_connect(struct gameport *gameport, struct gameport_driver *drv) in grip_connect() 387 static void grip_disconnect(struct gameport *gameport) in grip_disconnect()
|
A D | gf2k.c | 65 struct gameport *gameport; member 78 static int gf2k_read_packet(struct gameport *gameport, int length, char *data) in gf2k_read_packet() 114 static void gf2k_trigger_seq(struct gameport *gameport, short *seq) in gf2k_trigger_seq() 189 static void gf2k_poll(struct gameport *gameport) in gf2k_poll() 221 static int gf2k_connect(struct gameport *gameport, struct gameport_driver *drv) in gf2k_connect() 340 static void gf2k_disconnect(struct gameport *gameport) in gf2k_disconnect()
|
A D | guillemot.c | 51 struct gameport *gameport; member 68 static int guillemot_read_packet(struct gameport *gameport, u8 *data) in guillemot_read_packet() 105 static void guillemot_poll(struct gameport *gameport) in guillemot_poll() 161 static int guillemot_connect(struct gameport *gameport, struct gameport_driver *drv) in guillemot_connect() 248 static void guillemot_disconnect(struct gameport *gameport) in guillemot_disconnect()
|
A D | interact.c | 38 struct gameport *gameport; member 75 static int interact_read_packet(struct gameport *gameport, int length, u32 *data) in interact_read_packet() 112 static void interact_poll(struct gameport *gameport) in interact_poll() 190 static int interact_connect(struct gameport *gameport, struct gameport_driver *drv) in interact_connect() 278 static void interact_disconnect(struct gameport *gameport) in interact_disconnect()
|
A D | grip_mp.c | 52 struct gameport *gameport; member 164 static int mp_io(struct gameport* gameport, int sendflags, int sendcode, u32 *packet) in mp_io() 301 static int multiport_io(struct gameport* gameport, int sendflags, int sendcode, u32 *packet) in multiport_io() 319 static int dig_mode_start(struct gameport *gameport, u32 *packet) in dig_mode_start() 536 static void grip_poll(struct gameport *gameport) in grip_poll() 630 static int grip_connect(struct gameport *gameport, struct gameport_driver *drv) in grip_connect() 668 static void grip_disconnect(struct gameport *gameport) in grip_disconnect()
|
A D | analog.c | 103 struct gameport *gameport; member 172 struct gameport *gameport = port->gameport; in analog_cooked_read() local 252 static void analog_poll(struct gameport *gameport) in analog_poll() 312 struct gameport *gameport = port->gameport; in analog_calibrate_timer() local 519 static int analog_init_port(struct gameport *gameport, struct gameport_driver *drv, struct analog_p… in analog_init_port() 582 static int analog_connect(struct gameport *gameport, struct gameport_driver *drv) in analog_connect() 620 static void analog_disconnect(struct gameport *gameport) in analog_disconnect()
|
A D | adi.c | 112 struct gameport *gameport; member 125 struct gameport *gameport = port->gameport; in adi_read_packet() local 262 static void adi_poll(struct gameport *gameport) in adi_poll() 298 static void adi_init_digital(struct gameport *gameport) in adi_init_digital() 456 static int adi_connect(struct gameport *gameport, struct gameport_driver *drv) in adi_connect() 529 static void adi_disconnect(struct gameport *gameport) in adi_disconnect()
|
A D | sidewinder.c | 99 struct gameport *gameport; member 119 static int sw_read_packet(struct gameport *gameport, unsigned char *buf, int length, int id) in sw_read_packet() 224 static void sw_init_digital(struct gameport *gameport) in sw_init_digital() 484 static void sw_poll(struct gameport *gameport) in sw_poll() 570 static int sw_connect(struct gameport *gameport, struct gameport_driver *drv) in sw_connect() 790 static void sw_disconnect(struct gameport *gameport) in sw_disconnect()
|
A D | tmdc.c | 108 struct gameport *gameport; member 130 static int tmdc_read_packet(struct gameport *gameport, unsigned char data[2][TMDC_MAX_LENGTH]) in tmdc_read_packet() 223 static void tmdc_poll(struct gameport *gameport) in tmdc_poll() 347 static int tmdc_connect(struct gameport *gameport, struct gameport_driver *drv) in tmdc_connect() 396 static void tmdc_disconnect(struct gameport *gameport) in tmdc_disconnect()
|
A D | joydump.c | 33 static int joydump_connect(struct gameport *gameport, struct gameport_driver *drv) in joydump_connect() 131 static void joydump_disconnect(struct gameport *gameport) in joydump_disconnect()
|
/linux/sound/pci/au88x0/ |
A D | au88x0_game.c | 30 static unsigned char vortex_game_read(struct gameport *gameport) in vortex_game_read() 36 static void vortex_game_trigger(struct gameport *gameport) in vortex_game_trigger() 43 vortex_game_cooked_read(struct gameport *gameport, int *axes, int *buttons) in vortex_game_cooked_read() 59 static int vortex_game_open(struct gameport *gameport, int mode) in vortex_game_open()
|
A D | au88x0.h | 170 struct gameport *gameport; member
|
/linux/sound/isa/ |
A D | cmi8328.c | 47 static bool gameport[CMI8328_MAX] = {[0 ... (CMI8328_MAX-1)] = true}; variable 80 struct gameport *gameport; member
|
/linux/sound/pci/ |
A D | cs4281.c | 471 struct gameport *gameport; member 1169 static void snd_cs4281_gameport_trigger(struct gameport *gameport) in snd_cs4281_gameport_trigger() 1178 static unsigned char snd_cs4281_gameport_read(struct gameport *gameport) in snd_cs4281_gameport_read() 1188 static int snd_cs4281_gameport_cooked_read(struct gameport *gameport, in snd_cs4281_gameport_cooked_read() 1216 static int snd_cs4281_gameport_open(struct gameport *gameport, int mode) in snd_cs4281_gameport_open()
|
A D | azt3328.c | 285 struct gameport *gameport; member 1695 snd_azf3328_gameport_open(struct gameport *gameport, int mode) in snd_azf3328_gameport_open() 1719 snd_azf3328_gameport_close(struct gameport *gameport) in snd_azf3328_gameport_close() 1730 snd_azf3328_gameport_cooked_read(struct gameport *gameport, in snd_azf3328_gameport_cooked_read()
|
/linux/sound/pci/trident/ |
A D | trident_main.c | 3097 static unsigned char snd_trident_gameport_read(struct gameport *gameport) in snd_trident_gameport_read() 3106 static void snd_trident_gameport_trigger(struct gameport *gameport) in snd_trident_gameport_trigger() 3115 static int snd_trident_gameport_cooked_read(struct gameport *gameport, int *axes, int *buttons) in snd_trident_gameport_cooked_read() 3133 static int snd_trident_gameport_open(struct gameport *gameport, int mode) in snd_trident_gameport_open()
|
/linux/sound/pci/cs46xx/ |
A D | cs46xx_lib.c | 2694 static void snd_cs46xx_gameport_trigger(struct gameport *gameport) in snd_cs46xx_gameport_trigger() 2703 static unsigned char snd_cs46xx_gameport_read(struct gameport *gameport) in snd_cs46xx_gameport_read() 2712 static int snd_cs46xx_gameport_cooked_read(struct gameport *gameport, int *axes, int *buttons) in snd_cs46xx_gameport_cooked_read() 2736 static int snd_cs46xx_gameport_open(struct gameport *gameport, int mode) in snd_cs46xx_gameport_open()
|