Lines Matching refs:pEnt
346 EntityInfoPtr pEnt = xf86GetEntityInfo(pScrn->entityList[0]);
348 if (!pEnt)
351 i = pEnt->index;
352 free(pEnt);
382 pRiva->pEnt = xf86GetEntityInfo(pScrn->entityList[0]);
383 if (pRiva->pEnt->location.type != BUS_PCI)
387 pRiva->PciInfo = xf86GetPciInfoForEntity(pRiva->pEnt->index);
399 pRiva->pInt = xf86InitInt10(pRiva->pEnt->index);
404 xf86SetOperatingState(resVgaIo, pRiva->pEnt->index, ResUnusedOpr);
405 xf86SetOperatingState(resVgaMem, pRiva->pEnt->index, ResDisableOpr);
586 if (pRiva->pEnt->device->MemBase != 0) {
588 if (!xf86CheckPciMemBase(pRiva->PciInfo, pRiva->pEnt->device->MemBase)) {
591 pRiva->pEnt->device->MemBase);
596 pRiva->FbAddress = pRiva->pEnt->device->MemBase;
615 if (pRiva->pEnt->device->IOBase != 0) {
617 if (!xf86CheckPciMemBase(pRiva->PciInfo, pRiva->pEnt->device->IOBase)) {
620 pRiva->pEnt->device->IOBase);
625 pRiva->IOAddress = pRiva->pEnt->device->IOBase;
644 if (xf86RegisterResources(pRiva->pEnt->index, NULL, ResExclusive)) {
658 if (pRiva->pEnt->device->videoRam != 0) {
659 pScrn->videoRam = pRiva->pEnt->device->videoRam;