Searched refs:BITS (Results 1 - 25 of 48) sorted by relevance

12

/xsrc/external/mit/xf86-video-intel-old/dist/src/reg_dumper/
H A Daudio.c53 #define BITS(reg, high, low) (((reg) & (BITMASK(high, low))) >> (low)) macro
54 #define BIT(reg, n) BITS(reg, n, n)
180 if (BITS(0xc0000000, 31, 30) != 3)
266 printf("AUD_RID major revision\t\t\t0x%lx\n", BITS(dword, 23, 20));
267 printf("AUD_RID minor revision\t\t\t0x%lx\n", BITS(dword, 19, 16));
268 printf("AUD_RID revision id\t\t\t0x%lx\n", BITS(dword, 15, 8));
269 printf("AUD_RID stepping id\t\t\t0x%lx\n", BITS(dword, 7, 0));
298 BITS(dword, 30, 29), dip_port[BITS(dword, 30, 29)]);
304 BITS(dwor
[all...]
/xsrc/external/mit/xorg-server/dist/fb/
H A Dfbbits.c36 #undef BITS
47 #define BITS BYTE macro
60 #undef BITS
71 #define BITS CARD16 macro
83 #undef BITS
93 #define BITS CARD32 macro
104 #undef BITS
/xsrc/external/mit/MesaLib.old/dist/src/mesa/math/
H A Dm_copy_tmp.h31 #define COPY_FUNC( BITS ) \
32 static void TAG2(copy, BITS)( GLvector4f *to, const GLvector4f *f ) \
40 if (BITS) \
42 if (BITS&1) t[i][0] = from[0]; \
43 if (BITS&2) t[i][1] = from[1]; \
44 if (BITS&4) t[i][2] = from[2]; \
45 if (BITS&8) t[i][3] = from[3]; \
/xsrc/external/mit/MesaLib/dist/src/mesa/math/
H A Dm_copy_tmp.h31 #define COPY_FUNC( BITS ) \
32 static void TAG2(copy, BITS)( GLvector4f *to, const GLvector4f *f ) \
40 if (BITS) \
42 if (BITS&1) t[i][0] = from[0]; \
43 if (BITS&2) t[i][1] = from[1]; \
44 if (BITS&4) t[i][2] = from[2]; \
45 if (BITS&8) t[i][3] = from[3]; \
/xsrc/external/mit/xf86-video-intel/dist/src/sna/fb/
H A Dfbpointbits.h36 BITS *bits = (BITS *) dst;
37 BITS bxor = (BITS) xor;
38 BITS band = (BITS) and;
39 FbStride bitsStride = dstStride * (sizeof(FbBits) / sizeof(BITS));
56 BITS *point = bits + intToY(pt.pt32[0]) * bitsStride + intToX(pt.pt32[0]);
60 BITS *point = bits + intToY(pt.pt32[1]) * bitsStride + intToX(pt.pt32[1]);
70 BITS *poin
[all...]
H A Dfbsegbits.h35 BITS *bits;
37 BITS xor = fb_gc(gc)->xor;
40 bits = (BITS *)(dst + (y1 + dy) * stride) + (x1 + dx);
41 stride = stride * (sizeof(FbBits) / sizeof(BITS));
70 BITS *bits;
72 BITS and = fb_gc(gc)->and;
73 BITS xor = fb_gc(gc)->xor;
76 bits = (BITS *)(dst + (y1 + dy) * stride) + (x1 + dx);
77 stride = stride * (sizeof(FbBits) / sizeof(BITS));
106 BITS *bit
[all...]
H A Dfbarc.c30 #define BITS BYTE macro
34 #undef BITS
40 #define BITS CARD16 macro
43 #undef BITS
48 #define BITS CARD32 macro
50 #undef BITS
H A Dfbpoint.c29 #define BITS BYTE macro
31 #undef BITS
37 #define BITS CARD16 macro
39 #undef BITS
45 #define BITS CARD32 macro
47 #undef BITS
H A Dfbglyphbits.h31 #define WRITE1(d,n,fg) WRITE(d + WRITE_ADDR1(n), (BITS) (fg))
52 BITS *dstLine;
53 BITS *dst;
57 dstLine = (BITS *) dstBits;
59 dstStride *= (sizeof(FbBits) / sizeof(BITS));
64 dst = (BITS *) dstLine;
H A Dfbline.c32 #define BITS BYTE macro
36 #undef BITS
44 #define BITS CARD16 macro
47 #undef BITS
54 #define BITS CARD32 macro
56 #undef BITS
H A Dfblinebits.h41 BITS *bits, *bitsBase;
43 BITS xor = fb_gc(gc)->xor;
44 BITS and = fb_gc(gc)->and;
55 bitsStride = dstStride * (sizeof(FbBits) / sizeof(BITS));
56 bitsBase = ((BITS *) dst) + (yoff + dstYoff) * bitsStride + (xoff + dstXoff);
159 BITS *bits, *bitsBase;
170 bitsStride = dstStride * (sizeof(FbBits) / sizeof(BITS));
172 ((BITS *) dst) + (yoff + dstYoff) * bitsStride + (xoff + dstXoff);
219 dstX = (x1 + xoff + dstXoff) * (sizeof(BITS) * 8);
220 width = (x2 - x1) * (sizeof(BITS) *
[all...]
H A Dfbarcbits.h35 BITS *bits;
40 BITS *yorgp, *yorgop;
41 BITS andBits, xorBits;
46 bits = (BITS *) dst;
47 bitsStride = dstStride * (sizeof(FbBits) / sizeof(BITS));
48 andBits = (BITS) and;
49 xorBits = (BITS) xor;
79 BITS *yorghb = yorgp + (info.h * bitsStride) + info.xorg;
80 BITS *yorgohb = yorghb - info.h;
/xsrc/external/mit/xf86-video-intel-2014/dist/src/sna/fb/
H A Dfbpointbits.h36 BITS *bits = (BITS *) dst;
37 BITS bxor = (BITS) xor;
38 BITS band = (BITS) and;
39 FbStride bitsStride = dstStride * (sizeof(FbBits) / sizeof(BITS));
56 BITS *point = bits + intToY(pt.pt32[0]) * bitsStride + intToX(pt.pt32[0]);
60 BITS *point = bits + intToY(pt.pt32[1]) * bitsStride + intToX(pt.pt32[1]);
70 BITS *poin
[all...]
H A Dfbsegbits.h35 BITS *bits;
37 BITS xor = fb_gc(gc)->xor;
40 bits = (BITS *)(dst + (y1 + dy) * stride) + (x1 + dx);
41 stride = stride * (sizeof(FbBits) / sizeof(BITS));
70 BITS *bits;
72 BITS and = fb_gc(gc)->and;
73 BITS xor = fb_gc(gc)->xor;
76 bits = (BITS *)(dst + (y1 + dy) * stride) + (x1 + dx);
77 stride = stride * (sizeof(FbBits) / sizeof(BITS));
106 BITS *bit
[all...]
H A Dfbarc.c30 #define BITS BYTE macro
34 #undef BITS
40 #define BITS CARD16 macro
43 #undef BITS
48 #define BITS CARD32 macro
50 #undef BITS
H A Dfbpoint.c29 #define BITS BYTE macro
31 #undef BITS
37 #define BITS CARD16 macro
39 #undef BITS
45 #define BITS CARD32 macro
47 #undef BITS
H A Dfbglyphbits.h31 #define WRITE1(d,n,fg) WRITE(d + WRITE_ADDR1(n), (BITS) (fg))
52 BITS *dstLine;
53 BITS *dst;
57 dstLine = (BITS *) dstBits;
59 dstStride *= (sizeof(FbBits) / sizeof(BITS));
64 dst = (BITS *) dstLine;
H A Dfbline.c32 #define BITS BYTE macro
36 #undef BITS
44 #define BITS CARD16 macro
47 #undef BITS
54 #define BITS CARD32 macro
56 #undef BITS
H A Dfblinebits.h41 BITS *bits, *bitsBase;
43 BITS xor = fb_gc(gc)->xor;
44 BITS and = fb_gc(gc)->and;
55 bitsStride = dstStride * (sizeof(FbBits) / sizeof(BITS));
56 bitsBase = ((BITS *) dst) + (yoff + dstYoff) * bitsStride + (xoff + dstXoff);
159 BITS *bits, *bitsBase;
170 bitsStride = dstStride * (sizeof(FbBits) / sizeof(BITS));
172 ((BITS *) dst) + (yoff + dstYoff) * bitsStride + (xoff + dstXoff);
219 dstX = (x1 + xoff + dstXoff) * (sizeof(BITS) * 8);
220 width = (x2 - x1) * (sizeof(BITS) *
[all...]
H A Dfbarcbits.h35 BITS *bits;
40 BITS *yorgp, *yorgop;
41 BITS andBits, xorBits;
46 bits = (BITS *) dst;
47 bitsStride = dstStride * (sizeof(FbBits) / sizeof(BITS));
48 andBits = (BITS) and;
49 xorBits = (BITS) xor;
79 BITS *yorghb = yorgp + (info.h * bitsStride) + info.xorg;
80 BITS *yorgohb = yorghb - info.h;
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/i915/
H A Di915_debug.c226 BITS( function in typeref:typename:void
294 BITS(stream, ptr[j], 0, 0, "vb invalidate disable");
299 BITS(stream, ptr[j], 29, 24, "vb dword width");
300 BITS(stream, ptr[j], 21, 16, "vb dword pitch");
301 BITS(stream, ptr[j], 15, 0, "vb max index");
310 BITS(stream, tc, 3, 0, "tex coord %d", i);
320 BITS(stream, ptr[j], 31, 23, "point width");
321 BITS(stream, ptr[j], 22, 19, "line width");
326 BITS(stream, ptr[j], 14, 13, "cull mode");
331 BITS(strea
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/i915/
H A Di915_debug.c232 BITS(struct debug_stream *stream, unsigned dw, unsigned hi, unsigned lo, function in typeref:typename:void
286 BITS(stream, ptr[j], 0, 0, "vb invalidate disable");
291 BITS(stream, ptr[j], 29, 24, "vb dword width");
292 BITS(stream, ptr[j], 21, 16, "vb dword pitch");
293 BITS(stream, ptr[j], 15, 0, "vb max index");
302 BITS(stream, tc, 3, 0, "tex coord %d", i);
312 BITS(stream, ptr[j], 31, 23, "point width");
313 BITS(stream, ptr[j], 22, 19, "line width");
318 BITS(stream, ptr[j], 14, 13, "cull mode");
323 BITS(strea
[all...]
/xsrc/external/mit/xorg-server.old/dist/fb/
H A Dfbbits.c36 #undef BITS
47 #define BITS BYTE macro
60 #undef BITS
71 #define BITS CARD16 macro
86 #undef BITS
100 #define BITS CARD32 macro
142 #undef BITS
159 #define BITS CARD32 macro
173 #undef BITS
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/d3d12/
H A Dd3d12_format.c46 #define MAP_EMU_FORMAT_NO_ALPHA(BITS, TYPE) \
47 [PIPE_FORMAT_L ## BITS ## _ ## TYPE] = DXGI_FORMAT_R ## BITS ## _ ## TYPE, \
48 [PIPE_FORMAT_I ## BITS ## _ ## TYPE] = DXGI_FORMAT_R ## BITS ## _ ## TYPE, \
49 [PIPE_FORMAT_L ## BITS ## A ## BITS ## _ ## TYPE] = \
50 DXGI_FORMAT_R ## BITS ## G ## BITS ## _ ## TYPE,
52 #define MAP_EMU_FORMAT(BITS, TYP
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/mesa/main/
H A Dformat_utils.h45 /* Only guaranteed to work for BITS <= 32 */
46 #define MAX_UINT(BITS) ((BITS) == 32 ? UINT32_MAX : ((1u << (BITS)) - 1))
47 #define MAX_INT(BITS) ((int)MAX_UINT((BITS) - 1))
48 #define MIN_INT(BITS) ((BITS) == 32 ? INT32_MIN : (-(1 << (BITS - 1))))

Completed in 10 milliseconds

12