/linux-6.12.1/drivers/power/supply/ |
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 …]
|
D | ab8500_fg.c | 59 /* FG constants */ 63 * struct ab8500_fg_interrupts - ab8500 fg interrupts 153 * struct ab8500_fg - ab8500 FG device information 162 * @fg_samples: Number of samples used in the FG accumulation 172 * @turn_off_fg: True if fg was off before current measurement 184 * @fg_psy: Structure that holds the FG specific battery properties 185 * @fg_wq: Work queue for running the FG algorithm 186 * @fg_periodic_work: Work to run the FG algorithm periodically 188 * @fg_reinit_work Work used to reset and reinitialise the FG algorithm 189 * @fg_work: Work to run the FG algorithm instantly [all …]
|
D | ab8500_btemp.c | 86 * @fg: Pointer to the struct fg 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() 191 dev_err(di->dev, "No fg found\n"); 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()
|
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/diag/ |
D | fs_tracepoint.h | 100 TP_PROTO(const struct mlx5_flow_group *fg), 101 TP_ARGS(fg), 103 __field(const struct mlx5_flow_group *, fg) 114 __entry->fg = fg; 115 fs_get_obj(__entry->ft, fg->node.parent); 116 __entry->start_index = fg->start_index; 117 __entry->end_index = fg->start_index + fg->max_ftes; 118 __entry->id = fg->id; 119 __entry->mask_enable = fg->mask.match_criteria_enable; 122 &fg->mask.match_criteria, [all …]
|
/linux-6.12.1/arch/sparc/kernel/ |
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-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/ |
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() 710 struct mlx5_flow_group *fg; in del_hw_fte() local 717 fs_get_obj(fg, fte->node.parent); in del_hw_fte() 718 fs_get_obj(ft, fg->node.parent); in del_hw_fte() 735 err = root->cmds->update_fte(root, ft, fg, in del_hw_fte() [all …]
|
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()
|
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-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/en/tc/ |
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-6.12.1/drivers/video/fbdev/core/ |
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()
|
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-6.12.1/arch/powerpc/kernel/ |
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-6.12.1/Documentation/hwmon/ |
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-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
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 …]
|
D | bridge.c | 95 struct mlx5_flow_group *fg; in mlx5_esw_bridge_ingress_vlan_proto_fg_create() local 120 fg = mlx5_create_flow_group(ingress_ft, in); in mlx5_esw_bridge_ingress_vlan_proto_fg_create() 122 if (IS_ERR(fg)) in mlx5_esw_bridge_ingress_vlan_proto_fg_create() 125 vlan_proto, PTR_ERR(fg)); in mlx5_esw_bridge_ingress_vlan_proto_fg_create() 127 return fg; in mlx5_esw_bridge_ingress_vlan_proto_fg_create() 157 struct mlx5_flow_group *fg; in mlx5_esw_bridge_ingress_vlan_proto_filter_fg_create() local 180 fg = mlx5_create_flow_group(ingress_ft, in); in mlx5_esw_bridge_ingress_vlan_proto_filter_fg_create() 181 if (IS_ERR(fg)) in mlx5_esw_bridge_ingress_vlan_proto_filter_fg_create() 184 PTR_ERR(fg)); in mlx5_esw_bridge_ingress_vlan_proto_filter_fg_create() 186 return fg; in mlx5_esw_bridge_ingress_vlan_proto_filter_fg_create() [all …]
|
/linux-6.12.1/tools/perf/ui/ |
D | browser.c | 524 const char *name, *fg, *bg; member 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() local 591 fg = strdup(value); in ui_browser__color_config() [all …]
|
/linux-6.12.1/Documentation/gpu/amdgpu/display/ |
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-6.12.1/Documentation/devicetree/bindings/media/ |
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-6.12.1/drivers/net/wireless/mediatek/mt76/ |
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-6.12.1/Documentation/devicetree/bindings/mfd/ |
D | da9150.txt | 9 da9150-fg : Battery Fuel-Gauge 24 - da9150-fg: See ../power/da9150-fg.txt
|
/linux-6.12.1/Documentation/devicetree/bindings/power/supply/ |
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-6.12.1/mm/ |
D | zsmalloc.c | 556 int i, fg; in zs_stats_size_show() local 581 for (fg = ZS_INUSE_RATIO_10; fg < NR_FULLNESS_GROUPS; fg++) { in zs_stats_size_show() 582 inuse_totals[fg] += class_stat_read(class, fg); in zs_stats_size_show() 583 seq_printf(s, "%9lu ", class_stat_read(class, fg)); in zs_stats_size_show() 608 for (fg = ZS_INUSE_RATIO_10; fg < NR_FULLNESS_GROUPS; fg++) in zs_stats_size_show() 609 seq_printf(s, "%9lu ", inuse_totals[fg]); in zs_stats_size_show() 1609 int fg; in isolate_src_zspage() local 1611 for (fg = ZS_INUSE_RATIO_10; fg <= ZS_INUSE_RATIO_99; fg++) { in isolate_src_zspage() 1612 zspage = list_first_entry_or_null(&class->fullness_list[fg], in isolate_src_zspage() 1626 int fg; in isolate_dst_zspage() local [all …]
|
/linux-6.12.1/drivers/video/fbdev/savage/ |
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-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/lag/ |
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()
|
/linux-6.12.1/drivers/video/fbdev/ |
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()
|