Home
last modified time | relevance | path

Searched defs:gameport (Results 1 – 25 of 36) sorted by relevance

12

/linux-6.6.21/include/linux/ !
Dgameport.h16 struct gameport { struct
18 void *port_data; /* Private pointer for gameport drivers */ argument
26 void (*trigger)(struct gameport *); argument
27 unsigned char (*read)(struct gameport *); argument
28 int (*cooked_read)(struct gameport *, int *, int *); argument
29 int (*calibrate)(struct gameport *, int *, int *); argument
30 int (*open)(struct gameport *, int); argument
31 void (*close)(struct gameport *); argument
37 void (*poll_handler)(struct gameport *); argument
39 struct gameport *parent, *child; argument
[all …]
/linux-6.6.21/drivers/input/gameport/ !
Dgameport.c77 static int gameport_measure_speed(struct gameport *gameport) in gameport_measure_speed()
109 static int old_gameport_measure_speed(struct gameport *gameport) in old_gameport_measure_speed()
175 void gameport_start_polling(struct gameport *gameport) in gameport_start_polling()
189 void gameport_stop_polling(struct gameport *gameport) in gameport_stop_polling()
202 struct gameport *gameport = from_timer(gameport, t, poll_timer); in gameport_run_poll_handler() local
213 static int gameport_bind_driver(struct gameport *gameport, struct gameport_driver *drv) in gameport_bind_driver()
237 static void gameport_find_driver(struct gameport *gameport) in gameport_find_driver()
434 struct gameport *gameport, *child = NULL; in gameport_get_pending_child() local
459 struct gameport *gameport = to_gameport_port(dev); in gameport_description_show() local
467 struct gameport *gameport = to_gameport_port(dev); in drvctl_store() local
[all …]
Dfm801-gp.c24 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()
Dlightning.c35 struct gameport *gameport; member
57 static int l4_cooked_read(struct gameport *gameport, int *axes, int *buttons) in l4_cooked_read()
90 static int l4_open(struct gameport *gameport, int mode) in l4_open()
177 static int l4_calibrate(struct gameport *gameport, int *axes, int *max) in l4_calibrate()
Demu10k1-gp.c24 struct gameport *gameport; member
Dns558.c33 struct gameport *gameport; member
/linux-6.6.21/drivers/input/joystick/ !
Da3d.c36 struct gameport *gameport; member
52 static int a3d_read_packet(struct gameport *gameport, int length, char *data) in a3d_read_packet()
159 static void a3d_poll(struct gameport *gameport) in a3d_poll()
178 static int a3d_adc_cooked_read(struct gameport *gameport, int *axes, int *buttons) in a3d_adc_cooked_read()
194 static int a3d_adc_open(struct gameport *gameport, int mode) in a3d_adc_open()
209 static void a3d_adc_close(struct gameport *gameport) in a3d_adc_close()
243 static int a3d_connect(struct gameport *gameport, struct gameport_driver *drv) in a3d_connect()
374 static void a3d_disconnect(struct gameport *gameport) in a3d_disconnect()
Dcobra.c29 struct gameport *gameport; member
37 static unsigned char cobra_read_packet(struct gameport *gameport, unsigned int *data) in cobra_read_packet()
91 static void cobra_poll(struct gameport *gameport) in cobra_poll()
136 static int cobra_connect(struct gameport *gameport, struct gameport_driver *drv) in cobra_connect()
222 static void cobra_disconnect(struct gameport *gameport) in cobra_disconnect()
Dgrip.c36 struct gameport *gameport; member
65 static int grip_gpp_read_packet(struct gameport *gameport, int shift, unsigned int *data) in grip_gpp_read_packet()
105 static int grip_xt_read_packet(struct gameport *gameport, int shift, unsigned int *data) in grip_xt_read_packet()
163 static void grip_poll(struct gameport *gameport) in grip_poll()
279 static int grip_connect(struct gameport *gameport, struct gameport_driver *drv) in grip_connect()
384 static void grip_disconnect(struct gameport *gameport) in grip_disconnect()
Dgf2k.c62 struct gameport *gameport; member
75 static int gf2k_read_packet(struct gameport *gameport, int length, char *data) in gf2k_read_packet()
111 static void gf2k_trigger_seq(struct gameport *gameport, short *seq) in gf2k_trigger_seq()
186 static void gf2k_poll(struct gameport *gameport) in gf2k_poll()
218 static int gf2k_connect(struct gameport *gameport, struct gameport_driver *drv) in gf2k_connect()
337 static void gf2k_disconnect(struct gameport *gameport) in gf2k_disconnect()
Dguillemot.c48 struct gameport *gameport; member
65 static int guillemot_read_packet(struct gameport *gameport, u8 *data) in guillemot_read_packet()
102 static void guillemot_poll(struct gameport *gameport) in guillemot_poll()
158 static int guillemot_connect(struct gameport *gameport, struct gameport_driver *drv) in guillemot_connect()
245 static void guillemot_disconnect(struct gameport *gameport) in guillemot_disconnect()
Dinteract.c35 struct gameport *gameport; member
72 static int interact_read_packet(struct gameport *gameport, int length, u32 *data) in interact_read_packet()
109 static void interact_poll(struct gameport *gameport) in interact_poll()
187 static int interact_connect(struct gameport *gameport, struct gameport_driver *drv) in interact_connect()
275 static void interact_disconnect(struct gameport *gameport) in interact_disconnect()
Dgrip_mp.c52 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()
Danalog.c100 struct gameport *gameport; member
169 struct gameport *gameport = port->gameport; in analog_cooked_read() local
249 static void analog_poll(struct gameport *gameport) in analog_poll()
309 struct gameport *gameport = port->gameport; in analog_calibrate_timer() local
516 static int analog_init_port(struct gameport *gameport, struct gameport_driver *drv, struct analog_p… in analog_init_port()
579 static int analog_connect(struct gameport *gameport, struct gameport_driver *drv) in analog_connect()
617 static void analog_disconnect(struct gameport *gameport) in analog_disconnect()
Dadi.c109 struct gameport *gameport; member
122 struct gameport *gameport = port->gameport; in adi_read_packet() local
259 static void adi_poll(struct gameport *gameport) in adi_poll()
295 static void adi_init_digital(struct gameport *gameport) in adi_init_digital()
453 static int adi_connect(struct gameport *gameport, struct gameport_driver *drv) in adi_connect()
526 static void adi_disconnect(struct gameport *gameport) in adi_disconnect()
Dsidewinder.c96 struct gameport *gameport; member
116 static int sw_read_packet(struct gameport *gameport, unsigned char *buf, int length, int id) in sw_read_packet()
221 static void sw_init_digital(struct gameport *gameport) in sw_init_digital()
481 static void sw_poll(struct gameport *gameport) in sw_poll()
567 static int sw_connect(struct gameport *gameport, struct gameport_driver *drv) in sw_connect()
787 static void sw_disconnect(struct gameport *gameport) in sw_disconnect()
Dtmdc.c105 struct gameport *gameport; member
127 static int tmdc_read_packet(struct gameport *gameport, unsigned char data[2][TMDC_MAX_LENGTH]) in tmdc_read_packet()
220 static void tmdc_poll(struct gameport *gameport) in tmdc_poll()
344 static int tmdc_connect(struct gameport *gameport, struct gameport_driver *drv) in tmdc_connect()
393 static void tmdc_disconnect(struct gameport *gameport) in tmdc_disconnect()
Djoydump.c30 static int joydump_connect(struct gameport *gameport, struct gameport_driver *drv) in joydump_connect()
128 static void joydump_disconnect(struct gameport *gameport) in joydump_disconnect()
/linux-6.6.21/sound/pci/au88x0/ !
Dau88x0_game.c30 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()
Dau88x0.h170 struct gameport *gameport; member
/linux-6.6.21/sound/isa/ !
Dcmi8328.c47 static bool gameport[CMI8328_MAX] = {[0 ... (CMI8328_MAX-1)] = true}; variable
80 struct gameport *gameport; member
/linux-6.6.21/sound/pci/ !
Dcs4281.c471 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()
Dazt3328.c285 struct gameport *gameport; member
1686 snd_azf3328_gameport_open(struct gameport *gameport, int mode) in snd_azf3328_gameport_open()
1710 snd_azf3328_gameport_close(struct gameport *gameport) in snd_azf3328_gameport_close()
1721 snd_azf3328_gameport_cooked_read(struct gameport *gameport, in snd_azf3328_gameport_cooked_read()
/linux-6.6.21/sound/pci/trident/ !
Dtrident_main.c3097 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-6.6.21/sound/pci/cs46xx/ !
Dcs46xx_lib.c2691 static void snd_cs46xx_gameport_trigger(struct gameport *gameport) in snd_cs46xx_gameport_trigger()
2700 static unsigned char snd_cs46xx_gameport_read(struct gameport *gameport) in snd_cs46xx_gameport_read()
2709 static int snd_cs46xx_gameport_cooked_read(struct gameport *gameport, int *axes, int *buttons) in snd_cs46xx_gameport_cooked_read()
2733 static int snd_cs46xx_gameport_open(struct gameport *gameport, int mode) in snd_cs46xx_gameport_open()

12