/linux/drivers/power/supply/ |
H A D | da9150-fg.c | 88 static u32 da9150_fg_read_attr(struct da9150_fg *fg, u8 code, u8 size) in da9150_fg_read_attr() argument 99 da9150_read_qif(fg->da9150, read_addr, size, buf); in da9150_fg_read_attr() 106 static void da9150_fg_write_attr(struct da9150_fg *fg, u8 code, u8 size, in da9150_fg_write_attr() argument 121 da9150_write_qif(fg->da9150, write_addr, size, buf); in da9150_fg_write_attr() 125 static void da9150_fg_read_sync_start(struct da9150_fg *fg) in da9150_fg_read_sync_start() argument 130 mutex_lock(&fg->io_lock); in da9150_fg_read_sync_start() 133 res = da9150_fg_read_attr(fg, DA9150_QIF_SYNC, in da9150_fg_read_sync_start() 136 da9150_fg_write_attr(fg, DA9150_QIF_SYNC, in da9150_fg_read_sync_start() 144 res = da9150_fg_read_attr(fg, DA9150_QIF_SYNC, in da9150_fg_read_sync_start() 150 dev_err(fg->dev, "Failed to perform QIF read sync!\n"); in da9150_fg_read_sync_start() [all …]
|
/linux/arch/sparc/kernel/ |
H A D | btext.c | 243 int fg = 0xFFFFFFFFUL; in draw_byte_32() local 249 base[0] = (-(bits >> 7) & fg) ^ bg; in draw_byte_32() 250 base[1] = (-((bits >> 6) & 1) & fg) ^ bg; in draw_byte_32() 251 base[2] = (-((bits >> 5) & 1) & fg) ^ bg; in draw_byte_32() 252 base[3] = (-((bits >> 4) & 1) & fg) ^ bg; in draw_byte_32() 253 base[4] = (-((bits >> 3) & 1) & fg) ^ bg; in draw_byte_32() 254 base[5] = (-((bits >> 2) & 1) & fg) ^ bg; in draw_byte_32() 255 base[6] = (-((bits >> 1) & 1) & fg) ^ bg; in draw_byte_32() 256 base[7] = (-(bits & 1) & fg) ^ bg; in draw_byte_32() 264 int fg = 0xFFFFFFFFUL; in draw_byte_16() local [all …]
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | fs_core.c | 599 struct mlx5_flow_group *fg; in modify_fte() local 603 fs_get_obj(fg, fte->node.parent); in modify_fte() 604 fs_get_obj(ft, fg->node.parent); in modify_fte() 608 err = root->cmds->update_fte(root, ft, fg, fte->act_dests.modify_mask, fte); in modify_fte() 611 "%s can't del rule fg id=%d fte_index=%d\n", in modify_fte() 612 __func__, fg->id, fte->index); in modify_fte() 711 struct mlx5_flow_group *fg; in del_hw_fte() local 718 fs_get_obj(fg, fte->node.parent); in del_hw_fte() 719 fs_get_obj(ft, fg->node.parent); in del_hw_fte() 736 err = root->cmds->update_fte(root, ft, fg, in del_hw_fte() [all …]
|
H A D | rdma.c | 18 mlx5_destroy_flow_group(roce->fg); in mlx5_rdma_disable_roce_steering() 32 struct mlx5_flow_group *fg; in mlx5_rdma_enable_roce_steering() local 68 fg = mlx5_create_flow_group(ft, flow_group_in); in mlx5_rdma_enable_roce_steering() 69 if (IS_ERR(fg)) { in mlx5_rdma_enable_roce_steering() 70 err = PTR_ERR(fg); in mlx5_rdma_enable_roce_steering() 89 roce->fg = fg; in mlx5_rdma_enable_roce_steering() 95 mlx5_destroy_flow_group(fg); in mlx5_rdma_enable_roce_steering()
|
H A D | fs_cmd.h | 53 struct mlx5_flow_group *fg); 57 struct mlx5_flow_group *fg); 61 struct mlx5_flow_group *fg, 66 struct mlx5_flow_group *fg,
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/ |
H A D | post_meter.c | 13 struct mlx5_flow_group *fg; member 22 struct mlx5_flow_group *fg; member 102 table->fg = mlx5_create_flow_group(table->ft, flow_group_in); in mlx5e_post_meter_rate_fg_create() 103 if (IS_ERR(table->fg)) { in mlx5e_post_meter_rate_fg_create() 105 err = PTR_ERR(table->fg); in mlx5e_post_meter_rate_fg_create() 212 mlx5_destroy_flow_group(post_meter->rate_steering_table.fg); in mlx5e_post_meter_rate_fg_destroy() 235 mlx5_destroy_flow_group(mtu_tables->green_table.fg); in mlx5e_post_meter_mtu_fg_destroy() 236 mlx5_destroy_flow_group(mtu_tables->red_table.fg); in mlx5e_post_meter_mtu_fg_destroy() 298 struct mlx5_flow_group *fg; in mlx5e_post_meter_create_mtu_table() local 316 fg = mlx5_create_flow_group(table->ft, flow_group_in); in mlx5e_post_meter_create_mtu_table() [all …]
|
/linux/arch/powerpc/kernel/ |
H A D | btext.c | 410 int fg = 0xFFFFFFFFUL; in draw_byte_32() local 416 base[0] = (-(bits >> 7) & fg) ^ bg; in draw_byte_32() 417 base[1] = (-((bits >> 6) & 1) & fg) ^ bg; in draw_byte_32() 418 base[2] = (-((bits >> 5) & 1) & fg) ^ bg; in draw_byte_32() 419 base[3] = (-((bits >> 4) & 1) & fg) ^ bg; in draw_byte_32() 420 base[4] = (-((bits >> 3) & 1) & fg) ^ bg; in draw_byte_32() 421 base[5] = (-((bits >> 2) & 1) & fg) ^ bg; in draw_byte_32() 422 base[6] = (-((bits >> 1) & 1) & fg) ^ bg; in draw_byte_32() 423 base[7] = (-(bits & 1) & fg) ^ bg; in draw_byte_32() 431 int fg = 0xFFFFFFFFUL; in draw_byte_16() local [all …]
|
/linux/drivers/video/fbdev/core/ |
H A 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 fg, int bg) in tile_cursor() argument 91 cursor.fg = fg; in tile_cursor()
|
H A D | fbcon.h | 61 int fg, int bg); 65 bool enable, int fg, int bg); 124 int fg; in attr_col_ec() local 141 fg = is_mono01 ? col : 0; in attr_col_ec() 145 fg = is_mono01 ? 0 : col; in attr_col_ec() 149 return is_fg ? fg : bg; in attr_col_ec()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
H A D | bridge_mcast.c | 338 struct mlx5_flow_group *fg; in mlx5_esw_bridge_mcast_filter_fg_create() local 356 fg = mlx5_create_flow_group(mcast_ft, in); in mlx5_esw_bridge_mcast_filter_fg_create() 358 if (IS_ERR(fg)) in mlx5_esw_bridge_mcast_filter_fg_create() 361 fg); in mlx5_esw_bridge_mcast_filter_fg_create() 363 return fg; in mlx5_esw_bridge_mcast_filter_fg_create() 372 struct mlx5_flow_group *fg; in mlx5_esw_bridge_mcast_vlan_proto_fg_create() local 391 fg = mlx5_create_flow_group(mcast_ft, in); in mlx5_esw_bridge_mcast_vlan_proto_fg_create() 393 if (IS_ERR(fg)) in mlx5_esw_bridge_mcast_vlan_proto_fg_create() 396 vlan_proto, fg); in mlx5_esw_bridge_mcast_vlan_proto_fg_create() 398 return fg; in mlx5_esw_bridge_mcast_vlan_proto_fg_create() [all …]
|
/linux/Documentation/hwmon/ |
H A D | f71805f.rst | 6 * Fintek F71805F/FG 14 * Fintek F71806F/FG 22 * Fintek F71872F/FG 46 The Fintek F71805F/FG Super I/O chip includes complete hardware monitoring 53 The Fintek F71872F/FG Super I/O chip is almost the same, with two 57 The Fintek F71806F/FG Super-I/O chip is essentially the same as the 58 F71872F/FG, and is undistinguishable therefrom. 71 factor 2. For the F71872F/FG, in9 (VSB) and in10 (battery) are also 98 .. [3] F71872F/FG only.
|
/linux/tools/perf/ui/ |
H A D | browser.c | 524 const char *name, *fg, *bg; 530 .fg = "red", 536 .fg = "green", 542 .fg = "default", 548 .fg = "black", 554 .fg = "blue", 560 .fg = "magenta", 566 .fg = "white", 578 char *fg = NULL, *bg; in ui_browser__color_config() 591 fg in ui_browser__color_config() 522 const char *name, *fg, *bg; global() member 576 char *fg = NULL, *bg; ui_browser__color_config() local [all...] |
/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 152 * *MPC pixel alpha* matches *DRM fg.alpha* as the alpha component value 157 fg.alpha* and *DRM plane_alpha* participate in the blend equation 159 In short, *fg.alpha* is ignored by selecting 161 fg.alpha) component becomes available by selecting
|
/linux/Documentation/devicetree/bindings/media/ |
H A D | mediatek,mdp3-fg.yaml | 4 $id: http://devicetree.org/schemas/media/mediatek,mdp3-fg.yaml# 14 Film Grain (FG) is a Media Data Path 3 (MDP3) component used to add 20 - mediatek,mt8195-mdp3-fg 57 compatible = "mediatek,mt8195-mdp3-fg";
|
/linux/drivers/net/wireless/mediatek/mt76/ |
H A D | mt792x_acpi_sar.c | 191 ret = mt792x_asar_acpi_read_mtfg(dev, (u8 **)&asar->fg); in mt792x_init_acpi_sar() 193 devm_kfree(dev->mt76.dev, asar->fg); in mt792x_init_acpi_sar() 194 asar->fg = NULL; in mt792x_init_acpi_sar() 320 struct mt792x_asar_fg *fg; in mt792x_acpi_get_flags() local 334 fg = acpisar->fg; in mt792x_acpi_get_flags() 335 if (!fg) in mt792x_acpi_get_flags() 341 for (i = 0; i < fg->nr_flag; i++) { in mt792x_acpi_get_flags() 343 if (fg->flag[i] == map[j].acpi_idx) { in mt792x_acpi_get_flags()
|
/linux/Documentation/devicetree/bindings/power/supply/ |
H A D | stericsson,ab8500-fg.yaml | 5 $id: http://devicetree.org/schemas/power/supply/stericsson,ab8500-fg.yaml# 18 const: stericsson,ab8500-fg 66 compatible = "stericsson,ab8500-fg";
|
/linux/Documentation/devicetree/bindings/mfd/ |
H A D | da9150.txt | 9 da9150-fg : Battery Fuel-Gauge 24 - da9150-fg: See ../power/da9150-fg.txt
|
/linux/drivers/video/fbdev/savage/ |
H A D | savagefb_accel.c | 95 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/drivers/video/fbdev/ |
H A D | atafb_utils.h | 269 static inline void expand8_2col2mask(u8 fg, u8 bg, u32 fgm[], u32 bgm[]) in expand8_2col2mask() argument 271 fgm[0] = four2long[fg & 15] ^ (bgm[0] = four2long[bg & 15]); in expand8_2col2mask() 273 fgm[1] = four2long[fg >> 4] ^ (bgm[1] = four2long[bg >> 4]); in expand8_2col2mask() 301 static inline void fill8_2col(u8 *dst, u8 fg, u8 bg, u32 mask) in fill8_2col() argument 305 expand8_2col2mask(fg, bg, fgm, bgm); in fill8_2col() 343 static inline void expand16_2col2mask(u8 fg, u8 bg, u32 fgm[], u32 bgm[]) in expand16_2col2mask() argument 346 fgm[0] = two2word[fg & 3] ^ bgm[0]; in expand16_2col2mask() 349 fgm[1] = two2word[(fg >> 2) & 3] ^ bgm[1]; in expand16_2col2mask() 353 fgm[2] = two2word[(fg >> 4) & 3] ^ bgm[2]; in expand16_2col2mask() 355 fgm[3] = two2word[fg >> 6] ^ bgm[3]; in expand16_2col2mask()
|
H A D | wmt_ge_rops.c | 46 unsigned long fg, pat; in wmt_ge_fillrect() local 53 fg = ((u32 *) (p->pseudo_palette))[rect->color]; in wmt_ge_fillrect() 55 fg = rect->color; in wmt_ge_fillrect() 57 pat = pixel_to_pat(p->var.bits_per_pixel, fg); in wmt_ge_fillrect()
|
H A D | ffb.c | 222 u32 fg; member 441 upa_writel(par->fg_cache, &fbc->fg); in ffb_switch_from_graph() 481 u32 fg; in ffb_fillrect() local 485 fg = ((u32 *)info->pseudo_palette)[rect->color]; in ffb_fillrect() 489 if (fg != par->fg_cache) { in ffb_fillrect() 491 upa_writel(fg, &fbc->fg); in ffb_fillrect() 492 par->fg_cache = fg; in ffb_fillrect() 556 u32 fg, bg, xy; in ffb_imageblit() local 565 fg = ((u32 *)info->pseudo_palette)[image->fg_color]; in ffb_imageblit() 567 fgbg = ((u64) fg << 32) | (u64) bg; in ffb_imageblit() [all …]
|
/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() 69 lag_definer->fg = mlx5_create_hash_flow_group(lag_definer->ft, in mlx5_lag_create_port_sel_table() 72 if (IS_ERR(lag_definer->fg)) { in mlx5_lag_create_port_sel_table() 73 err = PTR_ERR(lag_definer->fg); in mlx5_lag_create_port_sel_table() 109 mlx5_destroy_flow_group(lag_definer->fg); in mlx5_lag_create_port_sel_table() 366 mlx5_destroy_flow_group(lag_definer->fg); in mlx5_lag_destroy_definer()
|
/linux/drivers/video/fbdev/i810/ |
H A D | i810_accel.c | 225 * @fg: forground color 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/drivers/gpu/drm/ |
H A D | drm_blend.c | 153 * out.rgb = plane_alpha * fg.rgb + 161 * out.rgb = plane_alpha * fg.rgb + 162 * (1 - (plane_alpha * fg.alpha)) * bg.rgb 169 * out.rgb = plane_alpha * fg.alpha * fg.rgb + 170 * (1 - (plane_alpha * fg.alpha)) * bg.rgb 174 * "fg.rgb": 176 * "fg.alpha":
|
/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 …]
|