/drivers/gpu/drm/nouveau/ |
H A D | nv04_fbcon.c | 87 uint32_t fg; local 106 fg = ((uint32_t *) info->pseudo_palette)[image->fg_color]; 109 fg = image->fg_color; 118 OUT_RING(chan, fg);
|
/drivers/video/aty/ |
H A D | mach64_cursor.c | 124 u32 fg_idx, bg_idx, fg, bg; local 129 fg = ((info->cmap.red[fg_idx] & 0xff) << 24) | 139 aty_st_le32(CUR_CLR1, fg, par);
|
H A D | mach64_accel.c | 351 u32 fg, bg; local 354 fg = ((u32*)(info->pseudo_palette))[image->fg_color]; 357 fg = image->fg_color; 363 aty_st_le32(DP_FRGD_CLR, fg, par);
|
/drivers/video/ |
H A D | cfbfillrect.c | 280 unsigned long pat, pat2, fg; local 292 fg = ((u32 *) (p->pseudo_palette))[rect->color]; 294 fg = rect->color; 296 pat = pixel_to_pat(bpp, fg);
|
H A D | sysfillrect.c | 245 unsigned long pat, pat2, fg; local 257 fg = ((u32 *) (p->pseudo_palette))[rect->color]; 259 fg = rect->color; 261 pat = pixel_to_pat( bpp, fg);
|
H A D | atafb_utils.h | 268 static inline void expand8_2col2mask(u8 fg, u8 bg, u32 fgm[], u32 bgm[]) argument 270 fgm[0] = four2long[fg & 15] ^ (bgm[0] = four2long[bg & 15]); 272 fgm[1] = four2long[fg >> 4] ^ (bgm[1] = four2long[bg >> 4]); 300 static inline void fill8_2col(u8 *dst, u8 fg, u8 bg, u32 mask) argument 304 expand8_2col2mask(fg, bg, fgm, bgm); 342 static inline void expand16_2col2mask(u8 fg, u8 bg, u32 fgm[], u32 bgm[]) argument 345 fgm[0] = two2word[fg & 3] ^ bgm[0]; 348 fgm[1] = two2word[(fg >> 2) & 3] ^ bgm[1]; 352 fgm[2] = two2word[(fg >> 4) & 3] ^ bgm[2]; 354 fgm[3] = two2word[fg >> [all...] |
H A D | wmt_ge_rops.c | 51 unsigned long fg, pat; local 58 fg = ((u32 *) (p->pseudo_palette))[rect->color]; 60 fg = rect->color; 62 pat = pixel_to_pat(p->var.bits_per_pixel, fg);
|
H A D | s1d13xxxfb.c | 538 u32 fg; local 575 fg = ((u32 *)info->pseudo_palette)[rect->color]; 577 dbg_blit("(solidfill) pseudo_palette[%d] = %d\n", rect->color, fg); 579 fg = rect->color; 584 s1d13xxxfb_writereg(info->par, S1DREG_BBLT_FGC0, (fg & 0xff)); 585 s1d13xxxfb_writereg(info->par, S1DREG_BBLT_FGC1, (fg >> 8) & 0xff);
|
H A D | vt8623fb.c | 153 u32 fg = expand_color(image->fg_color); local 170 val = (val & fg) | (~val & bg); 181 u32 fg = expand_color(rect->color); local 192 fb_writel(fg, dst++); 209 u32 fg = image->fg_color * 0x11111111; local 226 val = (val & fg) | (~val & bg);
|
H A D | arkfb.c | 190 u32 fg = expand_color(image->fg_color); local 207 val = (val & fg) | (~val & bg); 219 u32 fg = expand_color(rect->color); local 230 fb_writel(fg, dst++); 248 u32 fg = image->fg_color * 0x11111111; local 265 val = (val & fg) | (~val & bg);
|
H A D | leo.c | 141 u32 fg; member in struct:leo_ld_ss0 225 sbus_writel(0, &ss->fg);
|
H A D | cirrusfb.c | 1848 u32 fg, bg; local 1851 fg = image->fg_color; 1854 fg = ((u32 *)(info->pseudo_palette))[image->fg_color]; 1871 fg, bg,
|
/drivers/video/savage/ |
H A D | savagefb_accel.c | 95 int fg, bg, size, i, width; local 108 fg = image->fg_color; 111 fg = ((u32 *)info->pseudo_palette)[image->fg_color]; 129 BCI_SEND(fg);
|
/drivers/video/console/ |
H A D | tileblit.c | 43 rect.fg = attr_fgcol_ec(fgshift, vc, info); 56 int fg, int bg) 66 blit.fg = fg; 83 int softback_lines, int fg, int bg) 91 cursor.fg = fg; 54 tile_putcs(struct vc_data *vc, struct fb_info *info, const unsigned short *s, int count, int yy, int xx, int fg, int bg) argument 82 tile_cursor(struct vc_data *vc, struct fb_info *info, int mode, int softback_lines, int fg, int bg) argument
|
H A D | bitblit.c | 145 int fg, int bg) 157 image.fg_color = fg; 238 int softback_lines, int fg, int bg) 282 if (ops->cursor_state.image.fg_color != fg || 285 ops->cursor_state.image.fg_color = fg; 143 bit_putcs(struct vc_data *vc, struct fb_info *info, const unsigned short *s, int count, int yy, int xx, int fg, int bg) argument 237 bit_cursor(struct vc_data *vc, struct fb_info *info, int mode, int softback_lines, int fg, int bg) argument
|
H A D | fbcon_ccw.c | 131 int fg, int bg) 148 image.fg_color = fg; 223 int softback_lines, int fg, int bg) 271 if (ops->cursor_state.image.fg_color != fg || 274 ops->cursor_state.image.fg_color = fg; 129 ccw_putcs(struct vc_data *vc, struct fb_info *info, const unsigned short *s, int count, int yy, int xx, int fg, int bg) argument 222 ccw_cursor(struct vc_data *vc, struct fb_info *info, int mode, int softback_lines, int fg, int bg) argument
|
H A D | fbcon_cw.c | 117 int fg, int bg) 134 image.fg_color = fg; 207 int softback_lines, int fg, int bg) 255 if (ops->cursor_state.image.fg_color != fg || 258 ops->cursor_state.image.fg_color = fg; 115 cw_putcs(struct vc_data *vc, struct fb_info *info, const unsigned short *s, int count, int yy, int xx, int fg, int bg) argument 206 cw_cursor(struct vc_data *vc, struct fb_info *info, int mode, int softback_lines, int fg, int bg) argument
|
H A D | fbcon_ud.c | 153 int fg, int bg) 171 image.fg_color = fg; 253 int softback_lines, int fg, int bg) 302 if (ops->cursor_state.image.fg_color != fg || 305 ops->cursor_state.image.fg_color = fg; 151 ud_putcs(struct vc_data *vc, struct fb_info *info, const unsigned short *s, int count, int yy, int xx, int fg, int bg) argument 252 ud_cursor(struct vc_data *vc, struct fb_info *info, int mode, int softback_lines, int fg, int bg) argument
|
H A D | fbcon.h | 61 int fg, int bg); 65 int softback_lines, int fg, int bg); 122 int fg; local 139 fg = is_mono01 ? col : 0; 143 fg = is_mono01 ? 0 : col; 147 return is_fg ? fg : bg;
|
/drivers/video/mb862xx/ |
H A D | mb862xxfb_accel.c | 260 u32 x2, y2, vxres, vyres, height, width, fg; local 280 fg = ((u32 *) (info->pseudo_palette))[rect->color]; 282 fg = rect->color; 302 cmd[3] = fg;
|
/drivers/video/i810/ |
H A D | i810_accel.c | 225 * @fg: forground color 238 int fg, struct fb_info *info) 249 PUT_RING(fg); 370 u32 fg = 0, bg = 0, size, dst; local 380 fg = image->fg_color; 385 fg = ((u32 *)(info->pseudo_palette))[image->fg_color]; 402 bg, fg, info); 235 mono_src_copy_imm_blit(int dwidth, int dheight, int dpitch, int dsize, int blit_bpp, int rop, int dest, const u32 *src, int bg, int fg, struct fb_info *info) argument
|
H A D | i810_main.c | 818 static void i810_load_cursor_colors(int fg, int bg, struct fb_info *info) argument 833 i810fb_getcolreg(fg, &red, &green, &blue, &trans, info);
|
/drivers/video/nvidia/ |
H A D | nv_accel.c | 354 u32 fg, bg, mask = ~(~0 >> (32 - info->var.bits_per_pixel)); local 362 fg = image->fg_color | mask; 365 fg = ((u32 *) info->pseudo_palette)[image->fg_color] | mask; 374 NVDmaNext(par, fg);
|
H A D | nvidia.c | 124 u16 bg, u16 fg, u32 w, u32 h) 139 tmp = (b & (1 << 31)) ? fg << 16 : bg << 16; 141 tmp |= (b & (1 << 31)) ? fg : bg; 144 tmp = (b & 1) ? fg : bg; 146 tmp |= (b & 1) ? fg << 16 : bg << 16; 543 u16 fg, bg; local 600 fg = ((info->cmap.red[fg_idx] & 0xf8) << 7) | 606 nvidiafb_load_cursor_image(par, data, bg, fg, 123 nvidiafb_load_cursor_image(struct nvidia_par *par, u8 * data8, u16 bg, u16 fg, u32 w, u32 h) argument
|
/drivers/video/intelfb/ |
H A D | intelfbdrv.c | 1595 u32 fg, bg; local 1608 fg =dinfo->pseudo_palette[cursor->image.fg_color]; 1611 fg = cursor->image.fg_color; 1614 intelfbhw_cursor_setcolor(dinfo, bg, fg); 1641 u32 fg, bg; local 1644 fg = dinfo->pseudo_palette[cursor->image.fg_color]; 1647 fg = cursor->image.fg_color; 1651 intelfbhw_cursor_setcolor(dinfo, bg, fg);
|