Lines Matching refs:CurrentLayout
594 pMga->ScratchBuffer = malloc(((pScrn->displayWidth * pMga->CurrentLayout.bitsPerPixel) + 127) >> 3);
617 if (pMga->CurrentLayout.bitsPerPixel == 24) {
728 else if ( pMga->CurrentLayout.bitsPerPixel != 24 ) {
734 infoPtr->CacheColorExpandDensity = pMga->CurrentLayout.bitsPerPixel;
800 pMga->MaxFastBlitY = maxFastBlitMem / (pScrn->displayWidth * pMga->CurrentLayout.bitsPerPixel / 8);
809 (pScrn->displayWidth * pMga->CurrentLayout.bitsPerPixel / 8);
813 (pScrn->displayWidth * pMga->CurrentLayout.bitsPerPixel / 8);
984 MGAFBLayout *pLayout = &pMga->CurrentLayout;
1079 MGAFBLayout *pLayout = &pMga->CurrentLayout;
1232 pMga->CurrentLayout.bitsPerPixel,
1238 if ( (pMga->CurrentLayout.bitsPerPixel == 24) && !RGBEQUAL(fg) ) {
1255 && ((pMga->CurrentLayout.bitsPerPixel != 24)
1269 pMga->CurrentLayout.bitsPerPixel );
1334 OUTREG(MGAREG_AR5, ydir * pMga->CurrentLayout.displayWidth);
1345 pMga->CurrentLayout.bitsPerPixel );
1358 (pMga->CurrentLayout.displayWidth * pMga->CurrentLayout.bitsPerPixel);
1385 SrcOrg = (SrcOrg << 9) / pMga->CurrentLayout.bitsPerPixel;
1427 if(((srcX ^ dstX) & masks[ pMga->CurrentLayout.bitsPerPixel / 8 ]) == 0) {
1448 const unsigned shift = shift_tab[pMga->CurrentLayout.bitsPerPixel / 8];
1450 if (pMga->CurrentLayout.bitsPerPixel == 24) {
1458 if (pMga->CurrentLayout.bitsPerPixel == 24) {
1553 pMga->CurrentLayout.bitsPerPixel );
1862 switch( pMga->CurrentLayout.bitsPerPixel ) {
1882 pMga->CurrentLayout.bitsPerPixel );
1896 pMga->expandDWORDs = ((w * pMga->CurrentLayout.bitsPerPixel) + 31) >> 5;
1950 pMga->CurrentLayout.bitsPerPixel,
1968 pMga->CurrentLayout.bitsPerPixel );
1988 if ( (pMga->CurrentLayout.bitsPerPixel == 24) && !RGBEQUAL(fg) ) {
2003 && ((pMga->CurrentLayout.bitsPerPixel != 24)
2118 regs[1] = pScrn->displayWidth * pMga->CurrentLayout.bitsPerPixel;
2136 (pMga->CurrentLayout.displayWidth * pMga->CurrentLayout.bitsPerPixel);
2159 start = (XYADDRESS(srcx, srcy) * pMga->CurrentLayout.bitsPerPixel)