Lines Matching refs:pCg6

71 #define runDraw(pCg6) { volatile CARD32 rubbish = pCg6->fbc->draw; }
72 #define runBlit(pCg6) { volatile CARD32 rubbish = pCg6->fbc->blit; }
79 #define waitReady(pCg6) while(pCg6->fbc->s & GX_INPROGRESS)
104 Cg6Ptr pCg6 = GET_CG6_FROM_SCRN(pScrn);
106 waitReady(pCg6);
108 pCg6->fbc->mode = GX_BLIT_SRC |
117 pCg6->fbc->fg = 0xff;
118 pCg6->fbc->bg = 0x00;
119 pCg6->fbc->s = 0;
121 pCg6->srcoff = exaGetPixmapOffset(pSrcPixmap) / pCg6->width;
122 pCg6->fbc->alu = Cg6BlitROP[alu];
123 pCg6->fbc->pm = planemask;
140 Cg6Ptr pCg6 = GET_CG6_FROM_SCRN(pScrn);
143 doff = exaGetPixmapOffset(pDstPixmap) / pCg6->width;
144 waitReady(pCg6);
145 pCg6->fbc->x0 = xSrc;
146 pCg6->fbc->y0 = ySrc + pCg6->srcoff;
147 pCg6->fbc->x1 = xSrc + w - 1;
148 pCg6->fbc->y1 = ySrc + pCg6->srcoff + h - 1;
149 pCg6->fbc->x2 = xDst;
150 pCg6->fbc->y2 = yDst + doff;
151 pCg6->fbc->x3 = xDst + w - 1;
152 pCg6->fbc->y3 = yDst + doff + h - 1;
153 runBlit(pCg6);
161 Cg6Ptr pCg6 = GET_CG6_FROM_SCRN(pScrn);
163 waitReady(pCg6);
174 Cg6Ptr pCg6 = GET_CG6_FROM_SCRN(pScrn);
177 pCg6->srcoff = exaGetPixmapOffset(pPixmap) / pCg6->width;
179 waitReady(pCg6);
181 pCg6->fbc->mode = GX_BLIT_SRC |
188 pCg6->fbc->fg = fg;
189 pCg6->fbc->s = 0;
190 pCg6->fbc->alu = Cg6DrawROP[alu];
191 pCg6->fbc->pm = planemask;
204 Cg6Ptr pCg6 = GET_CG6_FROM_SCRN(pScrn);
206 waitReady(pCg6);
207 pCg6->fbc->arecty = y + pCg6->srcoff;
208 pCg6->fbc->arectx = x;
209 pCg6->fbc->rrecty = y2 - y - 1;
210 pCg6->fbc->rrectx = x2 - x - 1;
211 runDraw(pCg6);
223 Cg6Ptr pCg6 = GET_CG6_FROM_SCRN(pScrn);
226 int dst_line = y + exaGetPixmapOffset(pDst) / pCg6->width;
231 pCg6->fbc->clipmaxx = x + w - 1;
232 pCg6->fbc->clipminx = x;
246 waitReady(pCg6);
248 pCg6->fbc->mode = GX_BLIT_NOSRC |
256 pCg6->fbc->alu = Cg6BlitROP[GXcopy];
257 pCg6->fbc->pm = 0xffffffff;
258 pCg6->fbc->incx = 4;
259 pCg6->fbc->incy = 0;
261 pCg6->fbc->x0 = x;
262 pCg6->fbc->x1 = x + 3;
263 pCg6->fbc->y0 = dst_line;
266 pCg6->fbc->font = *sline;
272 pCg6->fbc->clipmaxx = 4096;
273 pCg6->fbc->clipminx = 0;
286 Cg6Ptr pCg6 = GET_CG6_FROM_SCRN(pScrn);
287 uint8_t *src = pCg6->fb + exaGetPixmapOffset(pSrc);
305 Cg6Ptr pCg6 = GET_CG6_FROM_SCRN(pScrn);
308 Cg6InitEngine(pCg6);
314 pCg6->pExa = pExa;
319 pExa->memoryBase = pCg6->fb;
322 pExa->memorySize = (pCg6->vidmem / pCg6->width) * pCg6->width;
323 pExa->offScreenBase = pCg6->width * pCg6->height;
328 pExa->pixmapOffsetAlign = pCg6->width;
329 pExa->pixmapPitchAlign = pCg6->width;