Lines Matching refs:pApm
35 WaitForFifo(ApmPtr pApm, int slots)
37 if (!pApm->UsePCIRetry) {
55 void ApmHWCursorReserveSpace(ApmPtr pApm)
57 pApm->OffscreenReserved += 2 * CURSORALIGN;
58 pApm->DisplayedCursorAddress = pApm->BaseCursorAddress =
59 pApm->CursorAddress = 1024 * xf86ScreenToScrn(pApm->pScreen)->videoRam -
60 pApm->OffscreenReserved;
75 pApm->CursorInfoRec = infoPtr;
101 WaitForFifo(pApm, 2);
102 WRXW(0x144, pApm->CursorAddress >> 10);
104 pApm->DisplayedCursorAddress = pApm->CursorAddress;
113 WaitForFifo(pApm, 1);
129 WaitForFifo(pApm, 1);
147 WaitForFifo(pApm, 2);
159 if (pApm->CurrentLayout.bitsPerPixel == 8)
161 WaitForFifo(pApm, 2);
175 WaitForFifo(pApm, 2);
194 * Note: 2*pApm->BaseCursorAddress + CURSORALIGN (=1024) < 2^31 all the time.
196 pApm->CursorAddress = 2*pApm->BaseCursorAddress + CURSORALIGN - pApm->DisplayedCursorAddress;
197 memcpy((u8*)pApm->FbBase + pApm->CursorAddress, tmp, sizeof tmp);