Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/include/linux/
Dfb.h578 #define FB_LEFT_POS(p, bpp) (fb_be_math(p) ? (32 - (bpp)) : 0)
579 #define FB_SHIFT_HIGH(p, val, bits) (fb_be_math(p) ? (val) >> (bits) : \
581 #define FB_SHIFT_LOW(p, val, bits) (fb_be_math(p) ? (val) << (bits) : \
669 static inline bool fb_be_math(struct fb_info *info) in fb_be_math() function
/kernel/linux/linux-5.10/drivers/video/fbdev/core/
Dsysimgblt.c199 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()
Dcfbimgblt.c229 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()
Dfbmem.c1524 if (fi->flags & FBINFO_BE_MATH && !fb_be_math(fi)) { in fb_check_foreignness()
1528 } else if (!(fi->flags & FBINFO_BE_MATH) && fb_be_math(fi)) { in fb_check_foreignness()