/linux-6.1.9/drivers/power/supply/ |
D | da9150-fg.c | 89 static u32 da9150_fg_read_attr(struct da9150_fg *fg, u8 code, u8 size) in da9150_fg_read_attr() argument 100 da9150_read_qif(fg->da9150, read_addr, size, buf); in da9150_fg_read_attr() 107 static void da9150_fg_write_attr(struct da9150_fg *fg, u8 code, u8 size, in da9150_fg_write_attr() argument 122 da9150_write_qif(fg->da9150, write_addr, size, buf); in da9150_fg_write_attr() 126 static void da9150_fg_read_sync_start(struct da9150_fg *fg) in da9150_fg_read_sync_start() argument 131 mutex_lock(&fg->io_lock); in da9150_fg_read_sync_start() 134 res = da9150_fg_read_attr(fg, DA9150_QIF_SYNC, in da9150_fg_read_sync_start() 137 da9150_fg_write_attr(fg, DA9150_QIF_SYNC, in da9150_fg_read_sync_start() 145 res = da9150_fg_read_attr(fg, DA9150_QIF_SYNC, in da9150_fg_read_sync_start() 151 dev_err(fg->dev, "Failed to perform QIF read sync!\n"); in da9150_fg_read_sync_start() [all …]
|
D | ab8500_btemp.c | 104 struct ab8500_fg *fg; member 189 if (!di->fg) in ab8500_btemp_get_batctrl_res() 190 di->fg = ab8500_fg_get(); in ab8500_btemp_get_batctrl_res() 191 if (!di->fg) { in ab8500_btemp_get_batctrl_res() 196 ret = ab8500_fg_inst_curr_start(di->fg); in ab8500_btemp_get_batctrl_res() 205 } while (!ab8500_fg_inst_curr_started(di->fg)); in ab8500_btemp_get_batctrl_res() 213 } while (!ab8500_fg_inst_curr_done(di->fg)); in ab8500_btemp_get_batctrl_res() 216 ret = ab8500_fg_inst_curr_finalize(di->fg, &inst_curr); in ab8500_btemp_get_batctrl_res()
|
/linux-6.1.9/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.1.9/arch/sparc/kernel/ |
D | btext.c | 245 int fg = 0xFFFFFFFFUL; in draw_byte_32() local 251 base[0] = (-(bits >> 7) & fg) ^ bg; in draw_byte_32() 252 base[1] = (-((bits >> 6) & 1) & fg) ^ bg; in draw_byte_32() 253 base[2] = (-((bits >> 5) & 1) & fg) ^ bg; in draw_byte_32() 254 base[3] = (-((bits >> 4) & 1) & fg) ^ bg; in draw_byte_32() 255 base[4] = (-((bits >> 3) & 1) & fg) ^ bg; in draw_byte_32() 256 base[5] = (-((bits >> 2) & 1) & fg) ^ bg; in draw_byte_32() 257 base[6] = (-((bits >> 1) & 1) & fg) ^ bg; in draw_byte_32() 258 base[7] = (-(bits & 1) & fg) ^ bg; in draw_byte_32() 266 int fg = 0xFFFFFFFFUL; in draw_byte_16() local [all …]
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/ |
D | fs_core.c | 549 struct mlx5_flow_group *fg; in modify_fte() local 553 fs_get_obj(fg, fte->node.parent); in modify_fte() 554 fs_get_obj(ft, fg->node.parent); in modify_fte() 558 err = root->cmds->update_fte(root, ft, fg, fte->modify_mask, fte); in modify_fte() 562 __func__, fg->id, fte->index); in modify_fte() 615 struct mlx5_flow_group *fg; in del_hw_fte() local 621 fs_get_obj(fg, fte->node.parent); in del_hw_fte() 622 fs_get_obj(ft, fg->node.parent); in del_hw_fte() 633 fte->index, fg->id); in del_hw_fte() 641 struct mlx5_flow_group *fg; in del_sw_fte() local [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 73 fg = mlx5_create_flow_group(ft, flow_group_in); in mlx5_rdma_enable_roce_steering() 74 if (IS_ERR(fg)) { in mlx5_rdma_enable_roce_steering() 75 err = PTR_ERR(fg); in mlx5_rdma_enable_roce_steering() 101 roce->fg = fg; in mlx5_rdma_enable_roce_steering() 107 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.1.9/arch/powerpc/kernel/ |
D | btext.c | 413 int fg = 0xFFFFFFFFUL; in draw_byte_32() local 419 base[0] = (-(bits >> 7) & fg) ^ bg; in draw_byte_32() 420 base[1] = (-((bits >> 6) & 1) & fg) ^ bg; in draw_byte_32() 421 base[2] = (-((bits >> 5) & 1) & fg) ^ bg; in draw_byte_32() 422 base[3] = (-((bits >> 4) & 1) & fg) ^ bg; in draw_byte_32() 423 base[4] = (-((bits >> 3) & 1) & fg) ^ bg; in draw_byte_32() 424 base[5] = (-((bits >> 2) & 1) & fg) ^ bg; in draw_byte_32() 425 base[6] = (-((bits >> 1) & 1) & fg) ^ bg; in draw_byte_32() 426 base[7] = (-(bits & 1) & fg) ^ bg; in draw_byte_32() 434 int fg = 0xFFFFFFFFUL; in draw_byte_16() local [all …]
|
/linux-6.1.9/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()
|
D | wmt_ge_rops.c | 44 unsigned long fg, pat; in wmt_ge_fillrect() local 51 fg = ((u32 *) (p->pseudo_palette))[rect->color]; in wmt_ge_fillrect() 53 fg = rect->color; in wmt_ge_fillrect() 55 pat = pixel_to_pat(p->var.bits_per_pixel, fg); in wmt_ge_fillrect()
|
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-6.1.9/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 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.1.9/tools/perf/ui/ |
D | browser.c | 522 const char *name, *fg, *bg; member 528 .fg = "red", 534 .fg = "green", 540 .fg = "default", 546 .fg = "black", 552 .fg = "blue", 558 .fg = "magenta", 564 .fg = "white", 576 char *fg = NULL, *bg; in ui_browser__color_config() local 589 fg = strdup(value); in ui_browser__color_config() [all …]
|
D | libslang.h | 27 #define sltt_set_color(obj, name, fg, bg) \ argument 28 SLtt_set_color(obj,(char *)(name), (char *)(fg), (char *)(bg))
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/tc/ |
D | post_meter.c | 13 struct mlx5_flow_group *fg; member 74 post_meter->fg = mlx5_create_flow_group(post_meter->ft, flow_group_in); in mlx5e_post_meter_fg_create() 75 if (IS_ERR(post_meter->fg)) { in mlx5e_post_meter_fg_create() 77 err = PTR_ERR(post_meter->fg); in mlx5e_post_meter_fg_create() 154 mlx5_destroy_flow_group(post_meter->fg); in mlx5e_post_meter_fg_destroy()
|
/linux-6.1.9/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.1.9/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
D | bridge.c | 180 struct mlx5_flow_group *fg; in mlx5_esw_bridge_ingress_vlan_proto_fg_create() local 205 fg = mlx5_create_flow_group(ingress_ft, in); in mlx5_esw_bridge_ingress_vlan_proto_fg_create() 207 if (IS_ERR(fg)) in mlx5_esw_bridge_ingress_vlan_proto_fg_create() 210 vlan_proto, PTR_ERR(fg)); in mlx5_esw_bridge_ingress_vlan_proto_fg_create() 212 return fg; in mlx5_esw_bridge_ingress_vlan_proto_fg_create() 242 struct mlx5_flow_group *fg; in mlx5_esw_bridge_ingress_vlan_proto_filter_fg_create() local 265 fg = mlx5_create_flow_group(ingress_ft, in); in mlx5_esw_bridge_ingress_vlan_proto_filter_fg_create() 266 if (IS_ERR(fg)) in mlx5_esw_bridge_ingress_vlan_proto_filter_fg_create() 269 PTR_ERR(fg)); in mlx5_esw_bridge_ingress_vlan_proto_filter_fg_create() 271 return fg; in mlx5_esw_bridge_ingress_vlan_proto_filter_fg_create() [all …]
|
/linux-6.1.9/Documentation/devicetree/bindings/mfd/ |
D | da9150.txt | 9 da9150-fg : Battery Fuel-Gauge 24 - da9150-fg: See ../power/da9150-fg.txt
|
/linux-6.1.9/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.1.9/arch/x86/include/asm/ |
D | nmi.h | 47 #define register_nmi_handler(t, fn, fg, n, init...) \ argument 53 .flags = (fg), \
|
/linux-6.1.9/drivers/video/fbdev/i810/ |
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()
|
/linux-6.1.9/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 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
|
/linux-6.1.9/mm/ |
D | zsmalloc.c | 684 enum fullness_group fg; in get_fullness_group() local 690 fg = ZS_EMPTY; in get_fullness_group() 692 fg = ZS_FULL; in get_fullness_group() 694 fg = ZS_ALMOST_EMPTY; in get_fullness_group() 696 fg = ZS_ALMOST_FULL; in get_fullness_group() 698 return fg; in get_fullness_group() 914 enum fullness_group fg; in __free_zspage() local 917 get_zspage_mapping(zspage, &class_idx, &fg); in __free_zspage() 922 VM_BUG_ON(fg != ZS_EMPTY); in __free_zspage() 1674 enum fullness_group fg[2] = {ZS_ALMOST_EMPTY, ZS_ALMOST_FULL}; in isolate_zspage() enum [all …]
|
/linux-6.1.9/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() 102 mlx5_destroy_flow_group(lag_definer->fg); in mlx5_lag_create_port_sel_table() 351 mlx5_destroy_flow_group(lag_definer->fg); in mlx5_lag_destroy_definer()
|