Searched refs:fb_be_math (Results 1 – 4 of 4) sorted by relevance
604 #define FB_LEFT_POS(p, bpp) (fb_be_math(p) ? (32 - (bpp)) : 0)605 #define FB_SHIFT_HIGH(p, val, bits) (fb_be_math(p) ? (val) >> (bits) : \607 #define FB_SHIFT_LOW(p, val, bits) (fb_be_math(p) ? (val) << (bits) : \689 static inline bool fb_be_math(struct fb_info *info) in fb_be_math() function
199 tab = fb_be_math(p) ? cfb_tab8_be : cfb_tab8_le; in fast_imageblit()202 tab = fb_be_math(p) ? cfb_tab16_be : cfb_tab16_le; in fast_imageblit()
229 tab = fb_be_math(p) ? cfb_tab8_be : cfb_tab8_le; in fast_imageblit()232 tab = fb_be_math(p) ? cfb_tab16_be : cfb_tab16_le; in fast_imageblit()
1540 if (fi->flags & FBINFO_BE_MATH && !fb_be_math(fi)) { in fb_check_foreignness()1544 } else if (!(fi->flags & FBINFO_BE_MATH) && fb_be_math(fi)) { in fb_check_foreignness()