Home
last modified time | relevance | path

Searched refs:fg (Results 1 – 15 of 15) sorted by relevance

/linux-2.4.37.9/arch/ppc/kernel/
Dbtext.c460 int fg = 0xFFFFFFFFUL; in draw_byte_32() local
466 base[0] = (-(bits >> 7) & fg) ^ bg; in draw_byte_32()
467 base[1] = (-((bits >> 6) & 1) & fg) ^ bg; in draw_byte_32()
468 base[2] = (-((bits >> 5) & 1) & fg) ^ bg; in draw_byte_32()
469 base[3] = (-((bits >> 4) & 1) & fg) ^ bg; in draw_byte_32()
470 base[4] = (-((bits >> 3) & 1) & fg) ^ bg; in draw_byte_32()
471 base[5] = (-((bits >> 2) & 1) & fg) ^ bg; in draw_byte_32()
472 base[6] = (-((bits >> 1) & 1) & fg) ^ bg; in draw_byte_32()
473 base[7] = (-(bits & 1) & fg) ^ bg; in draw_byte_32()
482 int fg = 0xFFFFFFFFUL; in draw_byte_16() local
[all …]
/linux-2.4.37.9/drivers/video/
Dfbcon-ilbm.c103 int fg0, bg0, fg, bg; in fbcon_ilbm_putc() local
112 fg = fg0; in fbcon_ilbm_putc()
116 if (fg & 1) in fbcon_ilbm_putc()
121 if (fg & 1) in fbcon_ilbm_putc()
127 fg >>= 1; in fbcon_ilbm_putc()
154 int fg0, bg0, fg, bg; in fbcon_ilbm_putcs() local
170 fg = fg0; in fbcon_ilbm_putcs()
174 if (fg & 1) in fbcon_ilbm_putcs()
179 if (fg & 1) in fbcon_ilbm_putcs()
185 fg >>= 1; in fbcon_ilbm_putcs()
[all …]
Dfbcon-afb.c251 int fg, bg; in fbcon_afb_putc() local
255 fg = attr_fgcol(p,c); in fbcon_afb_putc()
265 if (fg & 1) in fbcon_afb_putc()
273 fg >>= 1; in fbcon_afb_putc()
290 int fg0, bg0, fg, bg; in fbcon_afb_putcs() local
304 fg = fg0; in fbcon_afb_putcs()
314 if (fg & 1) in fbcon_afb_putcs()
322 fg >>= 1; in fbcon_afb_putcs()
336 fg = fg0; in fbcon_afb_putcs()
349 if (fg & 1) in fbcon_afb_putcs()
[all …]
Dfbcon-vga-planes.c182 int fg = attr_fgcol(p,c); in fbcon_ega_planes_putc() local
200 setcolor(fg); in fbcon_ega_planes_putc()
211 int fg = attr_fgcol(p,c); in fbcon_vga_planes_putc() local
221 setcolor(fg); in fbcon_vga_planes_putc()
240 int fg = attr_fgcol(p, c); in fbcon_ega_planes_putcs() local
265 writeb(fg, where); in fbcon_ega_planes_putcs()
279 int fg = attr_fgcol(p, c); in fbcon_vga_planes_putcs() local
288 setcolor(fg); in fbcon_vga_planes_putcs()
Dcreatorfb.c182 volatile u32 fg; member
367 int fg; in ffb_clear() local
370 fg = ((u32 *)p->dispsw_data)[attr_bgcol_ec(p,conp)]; in ffb_clear()
371 if (fg != fb->s.ffb.fg_cache) { in ffb_clear()
373 upa_writel(fg, &fbc->fg); in ffb_clear()
374 fb->s.ffb.fg_cache = fg; in ffb_clear()
398 int fg; in ffb_fill() local
401 fg = ((u32 *)p->dispsw_data)[attr_bgcol(p,s)]; in ffb_fill()
402 if (fg != fb->s.ffb.fg_cache) { in ffb_fill()
404 upa_writel(fg, &fbc->fg); in ffb_fill()
[all …]
Dleofb.c111 volatile u32 fg; member
187 sbus_writel((attr_bgcol_ec(p,conp)<<24), &ss->fg); in leo_clear()
213 sbus_writel((attr_bgcol(p,s)<<24), &ss->fg); in leo_fill()
257 sbus_writel(attr_fgcol(p,c) << 24, &ss->fg); in leo_putc()
296 sbus_writel(attr_fgcol(p, c) << 24, &ss->fg); in leo_putcs()
727 sbus_writel(0, &ss->fg); in leofb_init()
Dcgsixfb.c177 volatile u32 fg; member
244 sbus_writel(attr_bgcol_ec(p,conp), &fbc->fg); in cg6_clear()
283 sbus_writel(attr_bgcol(p,s), &fbc->fg); in cg6_fill()
330 sbus_writel(attr_fgcol(p,c), &fbc->fg); in cg6_putc()
374 sbus_writel(attr_fgcol(p, c), &fbc->fg); in cg6_putcs()
/linux-2.4.37.9/drivers/char/drm-4.0/
Dffb_context.c56 ctx->fg = upa_readl(&ffb->fg); in ffb_save_context()
98 ctx->fg = upa_readl(&ffb->fg); /* Constant FG color */ in ffb_save_context()
195 upa_writel(ctx->fg, &ffb->fg); in ffb_restore_context()
241 upa_writel(ctx->fg, &ffb->fg); /* Constant FG color */ in ffb_restore_context()
Dffb_drv.h89 /*208*/ volatile unsigned int fg; /* FG data */ member
191 unsigned int fg; member
/linux-2.4.37.9/drivers/char/drm/
Dffb_context.c57 ctx->fg = upa_readl(&ffb->fg); in ffb_save_context()
99 ctx->fg = upa_readl(&ffb->fg); /* Constant FG color */ in ffb_save_context()
196 upa_writel(ctx->fg, &ffb->fg); in ffb_restore_context()
242 upa_writel(ctx->fg, &ffb->fg); /* Constant FG color */ in ffb_restore_context()
Dffb_drv.h89 /*208*/ volatile unsigned int fg; /* FG data */ member
191 unsigned int fg; member
/linux-2.4.37.9/scripts/
Dheader.tk316 $w.x$line.l configure -activefore [cget $w.x$line.l -fg] \
426 $w.x$line.l configure -activefore [cget $w.x$line.l -fg] \
438 $w.x$line.l configure -activefore [cget $w.x$line.l -fg] \
441 $w.x$line.m configure -activefore [cget $w.x$line.m -fg] \
/linux-2.4.37.9/drivers/video/intel/
Dintelfbdrv.c1871 u32 bg = 0, fg = 0; in fbcon_intelfb_putc() local
1878 fg = attr_fgcol(p, c); in fbcon_intelfb_putc()
1882 fg = ((u16 *)p->dispsw_data)[attr_fgcol(p, c)]; in fbcon_intelfb_putc()
1886 fg = ((u32 *)p->dispsw_data)[attr_fgcol(p, c)]; in fbcon_intelfb_putc()
1893 if (intelfbhw_do_drawglyph(dinfo, fg, bg, fontwidth(p), in fbcon_intelfb_putc()
1939 u32 bg = 0, fg = 0; in fbcon_intelfb_putcs() local
1947 fg = attr_fgcol(p, c); in fbcon_intelfb_putcs()
1951 fg = ((u16 *)p->dispsw_data)[attr_fgcol(p, c)]; in fbcon_intelfb_putcs()
1955 fg = ((u32 *)p->dispsw_data)[attr_fgcol(p, c)]; in fbcon_intelfb_putcs()
1963 intelfbhw_do_drawglyph(dinfo, fg, bg, fontwidth(p), in fbcon_intelfb_putcs()
Dintelfb.h372 extern int intelfbhw_do_drawglyph(struct intelfb_info *dinfo, u32 fg, u32 bg,
380 u32 fg);
Dintelfbhw.c1476 intelfbhw_do_drawglyph(struct intelfb_info *dinfo, u32 fg, u32 bg, u32 w, u32 h, in intelfbhw_do_drawglyph() argument
1524 br19 = fg; in intelfbhw_do_drawglyph()
1729 intelfbhw_cursor_setcolor(struct intelfb_info *dinfo, u32 bg, u32 fg) in intelfbhw_cursor_setcolor() argument
1739 OUTREG(CURSOR_A_PALETTE1, fg & CURSOR_PALETTE_MASK); in intelfbhw_cursor_setcolor()
1740 OUTREG(CURSOR_A_PALETTE2, fg & CURSOR_PALETTE_MASK); in intelfbhw_cursor_setcolor()