Lines Matching defs:gameport
29 #include <linux/gameport.h>
434 struct gameport *gameport;
1784 struct gameport *gp;
1795 if (request_region(io_port, 8, "ens137x: gameport"))
1798 printk(KERN_WARNING "ens137x: no gameport ports available\n");
1804 if (!request_region(io_port, 8, "ens137x: gameport")) {
1805 printk(KERN_WARNING "ens137x: gameport io port 0x%#x in use\n",
1812 ensoniq->gameport = gp = gameport_allocate_port();
1814 printk(KERN_ERR "ens137x: cannot allocate memory for gameport\n");
1831 gameport_register_port(ensoniq->gameport);
1838 if (ensoniq->gameport) {
1839 int port = ensoniq->gameport->io;
1841 gameport_unregister_port(ensoniq->gameport);
1842 ensoniq->gameport = NULL;