Lines Matching refs:FB_UNIT
86 #define FB_UNIT (1 << FB_SHIFT)
87 #define FB_MASK (FB_UNIT - 1)
100 #define FbFullMask(n) ((n) == FB_UNIT ? FB_ALLONES : ((((FbBits) 1) << n) - 1))
138 /* #define FbLeftBits(x,n) ((x) >> (FB_UNIT - (n))) */
149 #define FbRotLeft(x,n) FbScrLeft(x,n) | (n ? FbScrRight(x,FB_UNIT-n) : 0)
150 #define FbRotRight(x,n) FbScrRight(x,n) | (n ? FbScrLeft(x,FB_UNIT-n) : 0)
157 #define FbRightMask(x) ( ((FB_UNIT - (x)) & FB_MASK) ? \
158 FbScrLeft(FB_ALLONES,(FB_UNIT - (x)) & FB_MASK) : 0)
166 FbScrLeft(FB_ALLONES,(FB_UNIT - ((x) + (w))) & FB_MASK))
176 n -= FB_UNIT - ((x) & FB_MASK); \
220 n -= FB_UNIT - ((x) & FB_MASK); \
505 * Accelerated tiles are power of 2 width <= FB_UNIT
507 #define FbEvenTile(w) ((w) <= FB_UNIT && FbPowerOfTwo(w))