Lines Matching +full:0 +full:xff0000ff
43 unsigned long disp_BAT[2] __initdata = {0, 0};
72 * The display is mapped to virtual address 0xD0000000, rather
74 * in the region starting at 0xC0000000 (PAGE_OFFSET).
85 unsigned long vaddr = PAGE_OFFSET + 0x10000000; in btext_prepare_BAT()
91 boot_text_mapped = 0; in btext_prepare_BAT()
94 lowbits = addr & ~0xFF000000UL; in btext_prepare_BAT()
95 addr &= 0xFF000000UL; in btext_prepare_BAT()
96 disp_BAT[0] = vaddr | (BL_16M<<2) | 2; in btext_prepare_BAT()
110 g_loc_X = 0; in btext_setup_display()
111 g_loc_Y = 0; in btext_setup_display()
118 dispDeviceRect[0] = dispDeviceRect[1] = 0; in btext_setup_display()
126 boot_text_mapped = 0; in btext_unmap()
146 boot_text_mapped = 0; in btext_map()
149 base = ((unsigned long) dispDeviceBase) & 0xFFFFF000UL; in btext_map()
152 + dispDeviceRect[0]; in btext_map()
163 unsigned long address = 0; in btext_initialize()
188 if (prop && *prop != 0xffffffffu) in btext_initialize()
191 pitch = 0x1000; in btext_initialize()
201 if (address == 0) in btext_initialize()
204 g_loc_X = 0; in btext_initialize()
205 g_loc_Y = 0; in btext_initialize()
211 dispDeviceRect[0] = dispDeviceRect[1] = 0; in btext_initialize()
217 return 0; in btext_initialize()
231 if (rc == 0 || !allow_nonstdout) in btext_find_display()
240 if (rc == 0) { in btext_find_display()
256 base += (x + dispDeviceRect[0]) * (dispDeviceDepth >> 3); in calc_base()
269 if ((phys ^ (unsigned long)dispDeviceBase) & 0xf0000000) in btext_update_display()
273 dispDeviceRect[0] = 0; in btext_update_display()
274 dispDeviceRect[1] = 0; in btext_update_display()
281 boot_text_mapped = 0; in btext_update_display()
284 g_loc_X = 0; in btext_update_display()
285 g_loc_Y = 0; in btext_update_display()
293 unsigned int *base = (unsigned int *)calc_base(0, 0); in btext_clearscreen()
294 unsigned long width = ((dispDeviceRect[2] - dispDeviceRect[0]) * in btext_clearscreen()
299 for (i=0; i<(dispDeviceRect[3] - dispDeviceRect[1]); i++) in btext_clearscreen()
303 *(ptr++) = 0; in btext_clearscreen()
311 unsigned int *base = (unsigned int *)calc_base(0, 0); in btext_flushscreen()
312 unsigned long width = ((dispDeviceRect[2] - dispDeviceRect[0]) * in btext_flushscreen()
316 for (i=0; i < (dispDeviceRect[3] - dispDeviceRect[1]); i++) in btext_flushscreen()
319 for(j = width; j > 0; j -= 8) { in btext_flushscreen()
320 __asm__ __volatile__ ("dcbst 0,%0" :: "r" (ptr)); in btext_flushscreen()
330 unsigned int *base = (unsigned int *)calc_base(0, g_loc_Y << 4); in btext_flushline()
331 unsigned long width = ((dispDeviceRect[2] - dispDeviceRect[0]) * in btext_flushline()
335 for (i=0; i < 16; i++) in btext_flushline()
338 for(j = width; j > 0; j -= 8) { in btext_flushline()
339 __asm__ __volatile__ ("dcbst 0,%0" :: "r" (ptr)); in btext_flushline()
351 unsigned int *src = (unsigned int *)calc_base(0,16); in scrollscreen()
352 unsigned int *dst = (unsigned int *)calc_base(0,0); in scrollscreen()
353 unsigned long width = ((dispDeviceRect[2] - dispDeviceRect[0]) * in scrollscreen()
359 for (i=0; i<(dispDeviceRect[3] - dispDeviceRect[1] - 16); i++) in scrollscreen()
368 for (i=0; i<16; i++) in scrollscreen()
372 *(dst_ptr++) = 0; in scrollscreen()
381 0x00000000,
382 0x000000ff,
383 0x0000ff00,
384 0x0000ffff,
385 0x00ff0000,
386 0x00ff00ff,
387 0x00ffff00,
388 0x00ffffff,
389 0xff000000,
390 0xff0000ff,
391 0xff00ff00,
392 0xff00ffff,
393 0xffff0000,
394 0xffff00ff,
395 0xffffff00,
396 0xffffffff
400 0x00000000,
401 0x0000ffff,
402 0xffff0000,
403 0xffffffff
410 int fg = 0xFFFFFFFFUL; in draw_byte_32()
411 int bg = 0x00000000UL; in draw_byte_32()
413 for (l = 0; l < 16; ++l) in draw_byte_32()
416 base[0] = (-(bits >> 7) & fg) ^ bg; in draw_byte_32()
431 int fg = 0xFFFFFFFFUL; in draw_byte_16()
432 int bg = 0x00000000UL; in draw_byte_16()
435 for (l = 0; l < 16; ++l) in draw_byte_16()
438 base[0] = (eb[bits >> 6] & fg) ^ bg; in draw_byte_16()
449 int fg = 0x0F0F0F0FUL; in draw_byte_8()
450 int bg = 0x00000000UL; in draw_byte_8()
453 for (l = 0; l < 16; ++l) in draw_byte_8()
456 base[0] = (eb[bits >> 4] & fg) ^ bg; in draw_byte_8()
457 base[1] = (eb[bits & 0xf] & fg) ^ bg; in draw_byte_8()
488 int cline = 0; in btext_drawchar()
497 if (g_loc_X > 0) in btext_drawchar()
504 g_loc_X = 0; in btext_drawchar()
507 g_loc_X = 0; in btext_drawchar()
515 g_loc_X = 0; in btext_drawchar()
528 g_loc_Y = 0; in btext_drawchar()
530 for (x = 0; x < g_max_loc_X; ++x) in btext_drawchar()