Lines Matching refs:gameport
50 static int joydump_connect(struct gameport *gameport, struct gameport_driver *drv) in joydump_connect() argument
60 printk(KERN_INFO "joydump: | Dumping: %30s |\n", gameport->phys); in joydump_connect()
61 printk(KERN_INFO "joydump: | Speed: %28d kHz |\n", gameport->speed); in joydump_connect()
63 if (gameport_open(gameport, drv, GAMEPORT_MODE_RAW)) { in joydump_connect()
67 if (gameport_open(gameport, drv, GAMEPORT_MODE_COOKED)) { in joydump_connect()
74 gameport_cooked_read(gameport, axes, &buttons); in joydump_connect()
82 timeout = gameport_time(gameport, 10000); /* 10 ms */ in joydump_connect()
95 u = gameport_read(gameport); in joydump_connect()
101 gameport_trigger(gameport); in joydump_connect()
105 dump->data = gameport_read(gameport); in joydump_connect()
148 static void joydump_disconnect(struct gameport *gameport) in joydump_disconnect() argument
150 gameport_close(gameport); in joydump_disconnect()