Lines Matching refs:base

154 	unsigned long base, offset, size;  in btext_map()  local
161 base = ((unsigned long) dispDeviceBase) & 0xFFFFF000UL; in btext_map()
162 offset = ((unsigned long) dispDeviceBase) - base; in btext_map()
165 vbase = __ioremap(base, size, _PAGE_NO_CACHE); in btext_map()
269 unsigned char *base; in calc_base() local
271 base = logicalDisplayBase; in calc_base()
272 if (base == 0) in calc_base()
273 base = dispDeviceBase; in calc_base()
274 base += (x + dispDeviceRect[0]) * (dispDeviceDepth >> 3); in calc_base()
275 base += (y + dispDeviceRect[1]) * dispDeviceRowBytes; in calc_base()
276 return base; in calc_base()
311 unsigned int *base = (unsigned int *)calc_base(0, 0); in btext_clearscreen() local
319 unsigned int *ptr = base; in btext_clearscreen()
322 base += (dispDeviceRowBytes >> 2); in btext_clearscreen()
329 unsigned int *base = (unsigned int *)calc_base(0, 0); in btext_flushscreen() local
336 unsigned int *ptr = base; in btext_flushscreen()
341 base += (dispDeviceRowBytes >> 2); in btext_flushscreen()
348 unsigned int *base = (unsigned int *)calc_base(0, g_loc_Y << 4); in btext_flushline() local
355 unsigned int *ptr = base; in btext_flushline()
360 base += (dispDeviceRowBytes >> 2); in btext_flushline()
425 static void draw_byte_32(unsigned char *font, unsigned int *base, int rb) in draw_byte_32() argument
434 base[0] = (-(bits >> 7) & fg) ^ bg; in draw_byte_32()
435 base[1] = (-((bits >> 6) & 1) & fg) ^ bg; in draw_byte_32()
436 base[2] = (-((bits >> 5) & 1) & fg) ^ bg; in draw_byte_32()
437 base[3] = (-((bits >> 4) & 1) & fg) ^ bg; in draw_byte_32()
438 base[4] = (-((bits >> 3) & 1) & fg) ^ bg; in draw_byte_32()
439 base[5] = (-((bits >> 2) & 1) & fg) ^ bg; in draw_byte_32()
440 base[6] = (-((bits >> 1) & 1) & fg) ^ bg; in draw_byte_32()
441 base[7] = (-(bits & 1) & fg) ^ bg; in draw_byte_32()
442 base = (unsigned int *) ((char *)base + rb); in draw_byte_32()
446 static inline void draw_byte_16(unsigned char *font, unsigned int *base, int rb) in draw_byte_16() argument
456 base[0] = (eb[bits >> 6] & fg) ^ bg; in draw_byte_16()
457 base[1] = (eb[(bits >> 4) & 3] & fg) ^ bg; in draw_byte_16()
458 base[2] = (eb[(bits >> 2) & 3] & fg) ^ bg; in draw_byte_16()
459 base[3] = (eb[bits & 3] & fg) ^ bg; in draw_byte_16()
460 base = (unsigned int *) ((char *)base + rb); in draw_byte_16()
464 static inline void draw_byte_8(unsigned char *font, unsigned int *base, int rb) in draw_byte_8() argument
474 base[0] = (eb[bits >> 4] & fg) ^ bg; in draw_byte_8()
475 base[1] = (eb[bits & 0xf] & fg) ^ bg; in draw_byte_8()
476 base = (unsigned int *) ((char *)base + rb); in draw_byte_8()
482 unsigned char *base = calc_base(locX << 3, locY << 4); in draw_byte() local
490 draw_byte_32(font, (unsigned int *)base, rb); in draw_byte()
494 draw_byte_16(font, (unsigned int *)base, rb); in draw_byte()
497 draw_byte_8(font, (unsigned int *)base, rb); in draw_byte()