Lines Matching full:pixels
198 /* pixels on display are numbered from 1 so even is actually bits 1,3,5,... */
207 u8 pixels = data[b] & 0xaa; in repaper_even_pixels() local
212 pixel_mask = (mask[b] ^ pixels) & 0xaa; in repaper_even_pixels()
218 pixels = 0xaa | ((pixels ^ 0xaa) >> 1); in repaper_even_pixels()
221 pixels = 0x55 + ((pixels ^ 0xaa) >> 1); in repaper_even_pixels()
224 pixels = 0x55 | (pixels ^ 0xaa); in repaper_even_pixels()
227 pixels = 0xaa | (pixels >> 1); in repaper_even_pixels()
231 pixels = (pixels & pixel_mask) | (~pixel_mask & 0x55); in repaper_even_pixels()
232 p1 = (pixels >> 6) & 0x03; in repaper_even_pixels()
233 p2 = (pixels >> 4) & 0x03; in repaper_even_pixels()
234 p3 = (pixels >> 2) & 0x03; in repaper_even_pixels()
235 p4 = (pixels >> 0) & 0x03; in repaper_even_pixels()
236 pixels = (p1 << 0) | (p2 << 2) | (p3 << 4) | (p4 << 6); in repaper_even_pixels()
237 *(*pp)++ = pixels; in repaper_even_pixels()
244 /* pixels on display are numbered from 1 so odd is actually bits 0,2,4,... */
253 u8 pixels = data[b - 1] & 0x55; in repaper_odd_pixels() local
257 pixel_mask = (mask[b - 1] ^ pixels) & 0x55; in repaper_odd_pixels()
263 pixels = 0xaa | (pixels ^ 0x55); in repaper_odd_pixels()
266 pixels = 0x55 + (pixels ^ 0x55); in repaper_odd_pixels()
269 pixels = 0x55 | ((pixels ^ 0x55) << 1); in repaper_odd_pixels()
272 pixels = 0xaa | pixels; in repaper_odd_pixels()
276 pixels = (pixels & pixel_mask) | (~pixel_mask & 0x55); in repaper_odd_pixels()
277 *(*pp)++ = pixels; in repaper_odd_pixels()
294 /* pixels on display are numbered from 1 */
303 u16 pixels = repaper_interleave_bits(data[b - 1]); in repaper_all_pixels() local
309 pixel_mask = (pixel_mask ^ pixels) & 0x5555; in repaper_all_pixels()
315 pixels = 0xaaaa | (pixels ^ 0x5555); in repaper_all_pixels()
318 pixels = 0x5555 + (pixels ^ 0x5555); in repaper_all_pixels()
321 pixels = 0x5555 | ((pixels ^ 0x5555) << 1); in repaper_all_pixels()
324 pixels = 0xaaaa | pixels; in repaper_all_pixels()
328 pixels = (pixels & pixel_mask) | (~pixel_mask & 0x5555); in repaper_all_pixels()
329 *(*pp)++ = pixels >> 8; in repaper_all_pixels()
330 *(*pp)++ = pixels; in repaper_all_pixels()
610 * An extra frame write is needed if pixels are set in the bottom line, in repaper_fb_dirty()
611 * or else grey lines rises up from the pixels in repaper_fb_dirty()