Lines Matching defs:gameport
29 #include <linux/gameport.h>
502 struct gameport *gameport;
2850 struct gameport *gp;
2860 r = request_region(io_port, 1, "CMIPCI gameport");
2866 r = request_region(io_port, 1, "CMIPCI gameport");
2874 cm->gameport = gp = gameport_allocate_port();
2876 printk(KERN_ERR "cmipci: cannot allocate memory for gameport\n");
2888 gameport_register_port(cm->gameport);
2895 if (cm->gameport) {
2896 struct resource *r = gameport_get_port_data(cm->gameport);
2898 gameport_unregister_port(cm->gameport);
2899 cm->gameport = NULL;