Home
last modified time | relevance | path

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

12

/linux-2.6.39/include/linux/
Dgameport.h21 struct gameport { struct
23 void *port_data; /* Private pointer for gameport drivers */ argument
31 void (*trigger)(struct gameport *); argument
32 unsigned char (*read)(struct gameport *); argument
33 int (*cooked_read)(struct gameport *, int *, int *); argument
34 int (*calibrate)(struct gameport *, int *, int *); argument
35 int (*open)(struct gameport *, int); argument
36 void (*close)(struct gameport *); argument
42 void (*poll_handler)(struct gameport *); argument
44 struct gameport *parent, *child; argument
[all …]
/linux-2.6.39/drivers/input/gameport/
Dgameport.c77 static int gameport_measure_speed(struct gameport *gameport) in gameport_measure_speed()
143 void gameport_start_polling(struct gameport *gameport) in gameport_start_polling()
157 void gameport_stop_polling(struct gameport *gameport) in gameport_stop_polling()
170 struct gameport *gameport = (struct gameport *)d; in gameport_run_poll_handler() local
181 static int gameport_bind_driver(struct gameport *gameport, struct gameport_driver *drv) in gameport_bind_driver()
205 static void gameport_find_driver(struct gameport *gameport) in gameport_find_driver()
402 struct gameport *gameport, *child = NULL; in gameport_get_pending_child() local
427 struct gameport *gameport = to_gameport_port(dev); in gameport_show_description() local
434 struct gameport *gameport = to_gameport_port(dev); in gameport_rebind_driver() local
470 struct gameport *gameport = to_gameport_port(dev); in gameport_release_port() local
[all …]
Dfm801-gp.c40 struct gameport *gameport; member
45 static int fm801_gp_cooked_read(struct gameport *gameport, int *axes, int *buttons) in fm801_gp_cooked_read()
65 static int fm801_gp_open(struct gameport *gameport, int mode) in fm801_gp_open()
Dlightning.c54 struct gameport *gameport; member
76 static int l4_cooked_read(struct gameport *gameport, int *axes, int *buttons) in l4_cooked_read()
109 static int l4_open(struct gameport *gameport, int mode) in l4_open()
196 static int l4_calibrate(struct gameport *gameport, int *axes, int *max) in l4_calibrate()
Demu10k1-gp.c44 struct gameport *gameport; member
Dns558.c52 struct gameport *gameport; member
/linux-2.6.39/sound/pci/au88x0/
Dau88x0_game.c42 static unsigned char vortex_game_read(struct gameport *gameport) in vortex_game_read()
48 static void vortex_game_trigger(struct gameport *gameport) in vortex_game_trigger()
55 vortex_game_cooked_read(struct gameport *gameport, int *axes, int *buttons) in vortex_game_cooked_read()
71 static int vortex_game_open(struct gameport *gameport, int mode) in vortex_game_open()
Dau88x0.h174 struct gameport *gameport; member
/linux-2.6.39/drivers/input/joystick/
Da3d.c56 struct gameport *gameport; member
72 static int a3d_read_packet(struct gameport *gameport, int length, char *data) in a3d_read_packet()
179 static void a3d_poll(struct gameport *gameport) in a3d_poll()
198 static int a3d_adc_cooked_read(struct gameport *gameport, int *axes, int *buttons) in a3d_adc_cooked_read()
214 static int a3d_adc_open(struct gameport *gameport, int mode) in a3d_adc_open()
229 static void a3d_adc_close(struct gameport *gameport) in a3d_adc_close()
263 static int a3d_connect(struct gameport *gameport, struct gameport_driver *drv) in a3d_connect()
394 static void a3d_disconnect(struct gameport *gameport) in a3d_disconnect()
Dcobra.c49 struct gameport *gameport; member
57 static unsigned char cobra_read_packet(struct gameport *gameport, unsigned int *data) in cobra_read_packet()
111 static void cobra_poll(struct gameport *gameport) in cobra_poll()
156 static int cobra_connect(struct gameport *gameport, struct gameport_driver *drv) in cobra_connect()
242 static void cobra_disconnect(struct gameport *gameport) in cobra_disconnect()
Dgrip.c56 struct gameport *gameport; member
85 static int grip_gpp_read_packet(struct gameport *gameport, int shift, unsigned int *data) in grip_gpp_read_packet()
125 static int grip_xt_read_packet(struct gameport *gameport, int shift, unsigned int *data) in grip_xt_read_packet()
183 static void grip_poll(struct gameport *gameport) in grip_poll()
299 static int grip_connect(struct gameport *gameport, struct gameport_driver *drv) in grip_connect()
404 static void grip_disconnect(struct gameport *gameport) in grip_disconnect()
Dgf2k.c82 struct gameport *gameport; member
95 static int gf2k_read_packet(struct gameport *gameport, int length, char *data) in gf2k_read_packet()
131 static void gf2k_trigger_seq(struct gameport *gameport, short *seq) in gf2k_trigger_seq()
206 static void gf2k_poll(struct gameport *gameport) in gf2k_poll()
238 static int gf2k_connect(struct gameport *gameport, struct gameport_driver *drv) in gf2k_connect()
357 static void gf2k_disconnect(struct gameport *gameport) in gf2k_disconnect()
Dguillemot.c68 struct gameport *gameport; member
85 static int guillemot_read_packet(struct gameport *gameport, u8 *data) in guillemot_read_packet()
122 static void guillemot_poll(struct gameport *gameport) in guillemot_poll()
178 static int guillemot_connect(struct gameport *gameport, struct gameport_driver *drv) in guillemot_connect()
265 static void guillemot_disconnect(struct gameport *gameport) in guillemot_disconnect()
Dinteract.c55 struct gameport *gameport; member
92 static int interact_read_packet(struct gameport *gameport, int length, u32 *data) in interact_read_packet()
129 static void interact_poll(struct gameport *gameport) in interact_poll()
207 static int interact_connect(struct gameport *gameport, struct gameport_driver *drv) in interact_connect()
295 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()
Dadi.c129 struct gameport *gameport; member
142 struct gameport *gameport = port->gameport; in adi_read_packet() local
279 static void adi_poll(struct gameport *gameport) in adi_poll()
315 static void adi_init_digital(struct gameport *gameport) in adi_init_digital()
473 static int adi_connect(struct gameport *gameport, struct gameport_driver *drv) in adi_connect()
547 static void adi_disconnect(struct gameport *gameport) in adi_disconnect()
Dsidewinder.c116 struct gameport *gameport; member
136 static int sw_read_packet(struct gameport *gameport, unsigned char *buf, int length, int id) in sw_read_packet()
241 static void sw_init_digital(struct gameport *gameport) in sw_init_digital()
501 static void sw_poll(struct gameport *gameport) in sw_poll()
587 static int sw_connect(struct gameport *gameport, struct gameport_driver *drv) in sw_connect()
801 static void sw_disconnect(struct gameport *gameport) in sw_disconnect()
Djoydump.c50 static int joydump_connect(struct gameport *gameport, struct gameport_driver *drv) in joydump_connect()
148 static void joydump_disconnect(struct gameport *gameport) in joydump_disconnect()
Dtmdc.c125 struct gameport *gameport; member
147 static int tmdc_read_packet(struct gameport *gameport, unsigned char data[2][TMDC_MAX_LENGTH]) in tmdc_read_packet()
240 static void tmdc_poll(struct gameport *gameport) in tmdc_poll()
364 static int tmdc_connect(struct gameport *gameport, struct gameport_driver *drv) in tmdc_connect()
413 static void tmdc_disconnect(struct gameport *gameport) in tmdc_disconnect()
Danalog.c117 struct gameport *gameport; member
232 struct gameport *gameport = port->gameport; in analog_cooked_read() local
311 static void analog_poll(struct gameport *gameport) in analog_poll()
371 struct gameport *gameport = port->gameport; in analog_calibrate_timer() local
585 static int analog_init_port(struct gameport *gameport, struct gameport_driver *drv, struct analog_p… in analog_init_port()
648 static int analog_connect(struct gameport *gameport, struct gameport_driver *drv) in analog_connect()
686 static void analog_disconnect(struct gameport *gameport) in analog_disconnect()
/linux-2.6.39/sound/pci/
Dcs4281.c487 struct gameport *gameport; member
1200 static void snd_cs4281_gameport_trigger(struct gameport *gameport) in snd_cs4281_gameport_trigger()
1209 static unsigned char snd_cs4281_gameport_read(struct gameport *gameport) in snd_cs4281_gameport_read()
1219 static int snd_cs4281_gameport_cooked_read(struct gameport *gameport, in snd_cs4281_gameport_cooked_read()
1247 static int snd_cs4281_gameport_open(struct gameport *gameport, int mode) in snd_cs4281_gameport_open()
Dazt3328.c355 struct gameport *gameport; member
1802 snd_azf3328_gameport_open(struct gameport *gameport, int mode) in snd_azf3328_gameport_open()
1826 snd_azf3328_gameport_close(struct gameport *gameport) in snd_azf3328_gameport_close()
1837 snd_azf3328_gameport_cooked_read(struct gameport *gameport, in snd_azf3328_gameport_cooked_read()
Dals4000.c115 struct gameport *gameport; member
/linux-2.6.39/sound/pci/cs46xx/
Dcs46xx_lib.c2560 static void snd_cs46xx_gameport_trigger(struct gameport *gameport) in snd_cs46xx_gameport_trigger()
2569 static unsigned char snd_cs46xx_gameport_read(struct gameport *gameport) in snd_cs46xx_gameport_read()
2578 static int snd_cs46xx_gameport_cooked_read(struct gameport *gameport, int *axes, int *buttons) in snd_cs46xx_gameport_cooked_read()
2602 static int snd_cs46xx_gameport_open(struct gameport *gameport, int mode) in snd_cs46xx_gameport_open()
/linux-2.6.39/sound/pci/trident/
Dtrident_main.c3137 static unsigned char snd_trident_gameport_read(struct gameport *gameport) in snd_trident_gameport_read()
3146 static void snd_trident_gameport_trigger(struct gameport *gameport) in snd_trident_gameport_trigger()
3155 static int snd_trident_gameport_cooked_read(struct gameport *gameport, int *axes, int *buttons) in snd_trident_gameport_cooked_read()
3173 static int snd_trident_gameport_open(struct gameport *gameport, int mode) in snd_trident_gameport_open()

12