/linux-2.6.39/arch/sparc/kernel/ |
D | btext.c | 245 int fg = 0xFFFFFFFFUL; in draw_byte_32() local 251 base[0] = (-(bits >> 7) & fg) ^ bg; in draw_byte_32() 252 base[1] = (-((bits >> 6) & 1) & fg) ^ bg; in draw_byte_32() 253 base[2] = (-((bits >> 5) & 1) & fg) ^ bg; in draw_byte_32() 254 base[3] = (-((bits >> 4) & 1) & fg) ^ bg; in draw_byte_32() 255 base[4] = (-((bits >> 3) & 1) & fg) ^ bg; in draw_byte_32() 256 base[5] = (-((bits >> 2) & 1) & fg) ^ bg; in draw_byte_32() 257 base[6] = (-((bits >> 1) & 1) & fg) ^ bg; in draw_byte_32() 258 base[7] = (-(bits & 1) & fg) ^ bg; in draw_byte_32() 266 int fg = 0xFFFFFFFFUL; in draw_byte_16() local [all …]
|
/linux-2.6.39/drivers/video/ |
D | atafb_utils.h | 268 static inline void expand8_2col2mask(u8 fg, u8 bg, u32 fgm[], u32 bgm[]) in expand8_2col2mask() argument 270 fgm[0] = four2long[fg & 15] ^ (bgm[0] = four2long[bg & 15]); in expand8_2col2mask() 272 fgm[1] = four2long[fg >> 4] ^ (bgm[1] = four2long[bg >> 4]); in expand8_2col2mask() 300 static inline void fill8_2col(u8 *dst, u8 fg, u8 bg, u32 mask) in fill8_2col() argument 304 expand8_2col2mask(fg, bg, fgm, bgm); in fill8_2col() 342 static inline void expand16_2col2mask(u8 fg, u8 bg, u32 fgm[], u32 bgm[]) in expand16_2col2mask() argument 345 fgm[0] = two2word[fg & 3] ^ bgm[0]; in expand16_2col2mask() 348 fgm[1] = two2word[(fg >> 2) & 3] ^ bgm[1]; in expand16_2col2mask() 352 fgm[2] = two2word[(fg >> 4) & 3] ^ bgm[2]; in expand16_2col2mask() 354 fgm[3] = two2word[fg >> 6] ^ bgm[3]; in expand16_2col2mask()
|
D | wmt_ge_rops.c | 51 unsigned long fg, pat; in wmt_ge_fillrect() local 58 fg = ((u32 *) (p->pseudo_palette))[rect->color]; in wmt_ge_fillrect() 60 fg = rect->color; in wmt_ge_fillrect() 62 pat = pixel_to_pat(p->var.bits_per_pixel, fg); in wmt_ge_fillrect()
|
D | ffb.c | 221 u32 fg; member 440 upa_writel(par->fg_cache, &fbc->fg); in ffb_switch_from_graph() 480 u32 fg; in ffb_fillrect() local 484 fg = ((u32 *)info->pseudo_palette)[rect->color]; in ffb_fillrect() 488 if (fg != par->fg_cache) { in ffb_fillrect() 490 upa_writel(fg, &fbc->fg); in ffb_fillrect() 491 par->fg_cache = fg; in ffb_fillrect() 555 u32 fg, bg, xy; in ffb_imageblit() local 564 fg = ((u32 *)info->pseudo_palette)[image->fg_color]; in ffb_imageblit() 566 fgbg = ((u64) fg << 32) | (u64) bg; in ffb_imageblit() [all …]
|
D | sysfillrect.c | 245 unsigned long pat, pat2, fg; in sys_fillrect() local 257 fg = ((u32 *) (p->pseudo_palette))[rect->color]; in sys_fillrect() 259 fg = rect->color; in sys_fillrect() 261 pat = pixel_to_pat( bpp, fg); in sys_fillrect()
|
D | cfbfillrect.c | 280 unsigned long pat, pat2, fg; in cfb_fillrect() local 292 fg = ((u32 *) (p->pseudo_palette))[rect->color]; in cfb_fillrect() 294 fg = rect->color; in cfb_fillrect() 296 pat = pixel_to_pat(bpp, fg); in cfb_fillrect()
|
D | s1d13xxxfb.c | 538 u32 fg; in s1d13xxxfb_bitblt_solidfill() local 575 fg = ((u32 *)info->pseudo_palette)[rect->color]; in s1d13xxxfb_bitblt_solidfill() 577 dbg_blit("(solidfill) pseudo_palette[%d] = %d\n", rect->color, fg); in s1d13xxxfb_bitblt_solidfill() 579 fg = rect->color; in s1d13xxxfb_bitblt_solidfill() 584 s1d13xxxfb_writereg(info->par, S1DREG_BBLT_FGC0, (fg & 0xff)); in s1d13xxxfb_bitblt_solidfill() 585 s1d13xxxfb_writereg(info->par, S1DREG_BBLT_FGC1, (fg >> 8) & 0xff); in s1d13xxxfb_bitblt_solidfill()
|
D | vt8623fb.c | 153 u32 fg = expand_color(image->fg_color); in vt8623fb_iplan_imageblit() local 170 val = (val & fg) | (~val & bg); in vt8623fb_iplan_imageblit() 181 u32 fg = expand_color(rect->color); in vt8623fb_iplan_fillrect() local 192 fb_writel(fg, dst++); in vt8623fb_iplan_fillrect() 209 u32 fg = image->fg_color * 0x11111111; in vt8623fb_cfb4_imageblit() local 226 val = (val & fg) | (~val & bg); in vt8623fb_cfb4_imageblit()
|
/linux-2.6.39/arch/powerpc/kernel/ |
D | btext.c | 519 int fg = 0xFFFFFFFFUL; in draw_byte_32() local 525 base[0] = (-(bits >> 7) & fg) ^ bg; in draw_byte_32() 526 base[1] = (-((bits >> 6) & 1) & fg) ^ bg; in draw_byte_32() 527 base[2] = (-((bits >> 5) & 1) & fg) ^ bg; in draw_byte_32() 528 base[3] = (-((bits >> 4) & 1) & fg) ^ bg; in draw_byte_32() 529 base[4] = (-((bits >> 3) & 1) & fg) ^ bg; in draw_byte_32() 530 base[5] = (-((bits >> 2) & 1) & fg) ^ bg; in draw_byte_32() 531 base[6] = (-((bits >> 1) & 1) & fg) ^ bg; in draw_byte_32() 532 base[7] = (-(bits & 1) & fg) ^ bg; in draw_byte_32() 540 int fg = 0xFFFFFFFFUL; in draw_byte_16() local [all …]
|
/linux-2.6.39/drivers/video/console/ |
D | tileblit.c | 43 rect.fg = attr_fgcol_ec(fgshift, vc, info); in tile_clear() 56 int fg, int bg) in tile_putcs() argument 66 blit.fg = fg; in tile_putcs() 83 int softback_lines, int fg, int bg) in tile_cursor() argument 91 cursor.fg = fg; in tile_cursor()
|
D | fbcon.h | 61 int fg, int bg); 65 int softback_lines, int fg, int bg); 122 int fg; in attr_col_ec() local 139 fg = is_mono01 ? col : 0; in attr_col_ec() 143 fg = is_mono01 ? 0 : col; in attr_col_ec() 147 return is_fg ? fg : bg; in attr_col_ec()
|
D | bitblit.c | 145 int fg, int bg) in bit_putcs() argument 157 image.fg_color = fg; in bit_putcs() 238 int softback_lines, int fg, int bg) in bit_cursor() argument 282 if (ops->cursor_state.image.fg_color != fg || in bit_cursor() 285 ops->cursor_state.image.fg_color = fg; in bit_cursor()
|
D | fbcon_ccw.c | 131 int fg, int bg) in ccw_putcs() argument 148 image.fg_color = fg; in ccw_putcs() 223 int softback_lines, int fg, int bg) in ccw_cursor() argument 271 if (ops->cursor_state.image.fg_color != fg || in ccw_cursor() 274 ops->cursor_state.image.fg_color = fg; in ccw_cursor()
|
D | fbcon_cw.c | 117 int fg, int bg) in cw_putcs() argument 134 image.fg_color = fg; in cw_putcs() 207 int softback_lines, int fg, int bg) in cw_cursor() argument 255 if (ops->cursor_state.image.fg_color != fg || in cw_cursor() 258 ops->cursor_state.image.fg_color = fg; in cw_cursor()
|
D | fbcon_ud.c | 153 int fg, int bg) in ud_putcs() argument 171 image.fg_color = fg; in ud_putcs() 253 int softback_lines, int fg, int bg) in ud_cursor() argument 302 if (ops->cursor_state.image.fg_color != fg || in ud_cursor() 305 ops->cursor_state.image.fg_color = fg; in ud_cursor()
|
/linux-2.6.39/tools/perf/util/ |
D | color.c | 53 int fg = -2; in color_parse_mem() local 79 if (fg == -2) { in color_parse_mem() 80 fg = val; in color_parse_mem() 95 if (attr >= 0 || fg >= 0 || bg >= 0) { in color_parse_mem() 104 if (fg >= 0) { in color_parse_mem() 107 if (fg < 8) { in color_parse_mem() 109 *dst++ = '0' + fg; in color_parse_mem() 111 dst += sprintf(dst, "38;5;%d", fg); in color_parse_mem()
|
/linux-2.6.39/drivers/video/savage/ |
D | savagefb_accel.c | 94 int fg, bg, size, i, width; in savagefb_imageblit() local 107 fg = image->fg_color; in savagefb_imageblit() 110 fg = ((u32 *)info->pseudo_palette)[image->fg_color]; in savagefb_imageblit() 128 BCI_SEND(fg); in savagefb_imageblit()
|
/linux-2.6.39/tools/perf/util/ui/ |
D | libslang.h | 19 #define sltt_set_color(obj, name, fg, bg) \ argument 20 SLtt_set_color(obj,(char *)(name), (char *)(fg), (char *)(bg))
|
/linux-2.6.39/drivers/video/i810/ |
D | i810_accel.c | 238 int fg, struct fb_info *info) in mono_src_copy_imm_blit() argument 249 PUT_RING(fg); in mono_src_copy_imm_blit() 370 u32 fg = 0, bg = 0, size, dst; in i810fb_imageblit() local 380 fg = image->fg_color; in i810fb_imageblit() 385 fg = ((u32 *)(info->pseudo_palette))[image->fg_color]; in i810fb_imageblit() 402 bg, fg, info); in i810fb_imageblit()
|
/linux-2.6.39/drivers/video/aty/ |
D | mach64_cursor.c | 124 u32 fg_idx, bg_idx, fg, bg; in atyfb_cursor() local 129 fg = ((info->cmap.red[fg_idx] & 0xff) << 24) | in atyfb_cursor() 139 aty_st_le32(CUR_CLR1, fg, par); in atyfb_cursor()
|
D | mach64_accel.c | 351 u32 fg, bg; in atyfb_imageblit() local 354 fg = ((u32*)(info->pseudo_palette))[image->fg_color]; in atyfb_imageblit() 357 fg = image->fg_color; in atyfb_imageblit() 363 aty_st_le32(DP_FRGD_CLR, fg, par); in atyfb_imageblit()
|
/linux-2.6.39/drivers/gpu/drm/nouveau/ |
D | nv04_fbcon.c | 87 uint32_t fg; in nv04_fbcon_imageblit() local 106 fg = ((uint32_t *) info->pseudo_palette)[image->fg_color]; in nv04_fbcon_imageblit() 109 fg = image->fg_color; in nv04_fbcon_imageblit() 118 OUT_RING(chan, fg); in nv04_fbcon_imageblit()
|
/linux-2.6.39/drivers/video/mb862xx/ |
D | mb862xxfb_accel.c | 260 u32 x2, y2, vxres, vyres, height, width, fg; in mb86290fb_fillrect() local 280 fg = ((u32 *) (info->pseudo_palette))[rect->color]; in mb86290fb_fillrect() 282 fg = rect->color; in mb86290fb_fillrect() 302 cmd[3] = fg; in mb86290fb_fillrect()
|
/linux-2.6.39/drivers/video/nvidia/ |
D | nv_accel.c | 354 u32 fg, bg, mask = ~(~0 >> (32 - info->var.bits_per_pixel)); in nvidiafb_mono_color_expand() local 362 fg = image->fg_color | mask; in nvidiafb_mono_color_expand() 365 fg = ((u32 *) info->pseudo_palette)[image->fg_color] | mask; in nvidiafb_mono_color_expand() 374 NVDmaNext(par, fg); in nvidiafb_mono_color_expand()
|
D | nvidia.c | 124 u16 bg, u16 fg, u32 w, u32 h) in nvidiafb_load_cursor_image() argument 139 tmp = (b & (1 << 31)) ? fg << 16 : bg << 16; in nvidiafb_load_cursor_image() 141 tmp |= (b & (1 << 31)) ? fg : bg; in nvidiafb_load_cursor_image() 144 tmp = (b & 1) ? fg : bg; in nvidiafb_load_cursor_image() 146 tmp |= (b & 1) ? fg << 16 : bg << 16; in nvidiafb_load_cursor_image() 543 u16 fg, bg; in nvidiafb_cursor() local 600 fg = ((info->cmap.red[fg_idx] & 0xf8) << 7) | in nvidiafb_cursor() 606 nvidiafb_load_cursor_image(par, data, bg, fg, in nvidiafb_cursor()
|