Home
last modified time | relevance | path

Searched refs:fb_be_math (Results 1 – 5 of 5) sorted by relevance

/openbmc/u-boot/include/linux/
H A Dfb.h566 #define FB_LEFT_POS(p, bpp) (fb_be_math(p) ? (32 - (bpp)) : 0)
567 #define FB_SHIFT_HIGH(p, val, bits) (fb_be_math(p) ? (val) >> (bits) : \
569 #define FB_SHIFT_LOW(p, val, bits) (fb_be_math(p) ? (val) << (bits) : \
/openbmc/linux/include/linux/
H A Dfb.h514 #define FB_LEFT_POS(p, bpp) (fb_be_math(p) ? (32 - (bpp)) : 0)
515 #define FB_SHIFT_HIGH(p, val, bits) (fb_be_math(p) ? (val) >> (bits) : \
517 #define FB_SHIFT_LOW(p, val, bits) (fb_be_math(p) ? (val) << (bits) : \
718 static inline bool fb_be_math(struct fb_info *info) in fb_be_math() function
/openbmc/linux/drivers/video/fbdev/core/
H A Dsysimgblt.c201 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()
H A Dcfbimgblt.c231 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()
H A Dfbmem.c916 if (fi->flags & FBINFO_BE_MATH && !fb_be_math(fi)) { in fb_check_foreignness()
920 } else if (!(fi->flags & FBINFO_BE_MATH) && fb_be_math(fi)) { in fb_check_foreignness()