Lines Matching refs:pTrident

232     TRIDENTPtr pTrident = TRIDENTPTR(pScrn);
233 TRIDENTRegPtr pReg = &pTrident->ModeReg;
237 int clock = pTrident->currentClock;
247 if (pTrident->Chipset > PROVIDIA9685) {
273 if (pTrident->IsCyber) {
278 int i = pTrident->lcdMode;
285 if (pTrident->dspOverride) {
286 if (pTrident->dspOverride & LCD_ACTIVE) {
293 if (pTrident->dspOverride & CRT_ACTIVE)
405 pTrident->doInit = ((pReg->tridentRegs3CE[HorStretch] & 1)
413 if (pTrident->FPDelay < 6) {
415 pReg->tridentRegs3CE[CyberControl] |= (pTrident->FPDelay + 2) << 3;
418 if (pTrident->CyberShadow) {
484 if (pTrident->Chipset < BLADEXP) {
508 if (pTrident->Chipset == CYBERBLADEXPAI1
509 || pTrident->Chipset == BLADEXP)
514 if (pTrident->CyberStretch) {
522 switch (pTrident->Chipset) {
557 if (pTrident->UsePCIRetry)
564 if (pTrident->MUX && pScrn->bitsPerPixel == 8) {
586 if (pTrident->Chipset >= TGUI9660)
588 if (pTrident->Chipset == TGUI9440AGi) {
598 if (pTrident->Chipset == CYBERBLADEXP4 ||
599 pTrident->Chipset == XP5 ||
600 pTrident->Chipset == CYBERBLADEE4) {
607 if (pTrident->Chipset != CYBERBLADEXP4
608 && pTrident->Chipset != BLADEXP
609 && pTrident->Chipset != XP5
610 && pTrident->Chipset != CYBERBLADEE4
611 && pTrident->Chipset != CYBERBLADEXPAI1) {
619 if (pTrident->Chipset == CYBERBLADEXP4
620 || pTrident->Chipset == BLADEXP
621 || pTrident->Chipset == XP5
622 || pTrident->Chipset == CYBERBLADEE4
623 || pTrident->Chipset == CYBERBLADEXPAI1) {
639 if (pTrident->MCLK > 0) {
640 TGUISetMCLK(pScrn, pTrident->MCLK, &a, &b);
652 if (pTrident->Chipset < CYBER9385)
654 ((pTrident->FbAddress >> 24) << 6)|
655 ((pTrident->FbAddress >> 20) & 0x0F);
670 if (pTrident->Chipset < BLADEXP)
674 if (pTrident->Chipset >= CYBER9388)
677 if (pTrident->IsCyber && !pTrident->MMIOonly)
680 if (pTrident->NewClockCode && pTrident->Chipset <= CYBER9397DVD) {
689 if (pTrident->Chipset >= TGUI9660) {
695 if (!pTrident->NoAccel)
698 if (!pTrident->NoAccel)
706 if (pTrident->Chipset == CYBER9320 && pScrn->bitsPerPixel > 8)
716 if (pTrident->Chipset >= TGUI9660) {
717 if(pTrident->UsePCIBurst) {
724 if (pTrident->Chipset >= CYBER9388) {
725 if (pTrident->GammaBrightnessOn)
728 pTrident->gamma, pTrident->brightness);
730 pTrident->GammaBrightnessOn,
731 pTrident->gamma, pTrident->brightness);
746 if (pTrident->Chipset > PROVIDIA9685) {
751 if (pTrident->Chipset == CYBERBLADEXP4 ||
752 pTrident->Chipset == XP5)
756 if (pTrident->Chipset == BLADE3D)
765 TRIDENTPtr pTrident = TRIDENTPTR(pScrn);
769 if (pTrident->Chipset > PROVIDIA9685) {
774 if (pTrident->doInit && pTrident->Int10) {
810 if (pTrident->NewClockCode && pTrident->Chipset <= CYBER9397DVD)
812 if (pTrident->Chipset >= CYBER9388) {
828 if (pTrident->Chipset >= CYBER9385) OUTW_3x4(Enhancement0);
829 if (pTrident->Chipset >= BLADE3D) OUTW_3x4(RAMDACTiming);
830 if (pTrident->Chipset == CYBERBLADEXP4 ||
831 pTrident->Chipset == XP5 ||
832 pTrident->Chipset == CYBERBLADEE4) OUTW_3x4(New32);
833 if (pTrident->Chipset == CYBERBLADEXP4 ||
834 pTrident->Chipset == XP5) OUTW_3CE(DisplayEngCont);
835 if (pTrident->IsCyber) {
840 if (pTrident->Chipset < BLADEXP) {
852 if (pTrident->shadowNew) {
863 if (pTrident->shadowNew) {
873 if (!pTrident->DontSetClock)
879 if (pTrident->MCLK > 0) {
885 if (!pTrident->DontSetClock)
891 if (pTrident->MCLK > 0) {
897 if (!pTrident->DontSetClock)
903 if (pTrident->Chipset > PROVIDIA9685) {
914 TRIDENTPtr pTrident = TRIDENTPTR(pScrn);
923 if (pTrident->Chipset > PROVIDIA9685)
928 if (pTrident->Chipset > PROVIDIA9685)
944 if (pTrident->NewClockCode && pTrident->Chipset <= CYBER9397DVD)
946 if (pTrident->Chipset >= CYBER9388) {
962 if (pTrident->Chipset >= CYBER9385) INB_3x4(Enhancement0);
963 if (pTrident->Chipset >= BLADE3D) INB_3x4(RAMDACTiming);
964 if (pTrident->Chipset == CYBERBLADEXP4 ||
965 pTrident->Chipset == XP5 ||
966 pTrident->Chipset == CYBERBLADEE4) INB_3x4(New32);
967 if (pTrident->Chipset == CYBERBLADEXP4 ||
968 pTrident->Chipset == XP5) INB_3CE(DisplayEngCont);
969 if (pTrident->IsCyber) {
973 if (pTrident->Chipset < BLADEXP) {
985 if (pTrident->shadowNew) {
996 if (pTrident->shadowNew) {
1024 if (pTrident->MCLK > 0) {
1033 if (pTrident->MCLK > 0) {
1048 TRIDENTPtr pTrident = TRIDENTPTR(pScrn);
1059 TRIDENTPtr pTrident = TRIDENTPTR(pScrn);
1069 TRIDENTPtr pTrident = TRIDENTPTR(pScrn);
1094 TRIDENTPtr pTrident = TRIDENTPTR(pScrn);
1112 TRIDENTPtr pTrident = TRIDENTPTR(pScrn);
1114 int programmed_offset = pTrident->CursorOffset / 1024;
1117 memcpy((CARD8 *)pTrident->FbBase + pTrident->CursorOffset,
1118 src, pTrident->CursorInfoRec->MaxWidth *
1119 pTrident->CursorInfoRec->MaxHeight / 4);
1129 TRIDENTPtr pTrident = TRIDENTPTR(pScrn);
1131 if (pTrident->MUX && pScrn->bitsPerPixel == 8) return FALSE;
1133 if (!pTrident->HWCursor) return FALSE;
1146 TRIDENTPtr pTrident = TRIDENTPTR(pScrn);
1167 pTrident->CursorOffset = 0;
1173 pTrident->CursorOffset = CURSOR_ALIGN((fbarea->box.x1 +
1179 if ((pTrident->Chipset != CYBER9397DVD) &&
1180 (pTrident->Chipset < CYBERBLADEE4)) {
1182 if (pTrident->CursorOffset >= ((4096*1024) - 4096)) {
1183 pTrident->CursorOffset = 0;
1195 pTrident->CursorInfoRec = infoPtr;
1202 ((pTrident->Chipset == CYBERBLADEXP4 ||
1203 pTrident->Chipset == BLADEXP ||
1204 pTrident->Chipset == XP5 ||
1205 pTrident->Chipset == CYBERBLADEE4) ?
1220 TRIDENTPtr pTrident = TRIDENTPTR(pScrn);
1267 TRIDENTPtr pTrident = TRIDENTPTR(pScrn);