Lines Matching refs:gp
1263 struct gameport *gp; in snd_cs4281_create_gameport() local
1265 chip->gameport = gp = gameport_allocate_port(); in snd_cs4281_create_gameport()
1266 if (!gp) { in snd_cs4281_create_gameport()
1272 gameport_set_name(gp, "CS4281 Gameport"); in snd_cs4281_create_gameport()
1273 gameport_set_phys(gp, "pci%s/gameport0", pci_name(chip->pci)); in snd_cs4281_create_gameport()
1274 gameport_set_dev_parent(gp, &chip->pci->dev); in snd_cs4281_create_gameport()
1275 gp->open = snd_cs4281_gameport_open; in snd_cs4281_create_gameport()
1276 gp->read = snd_cs4281_gameport_read; in snd_cs4281_create_gameport()
1277 gp->trigger = snd_cs4281_gameport_trigger; in snd_cs4281_create_gameport()
1278 gp->cooked_read = snd_cs4281_gameport_cooked_read; in snd_cs4281_create_gameport()
1279 gameport_set_port_data(gp, chip); in snd_cs4281_create_gameport()
1284 gameport_register_port(gp); in snd_cs4281_create_gameport()