Lines Matching refs:gameport
30 static int joydump_connect(struct gameport *gameport, struct gameport_driver *drv) in joydump_connect() argument
40 printk(KERN_INFO "joydump: | Dumping: %30s |\n", gameport->phys); in joydump_connect()
41 printk(KERN_INFO "joydump: | Speed: %28d kHz |\n", gameport->speed); in joydump_connect()
43 if (gameport_open(gameport, drv, GAMEPORT_MODE_RAW)) { in joydump_connect()
47 if (gameport_open(gameport, drv, GAMEPORT_MODE_COOKED)) { in joydump_connect()
54 gameport_cooked_read(gameport, axes, &buttons); in joydump_connect()
62 timeout = gameport_time(gameport, 10000); /* 10 ms */ in joydump_connect()
75 u = gameport_read(gameport); in joydump_connect()
81 gameport_trigger(gameport); in joydump_connect()
85 dump->data = gameport_read(gameport); in joydump_connect()
128 static void joydump_disconnect(struct gameport *gameport) in joydump_disconnect() argument
130 gameport_close(gameport); in joydump_disconnect()