Searched refs:fb_be_math (Results 1 – 5 of 5) sorted by relevance
| /OK3568_Linux_fs/u-boot/include/linux/ |
| H A D | fb.h | 566 #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) : \
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | fb.h | 578 #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
|
| /OK3568_Linux_fs/kernel/drivers/video/fbdev/core/ |
| H A D | sysimgblt.c | 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()
|
| H A D | cfbimgblt.c | 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()
|
| H A D | fbmem.c | 1524 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()
|