Lines Matching refs:pGeode

168     GeodeRec *pGeode;
171 pGeode = GEODEPTR(pScrni);
173 if (!pGeode->NoAccel) {
348 GeodeRec *pGeode = GEODEPTR(pScrni);
350 if (!pGeode->NoAccel) {
351 GeodePortPrivRec *pPriv = pGeode->adaptor->pPortPrivates[0].ptr;
377 GeodeRec *pGeode = GEODEPTR(pScrni);
427 pGeode->adaptor = adapt;
429 pGeode->BlockHandler = pScrn->BlockHandler;
464 GeodeRec *pGeode = GEODEPTR(pScrni);
486 if (pGeode->useEXA)
490 if (!pGeode->useEXA)
497 pGeode->OverlayON = FALSE;
707 GeodeRec *pGeode = GEODEPTR(pScrni);
709 //long displayWidth = pGeode->Pitch / ((pScrni->bitsPerPixel + 7) / 8);
710 int size = numlines * pGeode->displayWidth;
713 if (pGeode->useEXA) {
731 if (!pGeode->useEXA) {
737 return (area->box.y1 * pGeode->Pitch);
739 if (xf86ResizeOffscreenArea(area, pGeode->displayWidth, numlines))
740 return (area->box.y1 * pGeode->Pitch);
745 new_area = xf86AllocateOffscreenArea(pScrn, pGeode->displayWidth,
755 if ((max_w < pGeode->displayWidth) || (max_h < numlines)) {
758 pGeode->displayWidth, max_h, numlines);
763 new_area = xf86AllocateOffscreenArea(pScrn, pGeode->displayWidth,
767 return (new_area->box.y1 * pGeode->Pitch);
806 GeodeRec *pGeode = GEODEPTR(pScrni);
822 DeltaY = startAddress / pGeode->Pitch;
823 DeltaX = startAddress & (pGeode->Pitch - 1);
829 if (pGeode->Panel) {
831 ovly.x2 = x + pGeode->video_dstw;
833 ovly.y2 = y + pGeode->video_dsth;
836 display.x2 = DeltaX + pGeode->FPBX;
838 display.y2 = DeltaY + pGeode->FPBY;
904 GeodeRec *pGeode = GEODEPTR(pScrni);
959 if (pGeode->Panel) {
960 pGeode->video_x = dstBox->x1;
961 pGeode->video_y = dstBox->y1;
962 pGeode->video_w = width;
963 pGeode->video_h = height;
964 pGeode->video_srcw = src_w;
965 pGeode->video_srch = src_h;
966 pGeode->video_dstw = drw_w;
967 pGeode->video_dsth = drw_h;
968 pGeode->video_offset = offset;
969 pGeode->video_id = id;
970 pGeode->video_scrnptr = pScrni;
1048 GeodeRec *pGeode = GEODEPTR(pScrni);
1115 new_h += pGeode->Pitch - 1;
1116 new_h /= pGeode->Pitch;
1125 new_h = ((dstPitch * height) + pGeode->Pitch - 1) / pGeode->Pitch;
1156 offset += (new_h >> 1) * pGeode->Pitch;
1158 dst_start = pGeode->FBBase + offset + left;
1182 offset += (new_h >> 1) * pGeode->Pitch;
1184 dst_start = pGeode->FBBase + offset + left;
1245 pGeode->OverlayON = TRUE;
1329 GeodeRec *pGeode = GEODEPTR(pScrni);
1332 pScrn->BlockHandler = pGeode->BlockHandler;
1362 if (pGeode->useEXA)
1365 if (!pGeode->useEXA)