Lines Matching refs:pTrident

134     TRIDENTPtr pTrident = TRIDENTPTR(pScrn);
138 pTrident->EngineOperation = 0;
141 pTrident->EngineOperation = 5;
144 pTrident->EngineOperation = 1;
147 pTrident->EngineOperation = 2;
151 IMAGE_OUT(0x2120, 0x40000000 | pTrident->EngineOperation);
165 pTrident->Clipping = FALSE;
166 pTrident->DstEnable = FALSE;
176 TRIDENTPtr pTrident = TRIDENTPTR(pScrn);
178 if (pTrident->NoAccel)
181 pTrident->AccelInfoRec = infoPtr = XAACreateInfoRec();
184 pTrident->InitializeAccelerator = ImageInitializeAccelerator;
246 if (pTrident->Chipset != CYBER9397DVD) {
259 pTrident->XAAScanlineColorExpandBuffers[0] =
265 pTrident->XAAScanlineColorExpandBuffers;
286 pTrident->XAAImageScanlineBuffer;
288 pTrident->XAAImageScanlineBuffer[0] =
291 infoPtr->ImageWriteBase = pTrident->IOBase + 0x10000;
304 TRIDENTPtr pTrident = TRIDENTPTR(pScrn);
308 if (pTrident->Clipping) ImageDisableClipping(pScrn);
309 if (pTrident->DstEnable) {
311 pTrident->DstEnable = FALSE;
328 TRIDENTPtr pTrident = TRIDENTPTR(pScrn);
350 TRIDENTPtr pTrident = TRIDENTPTR(pScrn);
352 pTrident->BltScanDirection = 0;
354 pTrident->BltScanDirection |= (1 << 2);
363 pTrident->DstEnable = TRUE;
373 TRIDENTPtr pTrident = TRIDENTPTR(pScrn);
375 if (pTrident->BltScanDirection) {
389 pTrident->BltScanDirection |
390 (pTrident->Clipping ? 1 : 0));
392 if (!pTrident->UsePCIRetry)
401 TRIDENTPtr pTrident = TRIDENTPTR(pScrn);
406 pTrident->Clipping = TRUE;
412 TRIDENTPtr pTrident = TRIDENTPTR(pScrn);
413 pTrident->Clipping = FALSE;
423 TRIDENTPtr pTrident = TRIDENTPTR(pScrn);
437 TRIDENTPtr pTrident = TRIDENTPTR(pScrn);
443 (pTrident->Clipping ? 1 : 0));
509 if (!pTrident->UsePCIRetry)
520 TRIDENTPtr pTrident = TRIDENTPTR(pScrn);
533 TRIDENTPtr pTrident = TRIDENTPTR(pScrn);
543 (pTrident->Clipping ? 1 : 0));
544 if (!pTrident->UsePCIRetry)
595 TRIDENTPtr pTrident = TRIDENTPTR(pScrn);
622 TRIDENTPtr pTrident = TRIDENTPTR(pScrn);
629 (pTrident->Clipping ? 1 : 0));
630 if (!pTrident->UsePCIRetry)
642 TRIDENTPtr pTrident = TRIDENTPTR(pScrn);
650 pTrident->DstEnable = TRUE;
660 TRIDENTPtr pTrident = TRIDENTPTR(pScrn);
671 (pTrident->Clipping ? 1 : 0));
672 if (!pTrident->UsePCIRetry)
683 TRIDENTPtr pTrident = TRIDENTPTR(pScrn);
688 pTrident->ROP = (2 << 22);
693 pTrident->ROP = (3 << 22);
707 TRIDENTPtr pTrident = TRIDENTPTR(pScrn);
713 IMAGE_OUT(0x2124, 0x80000000 | (pTrident->ROP) | (1 << 10) | 1);
714 pTrident->dwords = (w + 31) >> 5;
715 pTrident->h = h;
721 TRIDENTPtr pTrident = TRIDENTPTR(pScrn);
726 (CARD32*)pTrident->XAAScanlineColorExpandBuffers[bufno],
727 pTrident->dwords);
729 pTrident->h--;
730 if (!pTrident->h)
741 TRIDENTPtr pTrident = TRIDENTPTR(pScrn);
747 pTrident->DstEnable = TRUE;
759 TRIDENTPtr pTrident = TRIDENTPTR(pScrn);
768 pTrident->dwords = ((w * (pScrn->bitsPerPixel / 8)) + 3) >> 2;
769 pTrident->h = h;
776 TRIDENTPtr pTrident = TRIDENTPTR(pScrn);
781 (CARD32*)pTrident->XAAImageScanlineBuffer[bufno],
782 pTrident->dwords);
784 pTrident->h--;
785 if (!pTrident->h)