Lines Matching full:gp
84 struct gameport *gp; in vortex_gameport_register() local
86 vortex->gameport = gp = gameport_allocate_port(); in vortex_gameport_register()
87 if (!gp) { in vortex_gameport_register()
93 gameport_set_name(gp, "AU88x0 Gameport"); in vortex_gameport_register()
94 gameport_set_phys(gp, "pci%s/gameport0", pci_name(vortex->pci_dev)); in vortex_gameport_register()
95 gameport_set_dev_parent(gp, &vortex->pci_dev->dev); in vortex_gameport_register()
97 gp->read = vortex_game_read; in vortex_gameport_register()
98 gp->trigger = vortex_game_trigger; in vortex_gameport_register()
99 gp->cooked_read = vortex_game_cooked_read; in vortex_gameport_register()
100 gp->open = vortex_game_open; in vortex_gameport_register()
102 gameport_set_port_data(gp, vortex); in vortex_gameport_register()
103 gp->fuzz = 64; in vortex_gameport_register()
105 gameport_register_port(gp); in vortex_gameport_register()