Searched defs:fg (Results 1 - 25 of 37) sorted by relevance

12

/drivers/gpu/drm/nouveau/
H A Dnv04_fbcon.c87 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 Dmach64_cursor.c124 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 Dmach64_accel.c351 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 Dcfbfillrect.c280 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 Dsysfillrect.c245 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 Datafb_utils.h268 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 Dwmt_ge_rops.c51 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 Ds1d13xxxfb.c538 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 Dvt8623fb.c153 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 Darkfb.c190 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 Dleo.c141 u32 fg; member in struct:leo_ld_ss0
225 sbus_writel(0, &ss->fg);
/drivers/video/savage/
H A Dsavagefb_accel.c95 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 Dtileblit.c43 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 Dbitblit.c145 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 Dfbcon_ccw.c131 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 Dfbcon_cw.c117 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 Dfbcon_ud.c153 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 Dfbcon.h61 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 Dmb862xxfb_accel.c260 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 Di810_accel.c225 * @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 Di810_main.c818 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 Dnv_accel.c354 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);
/drivers/power/
H A Dab8500_btemp.c78 * @fg: Pointer to the struct fg
95 struct ab8500_fg *fg; member in struct:ab8500_btemp
361 if (!di->fg)
362 di->fg = ab8500_fg_get();
363 if (!di->fg) {
364 dev_err(di->dev, "No fg found\n");
368 ret = ab8500_fg_inst_curr_start(di->fg);
388 } while (!ab8500_fg_inst_curr_done(di->fg));
391 ret = ab8500_fg_inst_curr_finalize(di->fg,
[all...]
/drivers/staging/zsmalloc/
H A Dzsmalloc-main.c92 enum fullness_group fg; local
99 fg = ZS_EMPTY;
101 fg = ZS_FULL;
103 fg = ZS_ALMOST_EMPTY;
105 fg = ZS_ALMOST_FULL;
107 return fg;
551 int fg; local
554 for (fg = 0; fg < _ZS_NR_FULLNESS_GROUPS; fg
677 enum fullness_group fg; local
684 get_zspage_mapping(get_first_page(page), &class_idx, &fg); local
717 enum fullness_group fg; local
724 get_zspage_mapping(get_first_page(page), &class_idx, &fg); local
[all...]
/drivers/video/intelfb/
H A Dintelfbdrv.c1595 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);

Completed in 318 milliseconds

12