/linux-4.4.14/drivers/video/fbdev/core/ |
H A D | fb_draw.h | 89 u32 bswapmask) fb_rev_pixels_in_long() 91 if (bswapmask & 1) fb_rev_pixels_in_long() 93 if (bswapmask & 2) fb_rev_pixels_in_long() 95 if (bswapmask & 3) fb_rev_pixels_in_long() 101 u32 bswapmask) fb_shifted_pixels_mask_u32() 105 if (!bswapmask) { fb_shifted_pixels_mask_u32() 109 mask = FB_SHIFT_LOW(p, mask, index & (bswapmask)) & mask; fb_shifted_pixels_mask_u32() 110 mask = FB_SHIFT_HIGH(p, mask, index & ~(bswapmask)); fb_shifted_pixels_mask_u32() 113 if(index + bswapmask < 32) fb_shifted_pixels_mask_u32() 116 (index + bswapmask) & ~(bswapmask)); fb_shifted_pixels_mask_u32() 123 u32 bswapmask) fb_shifted_pixels_mask_long() 127 if (!bswapmask) { fb_shifted_pixels_mask_long() 131 mask = FB_SHIFT_LOW(p, mask, index & (bswapmask)) & mask; fb_shifted_pixels_mask_long() 132 mask = FB_SHIFT_HIGH(p, mask, index & ~(bswapmask)); fb_shifted_pixels_mask_long() 135 if(index + bswapmask < BITS_PER_LONG) fb_shifted_pixels_mask_long() 138 (index + bswapmask) & ~(bswapmask)); fb_shifted_pixels_mask_long() 146 u32 bswapmask = 0; fb_compute_bswapmask() local 154 bswapmask = 7 - bpp + 1; fb_compute_bswapmask() 156 return bswapmask; fb_compute_bswapmask() 162 u32 bswapmask) fb_rev_pixels_in_long() 88 fb_rev_pixels_in_long(unsigned long val, u32 bswapmask) fb_rev_pixels_in_long() argument 100 fb_shifted_pixels_mask_u32(struct fb_info *p, u32 index, u32 bswapmask) fb_shifted_pixels_mask_u32() argument 121 fb_shifted_pixels_mask_long(struct fb_info *p, u32 index, u32 bswapmask) fb_shifted_pixels_mask_long() argument 161 fb_rev_pixels_in_long(unsigned long val, u32 bswapmask) fb_rev_pixels_in_long() argument
|
H A D | cfbcopyarea.c | 48 unsigned n, u32 bswapmask) bitcpy() 63 first = fb_shifted_pixels_mask_long(p, dst_idx, bswapmask); bitcpy() 64 last = ~fb_shifted_pixels_mask_long(p, (dst_idx+n) % bits, bswapmask); bitcpy() 118 d0 = fb_rev_pixels_in_long(d0, bswapmask); bitcpy() 128 d1 = fb_rev_pixels_in_long(d1, bswapmask); bitcpy() 131 d0 = fb_rev_pixels_in_long(d0, bswapmask); bitcpy() 141 d0 = fb_rev_pixels_in_long(d0, bswapmask); bitcpy() 151 d1 = fb_rev_pixels_in_long(d1, bswapmask); bitcpy() 156 d0 = fb_rev_pixels_in_long(d0, bswapmask); bitcpy() 164 while ((n >= 4) && !bswapmask) { bitcpy() 181 d1 = fb_rev_pixels_in_long(d1, bswapmask); bitcpy() 183 d0 = fb_rev_pixels_in_long(d0, bswapmask); bitcpy() 197 bswapmask); bitcpy() 200 d0 = fb_rev_pixels_in_long(d0, bswapmask); bitcpy() 214 unsigned n, u32 bswapmask) bitcpy_rev() 236 first = ~fb_shifted_pixels_mask_long(p, (dst_idx + 1) % bits, bswapmask); bitcpy_rev() 237 last = fb_shifted_pixels_mask_long(p, (bits + dst_idx + 1 - n) % bits, bswapmask); bitcpy_rev() 300 d1 = fb_rev_pixels_in_long(d1, bswapmask); bitcpy_rev() 303 d0 = fb_rev_pixels_in_long(d0, bswapmask); bitcpy_rev() 314 d0 = fb_rev_pixels_in_long(d0, bswapmask); bitcpy_rev() 323 d1 = fb_rev_pixels_in_long(d1, bswapmask); bitcpy_rev() 326 d0 = fb_rev_pixels_in_long(d0, bswapmask); bitcpy_rev() 338 while ((n >= 4) && !bswapmask) { bitcpy_rev() 355 d1 = fb_rev_pixels_in_long(d1, bswapmask); bitcpy_rev() 357 d0 = fb_rev_pixels_in_long(d0, bswapmask); bitcpy_rev() 371 bswapmask); bitcpy_rev() 374 d0 = fb_rev_pixels_in_long(d0, bswapmask); bitcpy_rev() 389 u32 bswapmask = fb_compute_bswapmask(p); cfb_copyarea() local 419 width*p->var.bits_per_pixel, bswapmask); cfb_copyarea() 425 width*p->var.bits_per_pixel, bswapmask); cfb_copyarea() 46 bitcpy(struct fb_info *p, unsigned long __iomem *dst, unsigned dst_idx, const unsigned long __iomem *src, unsigned src_idx, int bits, unsigned n, u32 bswapmask) bitcpy() argument 212 bitcpy_rev(struct fb_info *p, unsigned long __iomem *dst, unsigned dst_idx, const unsigned long __iomem *src, unsigned src_idx, int bits, unsigned n, u32 bswapmask) bitcpy_rev() argument
|
H A D | cfbfillrect.c | 36 unsigned long pat, unsigned n, int bits, u32 bswapmask) bitfill_aligned() 43 first = fb_shifted_pixels_mask_long(p, dst_idx, bswapmask); bitfill_aligned() 44 last = ~fb_shifted_pixels_mask_long(p, (dst_idx+n) % bits, bswapmask); bitfill_aligned() 148 u32 bswapmask) bitfill_aligned_rev() 156 first = fb_shifted_pixels_mask_long(p, dst_idx, bswapmask); bitfill_aligned_rev() 157 last = ~fb_shifted_pixels_mask_long(p, (dst_idx+n) % bits, bswapmask); bitfill_aligned_rev() 306 u32 bswapmask = fb_compute_bswapmask(p); cfb_fillrect() local 310 u32 bswapmask) = NULL; cfb_fillrect() 328 bswapmask); cfb_fillrect() 35 bitfill_aligned(struct fb_info *p, unsigned long __iomem *dst, int dst_idx, unsigned long pat, unsigned n, int bits, u32 bswapmask) bitfill_aligned() argument 146 bitfill_aligned_rev(struct fb_info *p, unsigned long __iomem *dst, int dst_idx, unsigned long pat, unsigned n, int bits, u32 bswapmask) bitfill_aligned_rev() argument
|
H A D | cfbimgblt.c | 87 u32 bswapmask = fb_compute_bswapmask(p); color_imageblit() local 98 start_index, bswapmask); color_imageblit() 109 val |= FB_SHIFT_HIGH(p, color, shift ^ bswapmask); color_imageblit() 122 bswapmask); color_imageblit() 150 u32 bswapmask = fb_compute_bswapmask(p); slow_imageblit() local 166 start_index, bswapmask); slow_imageblit() 174 val |= FB_SHIFT_HIGH(p, color, shift ^ bswapmask); slow_imageblit() 190 bswapmask); slow_imageblit()
|