Searched refs:fb_be_math (Results 1 – 4 of 4) sorted by relevance
532 #define FB_LEFT_POS(p, bpp) (fb_be_math(p) ? (32 - (bpp)) : 0)533 #define FB_SHIFT_HIGH(p, val, bits) (fb_be_math(p) ? (val) >> (bits) : \535 #define FB_SHIFT_LOW(p, val, bits) (fb_be_math(p) ? (val) << (bits) : \733 static inline bool fb_be_math(struct fb_info *info) in fb_be_math() function
201 tab = fb_be_math(p) ? cfb_tab8_be : cfb_tab8_le; in fast_imageblit()205 tab = fb_be_math(p) ? cfb_tab16_be : cfb_tab16_le; in fast_imageblit()
231 tab = fb_be_math(p) ? cfb_tab8_be : cfb_tab8_le; in fast_imageblit()235 tab = fb_be_math(p) ? cfb_tab16_be : cfb_tab16_le; in fast_imageblit()
376 if (fi->flags & FBINFO_BE_MATH && !fb_be_math(fi)) { in fb_check_foreignness()380 } else if (!(fi->flags & FBINFO_BE_MATH) && fb_be_math(fi)) { in fb_check_foreignness()