Lines Matching full:pixels

199 /* pixels on display are numbered from 1 so even is actually bits 1,3,5,... */
208 u8 pixels = data[b] & 0xaa; in repaper_even_pixels() local
213 pixel_mask = (mask[b] ^ pixels) & 0xaa; in repaper_even_pixels()
219 pixels = 0xaa | ((pixels ^ 0xaa) >> 1); in repaper_even_pixels()
222 pixels = 0x55 + ((pixels ^ 0xaa) >> 1); in repaper_even_pixels()
225 pixels = 0x55 | (pixels ^ 0xaa); in repaper_even_pixels()
228 pixels = 0xaa | (pixels >> 1); in repaper_even_pixels()
232 pixels = (pixels & pixel_mask) | (~pixel_mask & 0x55); in repaper_even_pixels()
233 p1 = (pixels >> 6) & 0x03; in repaper_even_pixels()
234 p2 = (pixels >> 4) & 0x03; in repaper_even_pixels()
235 p3 = (pixels >> 2) & 0x03; in repaper_even_pixels()
236 p4 = (pixels >> 0) & 0x03; in repaper_even_pixels()
237 pixels = (p1 << 0) | (p2 << 2) | (p3 << 4) | (p4 << 6); in repaper_even_pixels()
238 *(*pp)++ = pixels; in repaper_even_pixels()
245 /* pixels on display are numbered from 1 so odd is actually bits 0,2,4,... */
254 u8 pixels = data[b - 1] & 0x55; in repaper_odd_pixels() local
258 pixel_mask = (mask[b - 1] ^ pixels) & 0x55; in repaper_odd_pixels()
264 pixels = 0xaa | (pixels ^ 0x55); in repaper_odd_pixels()
267 pixels = 0x55 + (pixels ^ 0x55); in repaper_odd_pixels()
270 pixels = 0x55 | ((pixels ^ 0x55) << 1); in repaper_odd_pixels()
273 pixels = 0xaa | pixels; in repaper_odd_pixels()
277 pixels = (pixels & pixel_mask) | (~pixel_mask & 0x55); in repaper_odd_pixels()
278 *(*pp)++ = pixels; in repaper_odd_pixels()
295 /* pixels on display are numbered from 1 */
304 u16 pixels = repaper_interleave_bits(data[b - 1]); in repaper_all_pixels() local
310 pixel_mask = (pixel_mask ^ pixels) & 0x5555; in repaper_all_pixels()
316 pixels = 0xaaaa | (pixels ^ 0x5555); in repaper_all_pixels()
319 pixels = 0x5555 + (pixels ^ 0x5555); in repaper_all_pixels()
322 pixels = 0x5555 | ((pixels ^ 0x5555) << 1); in repaper_all_pixels()
325 pixels = 0xaaaa | pixels; in repaper_all_pixels()
329 pixels = (pixels & pixel_mask) | (~pixel_mask & 0x5555); in repaper_all_pixels()
330 *(*pp)++ = pixels >> 8; in repaper_all_pixels()
331 *(*pp)++ = pixels; in repaper_all_pixels()
585 * An extra frame write is needed if pixels are set in the bottom line, in repaper_fb_dirty()
586 * or else grey lines rises up from the pixels in repaper_fb_dirty()