Home
last modified time | relevance | path

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

/linux/drivers/video/fbdev/core/
H A Dfb_draw.h90 u32 bswapmask) in fb_rev_pixels_in_long() argument
92 if (bswapmask & 1) in fb_rev_pixels_in_long()
94 if (bswapmask & 2) in fb_rev_pixels_in_long()
96 if (bswapmask & 3) in fb_rev_pixels_in_long()
102 u32 bswapmask) in fb_shifted_pixels_mask_u32() argument
106 if (!bswapmask) { in fb_shifted_pixels_mask_u32()
110 mask = FB_SHIFT_LOW(p, mask, index & (bswapmask)) & mask; in fb_shifted_pixels_mask_u32()
111 mask = FB_SHIFT_HIGH(p, mask, index & ~(bswapmask)); in fb_shifted_pixels_mask_u32()
114 if(index + bswapmask < 32) in fb_shifted_pixels_mask_u32()
117 (index + bswapmask) & ~(bswapmask)); in fb_shifted_pixels_mask_u32()
[all …]
H A Dcfbcopyarea.c48 unsigned n, u32 bswapmask) in bitcpy() argument
63 first = fb_shifted_pixels_mask_long(p, dst_idx, bswapmask); in bitcpy()
64 last = ~fb_shifted_pixels_mask_long(p, (dst_idx+n) % bits, bswapmask); in bitcpy()
118 d0 = fb_rev_pixels_in_long(d0, bswapmask); in bitcpy()
128 d1 = fb_rev_pixels_in_long(d1, bswapmask); in bitcpy()
131 d0 = fb_rev_pixels_in_long(d0, bswapmask); in bitcpy()
141 d0 = fb_rev_pixels_in_long(d0, bswapmask); in bitcpy()
151 d1 = fb_rev_pixels_in_long(d1, bswapmask); in bitcpy()
156 d0 = fb_rev_pixels_in_long(d0, bswapmask); in bitcpy()
164 while ((n >= 4) && !bswapmask) { in bitcpy()
[all …]
H A Dcfbfillrect.c36 unsigned long pat, unsigned n, int bits, u32 bswapmask) in bitfill_aligned() argument
43 first = fb_shifted_pixels_mask_long(p, dst_idx, bswapmask); in bitfill_aligned()
44 last = ~fb_shifted_pixels_mask_long(p, (dst_idx+n) % bits, bswapmask); in bitfill_aligned()
148 u32 bswapmask) in bitfill_aligned_rev() argument
156 first = fb_shifted_pixels_mask_long(p, dst_idx, bswapmask); in bitfill_aligned_rev()
157 last = ~fb_shifted_pixels_mask_long(p, (dst_idx+n) % bits, bswapmask); in bitfill_aligned_rev()
309 u32 bswapmask = fb_compute_bswapmask(p); in cfb_fillrect() local
313 u32 bswapmask) = NULL; in cfb_fillrect()
331 bswapmask); in cfb_fillrect()
H A Dcfbimgblt.c87 u32 bswapmask = fb_compute_bswapmask(p); in color_imageblit() local
98 start_index, bswapmask); in color_imageblit()
109 val |= FB_SHIFT_HIGH(p, color, shift ^ bswapmask); in color_imageblit()
122 bswapmask); in color_imageblit()
150 u32 bswapmask = fb_compute_bswapmask(p); in slow_imageblit() local
166 start_index, bswapmask); in slow_imageblit()
174 val |= FB_SHIFT_HIGH(p, color, shift ^ bswapmask); in slow_imageblit()
190 bswapmask); in slow_imageblit()