Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/power/
Dda9150-fg.c92 static u32 da9150_fg_read_attr(struct da9150_fg *fg, u8 code, u8 size) in da9150_fg_read_attr() argument
103 da9150_read_qif(fg->da9150, read_addr, size, buf); in da9150_fg_read_attr()
110 static void da9150_fg_write_attr(struct da9150_fg *fg, u8 code, u8 size, in da9150_fg_write_attr() argument
125 da9150_write_qif(fg->da9150, write_addr, size, buf); in da9150_fg_write_attr()
129 static void da9150_fg_read_sync_start(struct da9150_fg *fg) in da9150_fg_read_sync_start() argument
134 mutex_lock(&fg->io_lock); in da9150_fg_read_sync_start()
137 res = da9150_fg_read_attr(fg, DA9150_QIF_SYNC, in da9150_fg_read_sync_start()
140 da9150_fg_write_attr(fg, DA9150_QIF_SYNC, in da9150_fg_read_sync_start()
148 res = da9150_fg_read_attr(fg, DA9150_QIF_SYNC, in da9150_fg_read_sync_start()
154 dev_err(fg->dev, "Failed to perform QIF read sync!\n"); in da9150_fg_read_sync_start()
[all …]
Dab8500_btemp.c100 struct ab8500_fg *fg; member
413 if (!di->fg) in ab8500_btemp_get_batctrl_res()
414 di->fg = ab8500_fg_get(); in ab8500_btemp_get_batctrl_res()
415 if (!di->fg) { in ab8500_btemp_get_batctrl_res()
420 ret = ab8500_fg_inst_curr_start(di->fg); in ab8500_btemp_get_batctrl_res()
429 } while (!ab8500_fg_inst_curr_started(di->fg)); in ab8500_btemp_get_batctrl_res()
437 } while (!ab8500_fg_inst_curr_done(di->fg)); in ab8500_btemp_get_batctrl_res()
440 ret = ab8500_fg_inst_curr_finalize(di->fg, &inst_curr); in ab8500_btemp_get_batctrl_res()
Dab8500_bmdata.c403 static const struct abx500_fg_parameters fg = { variable
515 .fg_params = &fg,
547 .fg_params = &fg,
Dab8500_fg.c248 struct ab8500_fg *fg; in ab8500_fg_get() local
253 fg = list_first_entry(&ab8500_fg_list, struct ab8500_fg, node); in ab8500_fg_get()
254 return fg; in ab8500_fg_get()
DKconfig214 called da9150-fg.
/linux-4.4.14/arch/sparc/kernel/
Dbtext.c244 int fg = 0xFFFFFFFFUL; in draw_byte_32() local
250 base[0] = (-(bits >> 7) & fg) ^ bg; in draw_byte_32()
251 base[1] = (-((bits >> 6) & 1) & fg) ^ bg; in draw_byte_32()
252 base[2] = (-((bits >> 5) & 1) & fg) ^ bg; in draw_byte_32()
253 base[3] = (-((bits >> 4) & 1) & fg) ^ bg; in draw_byte_32()
254 base[4] = (-((bits >> 3) & 1) & fg) ^ bg; in draw_byte_32()
255 base[5] = (-((bits >> 2) & 1) & fg) ^ bg; in draw_byte_32()
256 base[6] = (-((bits >> 1) & 1) & fg) ^ bg; in draw_byte_32()
257 base[7] = (-(bits & 1) & fg) ^ bg; in draw_byte_32()
265 int fg = 0xFFFFFFFFUL; in draw_byte_16() local
[all …]
/linux-4.4.14/drivers/video/fbdev/
Datafb_utils.h268 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()
Dwmt_ge_rops.c51 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()
Dffb.c221 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 …]
Ds1d13xxxfb.c537 u32 fg; in s1d13xxxfb_bitblt_solidfill() local
574 fg = ((u32 *)info->pseudo_palette)[rect->color]; in s1d13xxxfb_bitblt_solidfill()
576 dbg_blit("(solidfill) pseudo_palette[%d] = %d\n", rect->color, fg); in s1d13xxxfb_bitblt_solidfill()
578 fg = rect->color; in s1d13xxxfb_bitblt_solidfill()
583 s1d13xxxfb_writereg(info->par, S1DREG_BBLT_FGC0, (fg & 0xff)); in s1d13xxxfb_bitblt_solidfill()
584 s1d13xxxfb_writereg(info->par, S1DREG_BBLT_FGC1, (fg >> 8) & 0xff); in s1d13xxxfb_bitblt_solidfill()
Dvt8623fb.c143 u32 fg = expand_color(image->fg_color); in vt8623fb_iplan_imageblit() local
160 val = (val & fg) | (~val & bg); in vt8623fb_iplan_imageblit()
171 u32 fg = expand_color(rect->color); in vt8623fb_iplan_fillrect() local
182 fb_writel(fg, dst++); in vt8623fb_iplan_fillrect()
199 u32 fg = image->fg_color * 0x11111111; in vt8623fb_cfb4_imageblit() local
216 val = (val & fg) | (~val & bg); in vt8623fb_cfb4_imageblit()
Darkfb.c176 u32 fg = expand_color(image->fg_color); in arkfb_iplan_imageblit() local
193 val = (val & fg) | (~val & bg); in arkfb_iplan_imageblit()
205 u32 fg = expand_color(rect->color); in arkfb_iplan_fillrect() local
216 fb_writel(fg, dst++); in arkfb_iplan_fillrect()
234 u32 fg = image->fg_color * 0x11111111; in arkfb_cfb4_imageblit() local
251 val = (val & fg) | (~val & bg); in arkfb_cfb4_imageblit()
Dcg6.c211 u32 fg; member
329 sbus_writel(rect->color, &fbc->fg); in cg6_fillrect()
366 sbus_writel(0xff, &fbc->fg); in cg6_copyarea()
411 sbus_writel(image->fg_color, &fbc->fg); in cg6_imageblit()
Ds3fb.c349 u32 fg = expand_color(image->fg_color); in s3fb_iplan_imageblit() local
366 val = (val & fg) | (~val & bg); in s3fb_iplan_imageblit()
378 u32 fg = expand_color(rect->color); in s3fb_iplan_fillrect() local
389 fb_writel(fg, dst++); in s3fb_iplan_fillrect()
406 u32 fg = image->fg_color * 0x11111111; in s3fb_cfb4_imageblit() local
423 val = (val & fg) | (~val & bg); in s3fb_cfb4_imageblit()
Dleo.c141 u32 fg; member
225 sbus_writel(0, &ss->fg); in leo_switch_from_graph()
Dfsl-diu-fb.c1000 const void *image, uint16_t bg, uint16_t fg, in fsl_diu_load_cursor_image() argument
1006 __le16 _fg = cpu_to_le16(fg); in fsl_diu_load_cursor_image()
1073 uint16_t fg, bg; in fsl_diu_cursor() local
1091 fg = ((info->cmap.red[fg_idx] & 0xf8) << 7) | in fsl_diu_cursor()
1108 fsl_diu_load_cursor_image(info, image, bg, fg, in fsl_diu_cursor()
Dsm501fb.c1046 unsigned long fg, bg; in sm501fb_cursor() local
1101 fg = ((info->cmap.red[fg_col] & 0xF8) << 8) | in sm501fb_cursor()
1105 dev_dbg(fbi->dev, "fgcol %08lx, bgcol %08lx\n", fg, bg); in sm501fb_cursor()
1108 smc501_writel(fg, base + SM501_OFF_HWC_COLOR_3); in sm501fb_cursor()
Dcirrusfb.c1825 u32 fg, bg; in cirrusfb_imageblit() local
1828 fg = image->fg_color; in cirrusfb_imageblit()
1831 fg = ((u32 *)(info->pseudo_palette))[image->fg_color]; in cirrusfb_imageblit()
1848 fg, bg, in cirrusfb_imageblit()
Dimsttfb.c1202 u32 flags = cursor->set, fg, bg, xx, yy;
1249 fg = ((info->cmap.red[fg_idx] & 0xf8) << 7) |
/linux-4.4.14/arch/powerpc/kernel/
Dbtext.c428 int fg = 0xFFFFFFFFUL; in draw_byte_32() local
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()
449 int fg = 0xFFFFFFFFUL; in draw_byte_16() local
[all …]
/linux-4.4.14/drivers/video/console/
Dtileblit.c43 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()
Dfbcon.h61 int fg, int bg);
65 int softback_lines, int fg, int bg);
123 int fg; in attr_col_ec() local
140 fg = is_mono01 ? col : 0; in attr_col_ec()
144 fg = is_mono01 ? 0 : col; in attr_col_ec()
148 return is_fg ? fg : bg; in attr_col_ec()
Dfbcon_ccw.c131 int fg, int bg) in ccw_putcs() argument
148 image.fg_color = fg; in ccw_putcs()
222 int softback_lines, int fg, int bg) in ccw_cursor() argument
270 if (ops->cursor_state.image.fg_color != fg || in ccw_cursor()
273 ops->cursor_state.image.fg_color = fg; in ccw_cursor()
Dbitblit.c145 int fg, int bg) in bit_putcs() argument
157 image.fg_color = fg; in bit_putcs()
237 int softback_lines, int fg, int bg) in bit_cursor() argument
281 if (ops->cursor_state.image.fg_color != fg || in bit_cursor()
284 ops->cursor_state.image.fg_color = fg; in bit_cursor()
Dfbcon_cw.c116 int fg, int bg) in cw_putcs() argument
133 image.fg_color = fg; in cw_putcs()
205 int softback_lines, int fg, int bg) in cw_cursor() argument
253 if (ops->cursor_state.image.fg_color != fg || in cw_cursor()
256 ops->cursor_state.image.fg_color = fg; in cw_cursor()
Dfbcon_ud.c153 int fg, int bg) in ud_putcs() argument
171 image.fg_color = fg; in ud_putcs()
252 int softback_lines, int fg, int bg) in ud_cursor() argument
301 if (ops->cursor_state.image.fg_color != fg || in ud_cursor()
304 ops->cursor_state.image.fg_color = fg; in ud_cursor()
Dfbcon.c307 int fg = (info->fix.visual != FB_VISUAL_MONO01) ? col : 0; in get_color() local
311 fg = bg; in get_color()
313 color = (is_fg) ? fg : bg; in get_color()
2935 int i, rows, cols, fg = -1; in fbcon_set_all_vcs() local
2947 fg = i; in fbcon_set_all_vcs()
2961 if (fg != -1) in fbcon_set_all_vcs()
/linux-4.4.14/tools/perf/ui/
Dbrowser.c506 const char *name, *fg, *bg; member
512 .fg = "red",
518 .fg = "green",
524 .fg = "default",
530 .fg = "black",
536 .fg = "blue",
542 .fg = "magenta",
548 .fg = "white",
560 char *fg = NULL, *bg; in ui_browser__color_config() local
573 fg = strdup(value); in ui_browser__color_config()
[all …]
Dlibslang.h21 #define sltt_set_color(obj, name, fg, bg) \ argument
22 SLtt_set_color(obj,(char *)(name), (char *)(fg), (char *)(bg))
/linux-4.4.14/drivers/video/fbdev/savage/
Dsavagefb_accel.c95 int fg, bg, size, i, width; in savagefb_imageblit() local
108 fg = image->fg_color; in savagefb_imageblit()
111 fg = ((u32 *)info->pseudo_palette)[image->fg_color]; in savagefb_imageblit()
129 BCI_SEND(fg); in savagefb_imageblit()
/linux-4.4.14/Documentation/devicetree/bindings/mfd/
Dda9150.txt9 da9150-fg : Battery Fuel-Gauge
26 - da9150-fg: See ../power/da9150-fg.txt
Dab8500.txt24 ab8500-fg : : vddadc : Fuel Gauge
69 - compatible : "stericsson,ab8500-[bm|btemp|charger|fg|gpadc|gpio|ponkey|
/linux-4.4.14/arch/x86/include/asm/
Dnmi.h48 #define register_nmi_handler(t, fn, fg, n, init...) \ argument
53 .flags = (fg), \
/linux-4.4.14/drivers/video/fbdev/i810/
Di810_accel.c238 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()
Di810_main.c819 static void i810_load_cursor_colors(int fg, int bg, struct fb_info *info) in i810_load_cursor_colors() argument
834 i810fb_getcolreg(fg, &red, &green, &blue, &trans, info); in i810_load_cursor_colors()
/linux-4.4.14/sound/pci/hda/
Dhda_proc.c756 hda_nid_t nid, fg; in print_codec_info() local
760 fg = codec->core.afg; in print_codec_info()
761 if (!fg) in print_codec_info()
765 print_pcm_caps(buffer, codec, fg); in print_codec_info()
767 print_amp_caps(buffer, codec, fg, HDA_INPUT); in print_codec_info()
769 print_amp_caps(buffer, codec, fg, HDA_OUTPUT); in print_codec_info()
770 snd_iprintf(buffer, "State of AFG node 0x%02x:\n", fg); in print_codec_info()
771 print_power_state(buffer, codec, fg); in print_codec_info()
773 nodes = snd_hda_get_sub_nodes(codec, fg, &nid); in print_codec_info()
780 print_gpio(buffer, codec, fg); in print_codec_info()
[all …]
Dhda_codec.c806 hda_nid_t fg; in snd_hda_codec_new() local
869 fg = codec->core.afg ? codec->core.afg : codec->core.mfg; in snd_hda_codec_new()
870 err = read_widget_caps(codec, fg); in snd_hda_codec_new()
911 hda_nid_t fg; in snd_hda_codec_update_widgets() local
922 fg = codec->core.afg ? codec->core.afg : codec->core.mfg; in snd_hda_codec_update_widgets()
923 err = read_widget_caps(codec, fg); in snd_hda_codec_update_widgets()
2788 void snd_hda_codec_set_power_to_all(struct hda_codec *codec, hda_nid_t fg, in snd_hda_codec_set_power_to_all() argument
2813 hda_nid_t fg, in hda_sync_power_state() argument
2820 state = snd_hda_codec_read(codec, fg, 0, in hda_sync_power_state()
2868 hda_nid_t fg = codec->core.afg ? codec->core.afg : codec->core.mfg; in hda_set_power_state() local
[all …]
Dhda_codec.h118 void (*set_power_state)(struct hda_codec *codec, hda_nid_t fg,
458 void snd_hda_codec_set_power_to_all(struct hda_codec *codec, hda_nid_t fg,
Dpatch_sigmatel.c303 hda_nid_t fg = codec->core.afg; in stac_gpio_set() local
307 gpiostate = snd_hda_codec_read(codec, fg, 0, in stac_gpio_set()
311 gpiomask = snd_hda_codec_read(codec, fg, 0, in stac_gpio_set()
315 gpiodir = snd_hda_codec_read(codec, fg, 0, in stac_gpio_set()
320 snd_hda_codec_write(codec, fg, 0, 0x7e7, 0); in stac_gpio_set()
322 snd_hda_codec_write(codec, fg, 0, in stac_gpio_set()
324 snd_hda_codec_read(codec, fg, 0, in stac_gpio_set()
329 snd_hda_codec_read(codec, fg, 0, in stac_gpio_set()
Dpatch_hdmi.c2339 static void haswell_set_power_state(struct hda_codec *codec, hda_nid_t fg, in haswell_set_power_state() argument
2347 snd_hda_codec_read(codec, fg, 0, AC_VERB_SET_POWER_STATE, power_state); in haswell_set_power_state()
2348 snd_hda_codec_set_power_to_all(codec, fg, power_state); in haswell_set_power_state()
/linux-4.4.14/mm/
Dzsmalloc.c626 enum fullness_group fg; in get_fullness_group() local
633 fg = ZS_EMPTY; in get_fullness_group()
635 fg = ZS_FULL; in get_fullness_group()
637 fg = ZS_ALMOST_EMPTY; in get_fullness_group()
639 fg = ZS_ALMOST_FULL; in get_fullness_group()
641 return fg; in get_fullness_group()
1268 enum fullness_group fg; in zs_map_object() local
1288 get_zspage_mapping(get_first_page(page), &class_idx, &fg); in zs_map_object()
1321 enum fullness_group fg; in zs_unmap_object() local
1329 get_zspage_mapping(get_first_page(page), &class_idx, &fg); in zs_unmap_object()
[all …]
/linux-4.4.14/drivers/media/platform/vivid/
Dvivid-tpg.c1567 PIXTYPE fg; \
1569 memcpy(&fg, tpg->textfg[p], sizeof(PIXTYPE)); \
1583 pos[3] = (chr & (0x01 << 6) ? fg : bg); \
1584 pos[2] = (chr & (0x01 << 4) ? fg : bg); \
1585 pos[1] = (chr & (0x01 << 2) ? fg : bg); \
1586 pos[0] = (chr & (0x01 << 0) ? fg : bg); \
1588 pos[0] = (chr & (0x01 << 7) ? fg : bg); \
1589 pos[1] = (chr & (0x01 << 5) ? fg : bg); \
1590 pos[2] = (chr & (0x01 << 3) ? fg : bg); \
1591 pos[3] = (chr & (0x01 << 1) ? fg : bg); \
[all …]
/linux-4.4.14/drivers/video/fbdev/aty/
Dmach64_cursor.c125 u32 fg_idx, bg_idx, fg, bg; in atyfb_cursor() local
130 fg = ((info->cmap.red[fg_idx] & 0xff) << 24) | in atyfb_cursor()
140 aty_st_le32(CUR_CLR1, fg, par); in atyfb_cursor()
Dmach64_accel.c352 u32 fg, bg; in atyfb_imageblit() local
355 fg = ((u32*)(info->pseudo_palette))[image->fg_color]; in atyfb_imageblit()
358 fg = image->fg_color; in atyfb_imageblit()
364 aty_st_le32(DP_FRGD_CLR, fg, par); in atyfb_imageblit()
/linux-4.4.14/drivers/video/fbdev/core/
Dsysfillrect.c245 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()
Dcfbfillrect.c280 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()
Dfbmem.c284 u8 fg = 1, d; in fb_set_logo() local
288 fg = 1; in fb_set_logo()
291 fg = 3; in fb_set_logo()
294 fg = 7; in fb_set_logo()
300 fg = ~((u8) (0xfff << info->var.green.length)); in fb_set_logo()
319 *dst++ = ((d >> k) & 1) ? fg : 0; in fb_set_logo()
Dsvgalib.c261 int attr = (0x0F & rect->bg) << 4 | (0x0F & rect->fg); in svga_tilefill()
282 int attr = (0x0F & blit->bg) << 4 | (0x0F & blit->fg); in svga_tileblit()
/linux-4.4.14/drivers/gpu/drm/nouveau/
Dnv04_fbcon.c82 uint32_t fg; in nv04_fbcon_imageblit() local
101 fg = ((uint32_t *) info->pseudo_palette)[image->fg_color]; in nv04_fbcon_imageblit()
104 fg = image->fg_color; in nv04_fbcon_imageblit()
113 OUT_RING(chan, fg); in nv04_fbcon_imageblit()
/linux-4.4.14/drivers/video/fbdev/mb862xx/
Dmb862xxfb_accel.c260 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-4.4.14/Documentation/devicetree/bindings/power_supply/ab8500/
Dfg.txt15 - compatible = This shall be: "stericsson,ab8500-fg"
19 compatible = "stericsson,ab8500-fg";
Dchargalg.txt16 Documentation/devicetree/bindings/power_supply/ab8500/fg.txt
Dbtemp.txt16 Documentation/devicetree/bindings/power_supply/ab8500/fg.txt
Dcharger.txt25 Documentation/devicetree/bindings/power_supply/ab8500/fg.txt
/linux-4.4.14/drivers/video/fbdev/nvidia/
Dnv_accel.c354 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()
Dnvidia.c115 u16 bg, u16 fg, u32 w, u32 h) in nvidiafb_load_cursor_image() argument
130 tmp = (b & (1 << 31)) ? fg << 16 : bg << 16; in nvidiafb_load_cursor_image()
132 tmp |= (b & (1 << 31)) ? fg : bg; in nvidiafb_load_cursor_image()
135 tmp = (b & 1) ? fg : bg; in nvidiafb_load_cursor_image()
137 tmp |= (b & 1) ? fg << 16 : bg << 16; in nvidiafb_load_cursor_image()
534 u16 fg, bg; in nvidiafb_cursor() local
591 fg = ((info->cmap.red[fg_idx] & 0xf8) << 7) | in nvidiafb_cursor()
597 nvidiafb_load_cursor_image(par, data, bg, fg, in nvidiafb_cursor()
/linux-4.4.14/drivers/staging/sm750fb/
Dsm750_cursor.c91 u32 fg, u32 bg) in hw_cursor_setColor() argument
93 POKE32(HWC_COLOR_12, (fg<<16)|(bg&0xffff)); in hw_cursor_setColor()
Dsm750_cursor.h12 u32 fg, u32 bg);
Dsm750.c138 u16 fg, bg; in lynxfb_ops_cursor() local
140 fg = ((info->cmap.red[fbcursor->image.fg_color] & 0xf800)) | in lynxfb_ops_cursor()
148 hw_cursor_setColor(cursor, fg, bg); in lynxfb_ops_cursor()
/linux-4.4.14/sound/hda/
Dhdac_device.c42 hda_nid_t fg; in snd_hdac_device_init() local
88 fg = codec->afg ? codec->afg : codec->mfg; in snd_hdac_device_init()
94 codec->power_caps = snd_hdac_read_parm(codec, fg, AC_PAR_POWER_STATE); in snd_hdac_device_init()
97 snd_hdac_read(codec, fg, AC_VERB_GET_SUBSYSTEM_ID, 0, in snd_hdac_device_init()
/linux-4.4.14/drivers/video/fbdev/intelfb/
Dintelfbdrv.c1564 u32 fg, bg; in intelfb_cursor() local
1577 fg =dinfo->pseudo_palette[cursor->image.fg_color]; in intelfb_cursor()
1580 fg = cursor->image.fg_color; in intelfb_cursor()
1583 intelfbhw_cursor_setcolor(dinfo, bg, fg); in intelfb_cursor()
1610 u32 fg, bg; in intelfb_cursor() local
1613 fg = dinfo->pseudo_palette[cursor->image.fg_color]; in intelfb_cursor()
1616 fg = cursor->image.fg_color; in intelfb_cursor()
1620 intelfbhw_cursor_setcolor(dinfo, bg, fg); in intelfb_cursor()
Dintelfbhw.h592 extern int intelfbhw_do_drawglyph(struct intelfb_info *dinfo, u32 fg, u32 bg,
600 u32 fg);
Dintelfbhw.c1750 int intelfbhw_do_drawglyph(struct intelfb_info *dinfo, u32 fg, u32 bg, u32 w, in intelfbhw_do_drawglyph() argument
1790 br19 = fg; in intelfbhw_do_drawglyph()
1946 void intelfbhw_cursor_setcolor(struct intelfb_info *dinfo, u32 bg, u32 fg) in intelfbhw_cursor_setcolor() argument
1953 OUTREG(CURSOR_A_PALETTE1, fg & CURSOR_PALETTE_MASK); in intelfbhw_cursor_setcolor()
1954 OUTREG(CURSOR_A_PALETTE2, fg & CURSOR_PALETTE_MASK); in intelfbhw_cursor_setcolor()
/linux-4.4.14/drivers/video/fbdev/riva/
Dfbdev.c488 u16 bg, u16 fg, u32 w, u32 h) in rivafb_load_cursor_image() argument
494 fg = le16_to_cpu(fg); in rivafb_load_cursor_image()
505 tmp = (b & (1 << 31)) ? fg << 16 : bg << 16; in rivafb_load_cursor_image()
507 tmp |= (b & (1 << 31)) ? fg : bg; in rivafb_load_cursor_image()
510 tmp = (b & 1) ? fg : bg; in rivafb_load_cursor_image()
512 tmp |= (b & 1) ? fg << 16 : bg << 16; in rivafb_load_cursor_image()
1582 u16 fg, bg; in rivafb_cursor() local
1641 fg = ((info->cmap.red[fg_idx] & 0xf8) << 7) | in rivafb_cursor()
1648 rivafb_load_cursor_image(par, data, bg, fg, in rivafb_cursor()
/linux-4.4.14/include/linux/
Dfb.h333 __u32 fg; /* foreground color */ member
352 __u32 fg; /* foreground color */ member
363 __u32 fg; /* foreground color */ member
/linux-4.4.14/scripts/kconfig/lxdialog/
Ddialog.h104 int fg; /* foreground */ member
Dutil.c66 dlg.dialog.fg = (f); \
184 init_pair(pair, color->fg, color->bg); in init_one_color()
/linux-4.4.14/drivers/staging/speakup/
Dmain.c399 int fg = spk_attr & 0x0f; in say_attributes() local
402 if (fg > 8) { in say_attributes()
404 fg -= 8; in say_attributes()
406 synth_printf("%s", spk_msg_get(MSG_COLORS_START + fg)); in say_attributes()
/linux-4.4.14/Documentation/trace/
Dmmiotrace.txt71 The 'cat' process exits. If it does not, kill it by issuing 'fg' command and
/linux-4.4.14/arch/arm/boot/dts/
Dste-dbx5x0.dtsi649 compatible = "stericsson,ab8500-fg";