Lines Matching +full:0 +full:xff0000ff

45 unsigned long disp_BAT[2] __initdata = {0, 0};
74 * The display is mapped to virtual address 0xD0000000, rather
76 * in the region starting at 0xC0000000 (PAGE_OFFSET).
87 unsigned long vaddr = PAGE_OFFSET + 0x10000000; in btext_prepare_BAT()
93 boot_text_mapped = 0; in btext_prepare_BAT()
96 lowbits = addr & ~0xFF000000UL; in btext_prepare_BAT()
97 addr &= 0xFF000000UL; in btext_prepare_BAT()
98 disp_BAT[0] = vaddr | (BL_16M<<2) | 2; in btext_prepare_BAT()
112 g_loc_X = 0; in btext_setup_display()
113 g_loc_Y = 0; in btext_setup_display()
120 dispDeviceRect[0] = dispDeviceRect[1] = 0; in btext_setup_display()
128 boot_text_mapped = 0; in btext_unmap()
148 boot_text_mapped = 0; in btext_map()
151 base = ((unsigned long) dispDeviceBase) & 0xFFFFF000UL; in btext_map()
154 + dispDeviceRect[0]; in btext_map()
165 unsigned long address = 0; in btext_initialize()
190 if (prop && *prop != 0xffffffffu) in btext_initialize()
193 pitch = 0x1000; in btext_initialize()
203 if (address == 0) in btext_initialize()
206 g_loc_X = 0; in btext_initialize()
207 g_loc_Y = 0; in btext_initialize()
213 dispDeviceRect[0] = dispDeviceRect[1] = 0; in btext_initialize()
219 return 0; in btext_initialize()
233 if (rc == 0 || !allow_nonstdout) in btext_find_display()
242 if (rc == 0) { in btext_find_display()
258 base += (x + dispDeviceRect[0]) * (dispDeviceDepth >> 3); in calc_base()
271 if ((phys ^ (unsigned long)dispDeviceBase) & 0xf0000000) in btext_update_display()
275 dispDeviceRect[0] = 0; in btext_update_display()
276 dispDeviceRect[1] = 0; in btext_update_display()
283 boot_text_mapped = 0; in btext_update_display()
286 g_loc_X = 0; in btext_update_display()
287 g_loc_Y = 0; in btext_update_display()
295 unsigned int *base = (unsigned int *)calc_base(0, 0); in btext_clearscreen()
296 unsigned long width = ((dispDeviceRect[2] - dispDeviceRect[0]) * in btext_clearscreen()
301 for (i=0; i<(dispDeviceRect[3] - dispDeviceRect[1]); i++) in btext_clearscreen()
305 *(ptr++) = 0; in btext_clearscreen()
313 unsigned int *base = (unsigned int *)calc_base(0, 0); in btext_flushscreen()
314 unsigned long width = ((dispDeviceRect[2] - dispDeviceRect[0]) * in btext_flushscreen()
318 for (i=0; i < (dispDeviceRect[3] - dispDeviceRect[1]); i++) in btext_flushscreen()
321 for(j = width; j > 0; j -= 8) { in btext_flushscreen()
322 __asm__ __volatile__ ("dcbst 0,%0" :: "r" (ptr)); in btext_flushscreen()
332 unsigned int *base = (unsigned int *)calc_base(0, g_loc_Y << 4); in btext_flushline()
333 unsigned long width = ((dispDeviceRect[2] - dispDeviceRect[0]) * in btext_flushline()
337 for (i=0; i < 16; i++) in btext_flushline()
340 for(j = width; j > 0; j -= 8) { in btext_flushline()
341 __asm__ __volatile__ ("dcbst 0,%0" :: "r" (ptr)); in btext_flushline()
353 unsigned int *src = (unsigned int *)calc_base(0,16); in scrollscreen()
354 unsigned int *dst = (unsigned int *)calc_base(0,0); in scrollscreen()
355 unsigned long width = ((dispDeviceRect[2] - dispDeviceRect[0]) * in scrollscreen()
361 for (i=0; i<(dispDeviceRect[3] - dispDeviceRect[1] - 16); i++) in scrollscreen()
370 for (i=0; i<16; i++) in scrollscreen()
374 *(dst_ptr++) = 0; in scrollscreen()
383 0x00000000,
384 0x000000ff,
385 0x0000ff00,
386 0x0000ffff,
387 0x00ff0000,
388 0x00ff00ff,
389 0x00ffff00,
390 0x00ffffff,
391 0xff000000,
392 0xff0000ff,
393 0xff00ff00,
394 0xff00ffff,
395 0xffff0000,
396 0xffff00ff,
397 0xffffff00,
398 0xffffffff
402 0x00000000,
403 0x0000ffff,
404 0xffff0000,
405 0xffffffff
412 int fg = 0xFFFFFFFFUL; in draw_byte_32()
413 int bg = 0x00000000UL; in draw_byte_32()
415 for (l = 0; l < 16; ++l) in draw_byte_32()
418 base[0] = (-(bits >> 7) & fg) ^ bg; in draw_byte_32()
433 int fg = 0xFFFFFFFFUL; in draw_byte_16()
434 int bg = 0x00000000UL; in draw_byte_16()
437 for (l = 0; l < 16; ++l) in draw_byte_16()
440 base[0] = (eb[bits >> 6] & fg) ^ bg; in draw_byte_16()
451 int fg = 0x0F0F0F0FUL; in draw_byte_8()
452 int bg = 0x00000000UL; in draw_byte_8()
455 for (l = 0; l < 16; ++l) in draw_byte_8()
458 base[0] = (eb[bits >> 4] & fg) ^ bg; in draw_byte_8()
459 base[1] = (eb[bits & 0xf] & fg) ^ bg; in draw_byte_8()
490 int cline = 0; in btext_drawchar()
499 if (g_loc_X > 0) in btext_drawchar()
506 g_loc_X = 0; in btext_drawchar()
509 g_loc_X = 0; in btext_drawchar()
517 g_loc_X = 0; in btext_drawchar()
530 g_loc_Y = 0; in btext_drawchar()
532 for (x = 0; x < g_max_loc_X; ++x) in btext_drawchar()