| /xsrc/external/mit/libdrm/dist/etnaviv/ |
| H A D | etnaviv_perfmon.c | 30 static int etna_perfmon_query_signals(struct etna_perfmon *pm, struct etna_perfmon_domain *dom) argument 32 struct etna_device *dev = pm->pipe->gpu->dev; 34 .pipe = pm->pipe->id, 63 static int etna_perfmon_query_domains(struct etna_perfmon *pm) argument 65 struct etna_device *dev = pm->pipe->gpu->dev; 67 .pipe = pm->pipe->id 85 list_addtail(&dom->head, &pm->domains); 94 ret = etna_perfmon_query_signals(pm, dom); 113 static void etna_perfmon_free_domains(struct etna_perfmon *pm) argument 117 LIST_FOR_EACH_ENTRY_SAFE(dom, next, &pm 126 struct etna_perfmon *pm; local in function:etna_perfmon_create 150 etna_perfmon_del(struct etna_perfmon * pm) argument 159 etna_perfmon_get_dom_by_name(struct etna_perfmon * pm,const char * name) argument [all...] |
| /xsrc/external/mit/MesaLib/dist/src/etnaviv/drm/ |
| H A D | etnaviv_perfmon.c | 30 static int etna_perfmon_query_signals(struct etna_perfmon *pm, struct etna_perfmon_domain *dom) argument 32 struct etna_device *dev = pm->pipe->gpu->dev; 34 .pipe = pm->pipe->id, 63 static int etna_perfmon_query_domains(struct etna_perfmon *pm) argument 65 struct etna_device *dev = pm->pipe->gpu->dev; 67 .pipe = pm->pipe->id 85 list_addtail(&dom->head, &pm->domains); 94 ret = etna_perfmon_query_signals(pm, dom); 113 static void etna_perfmon_free_domains(struct etna_perfmon *pm) argument 117 LIST_FOR_EACH_ENTRY_SAFE(dom, next, &pm 126 struct etna_perfmon *pm; local in function:etna_perfmon_create 150 etna_perfmon_del(struct etna_perfmon * pm) argument 159 etna_perfmon_get_dom_by_name(struct etna_perfmon * pm,const char * name) argument [all...] |
| /xsrc/external/mit/xorg-server/dist/fb/ |
| H A D | fbrop.h | 35 #define FbInitializeMergeRop(alu,pm) {\ 38 _ca1 = _bits->ca1 & pm; \ 39 _cx1 = _bits->cx1 | ~pm; \ 40 _ca2 = _bits->ca2 & pm; \ 41 _cx2 = _bits->cx2 & pm; \ 44 #define FbDestInvarientRop(alu,pm) ((pm) == FB_ALLONES && \ 79 #define fbXorT(rop,fg,pm,t) ((((fg) & fbFillFromBit((rop) >> 1,t)) | \ 80 (~(fg) & fbFillFromBit((rop) >> 3,t))) & (pm)) 82 #define fbAndT(rop,fg,pm, [all...] |
| H A D | fbtile.c | 42 int tileHeight, int alu, FbBits pm, int xRot, int yRot) 54 FbMaskBitsBytes(dstX, width, FbDestInvarientRop(alu, pm), 79 and = fbAnd(alu, bits, pm); 80 xor = fbXor(alu, bits, pm); 110 int tileHeight, int alu, FbBits pm, int bpp, int xRot, int yRot) 136 dstStride, x, w, h, alu, pm, bpp, FALSE, FALSE); 154 int tileHeight, int alu, FbBits pm, int bpp, int xRot, int yRot) 158 tile, tileStride, tileHeight, alu, pm, xRot, yRot); 162 alu, pm, bpp, xRot, yRot); 35 fbEvenTile(FbBits * dst,FbStride dstStride,int dstX,int width,int height,FbBits * tile,FbStride tileStride,int tileHeight,int alu,FbBits pm,int xRot,int yRot) argument 102 fbOddTile(FbBits * dst,FbStride dstStride,int dstX,int width,int height,FbBits * tile,FbStride tileStride,int tileWidth,int tileHeight,int alu,FbBits pm,int bpp,int xRot,int yRot) argument 146 fbTile(FbBits * dst,FbStride dstStride,int dstX,int width,int height,FbBits * tile,FbStride tileStride,int tileWidth,int tileHeight,int alu,FbBits pm,int bpp,int xRot,int yRot) argument
|
| H A D | fbgc.c | 158 pPriv->pm = mask; 160 pPriv->pm = pGC->planemask & mask; 166 pPriv->pm |= pPriv->pm << s; 169 pPriv->and = fbAnd(pGC->alu, pPriv->fg, pPriv->pm); 170 pPriv->xor = fbXor(pGC->alu, pPriv->fg, pPriv->pm); 171 pPriv->bgand = fbAnd(pGC->alu, pPriv->bg, pPriv->pm); 172 pPriv->bgxor = fbXor(pGC->alu, pPriv->bg, pPriv->pm);
|
| H A D | fbimage.c | 52 pPriv->pm, 73 pGC->alu, pPriv->pm, x, y, w, h, src, srcStride); 81 FbBits pm, 117 (x2 - x1) * dstBpp, (y2 - y1), alu, pm, dstBpp); 128 FbBits pm, 153 fgand = fbAnd(alu, fg, pm); 154 fgxor = fbXor(alu, fg, pm); 156 bgand = fbAnd(alu, bg, pm); 157 bgxor = fbXor(alu, bg, pm); 188 (x2 - x1) * dstBpp, (y2 - y1), alu, pm, dstBp 78 fbPutZImage(DrawablePtr pDrawable,RegionPtr pClip,int alu,FbBits pm,int x,int y,int width,int height,FbStip * src,FbStride srcStride) argument 124 fbPutXYImage(DrawablePtr pDrawable,RegionPtr pClip,FbBits fg,FbBits bg,FbBits pm,int alu,Bool opaque,int x,int y,int width,int height,FbStip * src,FbStride srcStride,int srcX) argument 232 FbBits pm; local in function:fbGetImage [all...] |
| /xsrc/external/mit/xf86-video-intel/dist/src/sna/fb/ |
| H A D | fbrop.h | 27 #define FbDestInvarientRop(alu,pm) ((pm) == FB_ALLONES && \ 62 #define fbXorT(rop,fg,pm,t) ((((fg) & fbFillFromBit((rop) >> 1,t)) | \ 63 (~(fg) & fbFillFromBit((rop) >> 3,t))) & (pm)) 65 #define fbAndT(rop,fg,pm,t) ((((fg) & fbFillFromBit (rop ^ (rop>>1),t)) | \ 67 ~(pm)) 69 #define fbXor(rop,fg,pm) fbXorT(rop,fg,pm,FbBits) 71 #define fbAnd(rop,fg,pm) fbAndT(rop,fg,pm,FbBit [all...] |
| H A D | fbtile.c | 34 int alu, FbBits pm, 47 FbMaskBitsBytes(dstX, width, FbDestInvarientRop(alu, pm), 71 and = fbAnd(alu, bits, pm); 72 xor = fbXor(alu, bits, pm); 98 int alu, FbBits pm, int bpp, 124 x, w, h, alu, pm, bpp, FALSE, FALSE); 138 int alu, FbBits pm, int bpp, 146 tile, tileStride, tileHeight, alu, pm, xRot, yRot); 150 alu, pm, bpp, xRot, yRot); 32 fbEvenTile(FbBits * dst,FbStride dstStride,int dstX,int width,int height,FbBits * tile,FbStride tileStride,int tileHeight,int alu,FbBits pm,int xRot,int yRot) argument 94 fbOddTile(FbBits * dst,FbStride dstStride,int dstX,int width,int height,FbBits * tile,FbStride tileStride,int tileWidth,int tileHeight,int alu,FbBits pm,int bpp,int xRot,int yRot) argument 134 fbTile(FbBits * dst,FbStride dstStride,int dstX,int width,int height,FbBits * tile,FbStride tileStride,int tileWidth,int tileHeight,int alu,FbBits pm,int bpp,int xRot,int yRot) argument
|
| H A D | fbimage.c | 49 gc->alu, fb_gc(gc)->pm, bpp); 82 int alu, pm; member in struct:fbPutXYImage 98 data->alu, data->pm, bpp); 120 FbBits fg, FbBits bg, FbBits pm, int alu, Bool opaque, 145 data.pm = pm; 149 data.fgand = fbAnd(alu, fg, pm); 150 data.fgxor = fbXor(alu, fg, pm); 152 data.bgand = fbAnd(alu, bg, pm); 153 data.bgxor = fbXor(alu, bg, pm); 119 fbPutXYImage(DrawablePtr drawable,GCPtr gc,FbBits fg,FbBits bg,FbBits pm,int alu,Bool opaque,int x,int y,int width,int height,FbStip * src,FbStride srcStride,int srcX) argument 229 FbBits pm; local in function:fbGetImage [all...] |
| H A D | fbgc.c | 168 pgc->pm = mask; 170 pgc->pm = gc->planemask & mask; 176 pgc->pm |= pgc->pm << s; 179 pgc->and = fbAnd(gc->alu, pgc->fg, pgc->pm); 180 pgc->xor = fbXor(gc->alu, pgc->fg, pgc->pm); 181 pgc->bgand = fbAnd(gc->alu, pgc->bg, pgc->pm); 182 pgc->bgxor = fbXor(gc->alu, pgc->bg, pgc->pm); 184 DBG(("%s: rrop fg=%08x, bg=%08x, pm=%08x, and=%08x, xor=%08x, bgand=%08x, bgxor=%08x\n", 185 __FUNCTION__, pgc->fg, pgc->bg, pgc->pm, pg [all...] |
| H A D | fbblt.c | 59 #define FbInitializeMergeRop(alu,pm) {\ 62 _ca1 = _bits->ca1 & pm; \ 63 _cx1 = _bits->cx1 | ~pm; \ 64 _ca2 = _bits->ca2 & pm; \ 65 _cx2 = _bits->cx2 & pm; \ 84 int alu, FbBits pm, int bpp, 97 FbInitializeMergeRop(alu, pm); 270 int alu, FbBits pm, int bpp, 273 DBG(("%s %dx%d, alu=%d, pm=%x, bpp=%d (reverse=%d, upsidedown=%d)\n", 274 __FUNCTION__, width, height, alu, pm, bp 81 fbBlt__rop(FbBits * srcLine,FbStride srcStride,int srcX,FbBits * dstLine,FbStride dstStride,int dstX,int width,int height,int alu,FbBits pm,int bpp,Bool reverse,Bool upsidedown) argument 267 fbBlt(FbBits * srcLine,FbStride srcStride,int srcX,FbBits * dstLine,FbStride dstStride,int dstX,int width,int height,int alu,FbBits pm,int bpp,Bool reverse,Bool upsidedown) argument [all...] |
| /xsrc/external/mit/xf86-video-intel-2014/dist/src/sna/fb/ |
| H A D | fbrop.h | 27 #define FbDestInvarientRop(alu,pm) ((pm) == FB_ALLONES && \ 62 #define fbXorT(rop,fg,pm,t) ((((fg) & fbFillFromBit((rop) >> 1,t)) | \ 63 (~(fg) & fbFillFromBit((rop) >> 3,t))) & (pm)) 65 #define fbAndT(rop,fg,pm,t) ((((fg) & fbFillFromBit (rop ^ (rop>>1),t)) | \ 67 ~(pm)) 69 #define fbXor(rop,fg,pm) fbXorT(rop,fg,pm,FbBits) 71 #define fbAnd(rop,fg,pm) fbAndT(rop,fg,pm,FbBit [all...] |
| H A D | fbtile.c | 34 int alu, FbBits pm, 47 FbMaskBitsBytes(dstX, width, FbDestInvarientRop(alu, pm), 71 and = fbAnd(alu, bits, pm); 72 xor = fbXor(alu, bits, pm); 98 int alu, FbBits pm, int bpp, 124 x, w, h, alu, pm, bpp, FALSE, FALSE); 138 int alu, FbBits pm, int bpp, 146 tile, tileStride, tileHeight, alu, pm, xRot, yRot); 150 alu, pm, bpp, xRot, yRot); 32 fbEvenTile(FbBits * dst,FbStride dstStride,int dstX,int width,int height,FbBits * tile,FbStride tileStride,int tileHeight,int alu,FbBits pm,int xRot,int yRot) argument 94 fbOddTile(FbBits * dst,FbStride dstStride,int dstX,int width,int height,FbBits * tile,FbStride tileStride,int tileWidth,int tileHeight,int alu,FbBits pm,int bpp,int xRot,int yRot) argument 134 fbTile(FbBits * dst,FbStride dstStride,int dstX,int width,int height,FbBits * tile,FbStride tileStride,int tileWidth,int tileHeight,int alu,FbBits pm,int bpp,int xRot,int yRot) argument
|
| H A D | fbimage.c | 49 gc->alu, fb_gc(gc)->pm, bpp); 82 int alu, pm; member in struct:fbPutXYImage 98 data->alu, data->pm, bpp); 120 FbBits fg, FbBits bg, FbBits pm, int alu, Bool opaque, 145 data.pm = pm; 149 data.fgand = fbAnd(alu, fg, pm); 150 data.fgxor = fbXor(alu, fg, pm); 152 data.bgand = fbAnd(alu, bg, pm); 153 data.bgxor = fbXor(alu, bg, pm); 119 fbPutXYImage(DrawablePtr drawable,GCPtr gc,FbBits fg,FbBits bg,FbBits pm,int alu,Bool opaque,int x,int y,int width,int height,FbStip * src,FbStride srcStride,int srcX) argument 229 FbBits pm; local in function:fbGetImage [all...] |
| H A D | fbgc.c | 168 pgc->pm = mask; 170 pgc->pm = gc->planemask & mask; 176 pgc->pm |= pgc->pm << s; 179 pgc->and = fbAnd(gc->alu, pgc->fg, pgc->pm); 180 pgc->xor = fbXor(gc->alu, pgc->fg, pgc->pm); 181 pgc->bgand = fbAnd(gc->alu, pgc->bg, pgc->pm); 182 pgc->bgxor = fbXor(gc->alu, pgc->bg, pgc->pm); 184 DBG(("%s: rrop fg=%08x, bg=%08x, pm=%08x, and=%08x, xor=%08x, bgand=%08x, bgxor=%08x\n", 185 __FUNCTION__, pgc->fg, pgc->bg, pgc->pm, pg [all...] |
| H A D | fbblt.c | 59 #define FbInitializeMergeRop(alu,pm) {\ 62 _ca1 = _bits->ca1 & pm; \ 63 _cx1 = _bits->cx1 | ~pm; \ 64 _ca2 = _bits->ca2 & pm; \ 65 _cx2 = _bits->cx2 & pm; \ 84 int alu, FbBits pm, int bpp, 97 FbInitializeMergeRop(alu, pm); 270 int alu, FbBits pm, int bpp, 273 DBG(("%s %dx%d, alu=%d, pm=%x, bpp=%d (reverse=%d, upsidedown=%d)\n", 274 __FUNCTION__, width, height, alu, pm, bp 81 fbBlt__rop(FbBits * srcLine,FbStride srcStride,int srcX,FbBits * dstLine,FbStride dstStride,int dstX,int width,int height,int alu,FbBits pm,int bpp,Bool reverse,Bool upsidedown) argument 267 fbBlt(FbBits * srcLine,FbStride srcStride,int srcX,FbBits * dstLine,FbStride dstStride,int dstX,int width,int height,int alu,FbBits pm,int bpp,Bool reverse,Bool upsidedown) argument [all...] |
| /xsrc/external/mit/xorg-server.old/dist/hw/xfree86/xaa/ |
| H A D | xaaROP.c | 119 XAAHelpPatternROP(ScrnInfoPtr pScrn, int *fg, int *bg, int pm, int *rop) argument 124 pm &= infoRec->FullPlanemasks[pScrn->depth - 1]; 126 if(pm == infoRec->FullPlanemasks[pScrn->depth - 1]) { 138 *fg = pm; 140 *bg = pm; 154 XAAHelpSolidROP(ScrnInfoPtr pScrn, int *fg, int pm, int *rop) argument 159 pm &= infoRec->FullPlanemasks[pScrn->depth - 1]; 161 if(pm == infoRec->FullPlanemasks[pScrn->depth - 1]) { 173 *fg = pm;
|
| /xsrc/external/mit/xorg-server.old/dist/fb/ |
| H A D | fbrop.h | 35 #define FbInitializeMergeRop(alu,pm) {\ 38 _ca1 = _bits->ca1 & pm; \ 39 _cx1 = _bits->cx1 | ~pm; \ 40 _ca2 = _bits->ca2 & pm; \ 41 _cx2 = _bits->cx2 & pm; \ 44 #define FbDestInvarientRop(alu,pm) ((pm) == FB_ALLONES && \ 79 #define fbXorT(rop,fg,pm,t) ((((fg) & fbFillFromBit((rop) >> 1,t)) | \ 80 (~(fg) & fbFillFromBit((rop) >> 3,t))) & (pm)) 82 #define fbAndT(rop,fg,pm, [all...] |
| H A D | fbtile.c | 47 FbBits pm, 61 FbMaskBitsBytes(dstX, width, FbDestInvarientRop(alu, pm), 86 and = fbAnd(alu,bits,pm); 87 xor = fbXor(alu,bits,pm); 124 FbBits pm, 162 pm, 189 FbBits pm, 198 alu, pm, xRot, yRot); 202 alu, pm, bpp, xRot, yRot); 35 fbEvenTile(FbBits * dst,FbStride dstStride,int dstX,int width,int height,FbBits * tile,FbStride tileStride,int tileHeight,int alu,FbBits pm,int xRot,int yRot) argument 111 fbOddTile(FbBits * dst,FbStride dstStride,int dstX,int width,int height,FbBits * tile,FbStride tileStride,int tileWidth,int tileHeight,int alu,FbBits pm,int bpp,int xRot,int yRot) argument 176 fbTile(FbBits * dst,FbStride dstStride,int dstX,int width,int height,FbBits * tile,FbStride tileStride,int tileWidth,int tileHeight,int alu,FbBits pm,int bpp,int xRot,int yRot) argument
|
| H A D | fbimage.c | 59 pPriv->pm, 108 pPriv->pm, 119 FbBits pm, 168 pm, 180 FbBits pm, 213 fgand = fbAnd(alu,fg,pm); 214 fgxor = fbXor(alu,fg,pm); 217 bgand = fbAnd(alu,bg,pm); 218 bgxor = fbXor(alu,bg,pm); 260 pm, 116 fbPutZImage(DrawablePtr pDrawable,RegionPtr pClip,int alu,FbBits pm,int x,int y,int width,int height,FbStip * src,FbStride srcStride) argument 176 fbPutXYImage(DrawablePtr pDrawable,RegionPtr pClip,FbBits fg,FbBits bg,FbBits pm,int alu,Bool opaque,int x,int y,int width,int height,FbStip * src,FbStride srcStride,int srcX) argument 325 FbBits pm; local in function:fbGetImage [all...] |
| /xsrc/external/mit/mesa-demos/dist/src/xdemos/ |
| H A D | glxpixmap.c | 89 Pixmap pm; local in function:make_pixmap 93 pm = XCreatePixmap( dpy, win, width, height, visinfo->depth ); 94 if (!pm) { 114 glxpm = glXCreateGLXPixmapMESA_func( dpy, visinfo, pm, attr.colormap ); 117 glxpm = glXCreateGLXPixmap( dpy, visinfo, pm ); 121 glxpm = glXCreateGLXPixmap( dpy, visinfo, pm ); 129 *pixmap = pm; 136 static void event_loop( Display *dpy, GLXPixmap pm ) argument 147 XCopyArea( dpy, pm, event.xany.window, /* src, dest */ 164 Pixmap pm; local in function:main [all...] |
| /xsrc/external/mit/ctwm/dist/ |
| H A D | image_bitmap.c | 85 Pixmap pm; local in function:FindBitmap 113 pm = XmuLocateBitmapFile(ScreenOfDisplay(dpy, Scr->screen), bigname, NULL, 115 if(pm == None && Scr->IconDirectory && bigname[0] != '/') { 122 if(XReadBitmapFile(dpy, Scr->Root, bigname, widthp, heightp, &pm, 124 pm = None; 128 if((pm == None) && reportfilenotfound) { 132 return pm;
|
| /xsrc/external/mit/xf86-video-ati/dist/src/ |
| H A D | radeon_pm.c | 758 for (i = 0; i < info->pm.num_modes; i++) { 759 if (info->pm.mode[i].type == type) 763 if (i == info->pm.num_modes) 766 if (i == info->pm.current_mode) 772 atombios_set_engine_clock(pScrn, info->pm.mode[i].sclk); 774 RADEONSetEngineClock(pScrn, info->pm.mode[i].sclk); 777 RADEONSetPCIELanes(pScrn, info->pm.mode[i].pcie_lanes); 779 info->pm.current_mode = i; 790 info->pm.clock_gating_enabled = TRUE; 791 RADEONSetClockGating(pScrn, info->pm [all...] |
| H A D | radeon_exa_shared.c | 79 Bool RADEONValidPM(uint32_t pm, int bpp) argument 86 a = pm & 0xff; 91 r = (pm >> 11) & 0x1f; 92 g = (pm >> 5) & 0x3f; 93 b = (pm >> 0) & 0x1f; 100 a = (pm >> 24) & 0xff; 101 r = (pm >> 16) & 0xff; 102 g = (pm >> 8) & 0xff; 103 b = (pm >> 0) & 0xff;
|
| /xsrc/external/mit/xf86-video-ati-kms/dist/src/ |
| H A D | radeon_exa_shared.c | 76 Bool RADEONValidPM(uint32_t pm, int bpp) argument 83 a = pm & 0xff; 88 r = (pm >> 11) & 0x1f; 89 g = (pm >> 5) & 0x3f; 90 b = (pm >> 0) & 0x1f; 97 a = (pm >> 24) & 0xff; 98 r = (pm >> 16) & 0xff; 99 g = (pm >> 8) & 0xff; 100 b = (pm >> 0) & 0xff;
|