/openbmc/linux/drivers/power/supply/ |
H A D | ab8500_btemp.c | 104 struct ab8500_fg *fg; member 188 if (!di->fg) in ab8500_btemp_get_batctrl_res() 189 di->fg = ab8500_fg_get(); in ab8500_btemp_get_batctrl_res() 190 if (!di->fg) { in ab8500_btemp_get_batctrl_res() 195 ret = ab8500_fg_inst_curr_start(di->fg); in ab8500_btemp_get_batctrl_res() 204 } while (!ab8500_fg_inst_curr_started(di->fg)); in ab8500_btemp_get_batctrl_res() 212 } while (!ab8500_fg_inst_curr_done(di->fg)); in ab8500_btemp_get_batctrl_res() 215 ret = ab8500_fg_inst_curr_finalize(di->fg, &inst_curr); in ab8500_btemp_get_batctrl_res()
|
H A D | ab8500_bmdata.c | 84 static const struct ab8500_fg_parameters fg = { variable 137 .fg_params = &fg,
|
/openbmc/linux/drivers/video/fbdev/i810/ |
H A 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()
|
/openbmc/phosphor-fan-presence/control/json/actions/ |
H A D | mapped_floor.cpp | 143 FloorGroup fg; in setFloorTable() local 146 fg.groupOrParameter = in setFloorTable() 151 fg.groupOrParameter = in setFloorTable() 169 fg.floorEntries.emplace_back(std::move(value), in setFloorTable() 173 ff.floorGroups.push_back(std::move(fg)); in setFloorTable()
|
/openbmc/linux/drivers/video/fbdev/ |
H A D | ffb.c | 223 u32 fg; member 442 upa_writel(par->fg_cache, &fbc->fg); in ffb_switch_from_graph() 482 u32 fg; in ffb_fillrect() local 486 fg = ((u32 *)info->pseudo_palette)[rect->color]; in ffb_fillrect() 490 if (fg != par->fg_cache) { in ffb_fillrect() 492 upa_writel(fg, &fbc->fg); in ffb_fillrect() 493 par->fg_cache = fg; in ffb_fillrect() 557 u32 fg, bg, xy; in ffb_imageblit() local 566 fg = ((u32 *)info->pseudo_palette)[image->fg_color]; in ffb_imageblit() 568 fgbg = ((u64) fg << 32) | (u64) bg; in ffb_imageblit() [all …]
|
/openbmc/linux/Documentation/gpu/amdgpu/display/ |
H A D | display-manager.rst | 91 describes how pixels from a foreground plane (fg) are composited with the 102 - *fg.rgb*: Each of the RGB component values from the foreground's pixel. 103 - *fg.alpha*: Alpha component value from the foreground's pixel. 110 out.rgb = alpha * fg.rgb + (1 - alpha) * bg.rgb 155 * *MPC pixel alpha* matches *DRM fg.alpha* as the alpha component value 160 fg.alpha* and *DRM plane_alpha* participate in the blend equation 162 In short, *fg.alpha* is ignored by selecting 164 fg.alpha) component becomes available by selecting
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/lag/ |
H A D | port_sel.c | 19 struct mlx5_flow_group *fg; in mlx5_create_hash_flow_group() local 33 fg = mlx5_create_flow_group(ft, in); in mlx5_create_hash_flow_group() 35 return fg; in mlx5_create_hash_flow_group() 66 lag_definer->fg = mlx5_create_hash_flow_group(lag_definer->ft, in mlx5_lag_create_port_sel_table() 69 if (IS_ERR(lag_definer->fg)) { in mlx5_lag_create_port_sel_table() 70 err = PTR_ERR(lag_definer->fg); in mlx5_lag_create_port_sel_table() 106 mlx5_destroy_flow_group(lag_definer->fg); in mlx5_lag_create_port_sel_table() 355 mlx5_destroy_flow_group(lag_definer->fg); in mlx5_lag_destroy_definer()
|
/openbmc/linux/sound/pci/hda/ |
H A D | hda_proc.c | 778 hda_nid_t nid, fg; in print_codec_info() local 782 fg = codec->core.afg; in print_codec_info() 783 if (!fg) in print_codec_info() 787 print_pcm_caps(buffer, codec, fg); in print_codec_info() 789 print_amp_caps(buffer, codec, fg, HDA_INPUT); in print_codec_info() 791 print_amp_caps(buffer, codec, fg, HDA_OUTPUT); in print_codec_info() 792 snd_iprintf(buffer, "State of AFG node 0x%02x:\n", fg); in print_codec_info() 793 print_power_state(buffer, codec, fg); in print_codec_info() 795 nodes = snd_hda_get_sub_nodes(codec, fg, &nid); in print_codec_info() 802 print_gpio(buffer, codec, fg); in print_codec_info() [all …]
|
/openbmc/linux/drivers/video/fbdev/aty/ |
H A D | mach64_cursor.c | 126 u32 fg_idx, bg_idx, fg, bg; in atyfb_cursor() local 131 fg = ((info->cmap.red[fg_idx] & 0xff) << 24) | in atyfb_cursor() 141 aty_st_le32(CUR_CLR1, fg, par); in atyfb_cursor()
|
H A D | mach64_accel.c | 356 u32 fg, bg; in atyfb_imageblit() local 359 fg = ((u32*)(info->pseudo_palette))[image->fg_color]; in atyfb_imageblit() 362 fg = image->fg_color; in atyfb_imageblit() 368 aty_st_le32(DP_FRGD_CLR, fg, par); in atyfb_imageblit()
|
/openbmc/linux/drivers/video/fbdev/core/ |
H A D | sysfillrect.c | 235 unsigned long pat, pat2, fg; in sys_fillrect() local 247 fg = ((u32 *) (p->pseudo_palette))[rect->color]; in sys_fillrect() 249 fg = rect->color; in sys_fillrect() 251 pat = pixel_to_pat( bpp, fg); in sys_fillrect()
|
H A 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()
|
H A D | fbcon_cw.c | 116 int fg, int bg) in cw_putcs() argument 133 image.fg_color = fg; in cw_putcs() 205 int fg, int bg) in cw_cursor() argument 244 if (ops->cursor_state.image.fg_color != fg || in cw_cursor() 247 ops->cursor_state.image.fg_color = fg; in cw_cursor()
|
H A D | bitblit.c | 145 int fg, int bg) in bit_putcs() argument 157 image.fg_color = fg; in bit_putcs() 237 int fg, int bg) in bit_cursor() argument 275 if (ops->cursor_state.image.fg_color != fg || in bit_cursor() 278 ops->cursor_state.image.fg_color = fg; in bit_cursor()
|
/openbmc/linux/drivers/video/fbdev/mb862xx/ |
H A D | mb862xxfb_accel.c | 252 u32 x2, y2, vxres, vyres, height, width, fg; in mb86290fb_fillrect() local 272 fg = ((u32 *) (info->pseudo_palette))[rect->color]; in mb86290fb_fillrect() 274 fg = rect->color; in mb86290fb_fillrect() 294 cmd[3] = fg; in mb86290fb_fillrect()
|
/openbmc/linux/drivers/media/common/v4l2-tpg/ |
H A D | v4l2-tpg-core.c | 1916 PIXTYPE fg; \ 1932 pos[3] = (chr & (0x01 << 6) ? fg : bg); \ 1933 pos[2] = (chr & (0x01 << 4) ? fg : bg); \ 1934 pos[1] = (chr & (0x01 << 2) ? fg : bg); \ 1935 pos[0] = (chr & (0x01 << 0) ? fg : bg); \ 1937 pos[0] = (chr & (0x01 << 7) ? fg : bg); \ 1938 pos[1] = (chr & (0x01 << 5) ? fg : bg); \ 1939 pos[2] = (chr & (0x01 << 3) ? fg : bg); \ 1940 pos[3] = (chr & (0x01 << 1) ? fg : bg); \ 1942 pos[7] = (chr & (0x01 << 7) ? fg : bg); \ [all …]
|
/openbmc/u-boot/include/power/ |
H A D | pmic.h | 63 struct pmic *chrg, *fg, *muic; member 80 struct power_fg *fg; member
|
/openbmc/linux/drivers/staging/sm750fb/ |
H A D | sm750_cursor.c | 75 void sm750_hw_cursor_setColor(struct lynx_cursor *cursor, u32 fg, u32 bg) in sm750_hw_cursor_setColor() argument 77 u32 reg = (fg << HWC_COLOR_12_2_RGB565_SHIFT) & in sm750_hw_cursor_setColor()
|
H A D | sm750_cursor.h | 10 void sm750_hw_cursor_setColor(struct lynx_cursor *cursor, u32 fg, u32 bg);
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
H A D | fs_dr.c | 147 struct mlx5_flow_group *fg) in mlx5_cmd_dr_create_flow_group() argument 159 fg); in mlx5_cmd_dr_create_flow_group() 163 mask.match_sz = sizeof(fg->mask.match_criteria); in mlx5_cmd_dr_create_flow_group() 174 fg->fs_dr_matcher.dr_matcher = matcher; in mlx5_cmd_dr_create_flow_group() 180 struct mlx5_flow_group *fg) in mlx5_cmd_dr_destroy_flow_group() argument 183 return mlx5_fs_cmd_get_fw_cmds()->destroy_flow_group(ns, ft, fg); in mlx5_cmd_dr_destroy_flow_group() 185 return mlx5dr_matcher_destroy(fg->fs_dr_matcher.dr_matcher); in mlx5_cmd_dr_destroy_flow_group()
|
/openbmc/linux/drivers/video/fbdev/nvidia/ |
H A D | nv_accel.c | 356 u32 fg, bg, mask = ~(~0 >> (32 - info->var.bits_per_pixel)); in nvidiafb_mono_color_expand() local 364 fg = image->fg_color | mask; in nvidiafb_mono_color_expand() 367 fg = ((u32 *) info->pseudo_palette)[image->fg_color] | mask; in nvidiafb_mono_color_expand() 376 NVDmaNext(par, fg); in nvidiafb_mono_color_expand()
|
/openbmc/openbmc/poky/bitbake/lib/bb/ui/ |
H A D | ncurses.py | 68 def __init__( self, x, y, width, height, fg=curses.COLOR_BLACK, bg=curses.COLOR_WHITE ): argument 109 … def __init__( self, title, x, y, width, height, fg=curses.COLOR_BLACK, bg=curses.COLOR_WHITE ): argument 110 NCursesUI.Window.__init__( self, x+1, y+3, width-2, height-4, fg, bg ) 111 self.decoration = NCursesUI.Window( x, y, width, height, fg, bg )
|
/openbmc/linux/drivers/media/v4l2-core/ |
H A D | v4l2-ctrls-core.c | 677 if (fg->flags > GENMASK(4, 0)) in validate_av1_film_grain() 681 fg->num_y_points > 14 || in validate_av1_film_grain() 682 fg->num_cb_points > 10 || in validate_av1_film_grain() 683 fg->num_cr_points > GENMASK(3, 0) || in validate_av1_film_grain() 685 fg->ar_coeff_lag > GENMASK(1, 0) || in validate_av1_film_grain() 693 for (i = 1; i < fg->num_y_points; i++) in validate_av1_film_grain() 694 if (fg->point_y_value[i] <= fg->point_y_value[i - 1]) in validate_av1_film_grain() 697 for (i = 1; i < fg->num_cb_points; i++) in validate_av1_film_grain() 698 if (fg->point_cb_value[i] <= fg->point_cb_value[i - 1]) in validate_av1_film_grain() 701 for (i = 1; i < fg->num_cr_points; i++) in validate_av1_film_grain() [all …]
|
/openbmc/u-boot/drivers/power/ |
H A D | power_core.c | 191 p->fg->fg_battery_check(p->pbat->fg, p); in do_pmic()
|
/openbmc/u-boot/include/ |
H A D | video_fb.h | 45 unsigned int fg; member
|