/Linux-v5.10/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 …]
|
/Linux-v5.10/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-v5.10/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-v5.10/drivers/net/ethernet/mellanox/mlx5/core/ |
D | fs_core.c | 497 struct mlx5_flow_group *fg; in modify_fte() local 501 fs_get_obj(fg, fte->node.parent); in modify_fte() 502 fs_get_obj(ft, fg->node.parent); in modify_fte() 506 err = root->cmds->update_fte(root, ft, fg, fte->modify_mask, fte); in modify_fte() 510 __func__, fg->id, fte->index); in modify_fte() 557 struct mlx5_flow_group *fg; in del_hw_fte() local 563 fs_get_obj(fg, fte->node.parent); in del_hw_fte() 564 fs_get_obj(ft, fg->node.parent); in del_hw_fte() 574 fte->index, fg->id); in del_hw_fte() 582 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-v5.10/arch/powerpc/kernel/ |
D | btext.c | 412 int fg = 0xFFFFFFFFUL; in draw_byte_32() local 418 base[0] = (-(bits >> 7) & fg) ^ bg; in draw_byte_32() 419 base[1] = (-((bits >> 6) & 1) & fg) ^ bg; in draw_byte_32() 420 base[2] = (-((bits >> 5) & 1) & fg) ^ bg; in draw_byte_32() 421 base[3] = (-((bits >> 4) & 1) & fg) ^ bg; in draw_byte_32() 422 base[4] = (-((bits >> 3) & 1) & fg) ^ bg; in draw_byte_32() 423 base[5] = (-((bits >> 2) & 1) & fg) ^ bg; in draw_byte_32() 424 base[6] = (-((bits >> 1) & 1) & fg) ^ bg; in draw_byte_32() 425 base[7] = (-(bits & 1) & fg) ^ bg; in draw_byte_32() 433 int fg = 0xFFFFFFFFUL; in draw_byte_16() local [all …]
|
/Linux-v5.10/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 | 43 unsigned long fg, pat; in wmt_ge_fillrect() local 50 fg = ((u32 *) (p->pseudo_palette))[rect->color]; in wmt_ge_fillrect() 52 fg = rect->color; in wmt_ge_fillrect() 54 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-v5.10/drivers/video/fbdev/core/ |
D | tileblit.c | 44 rect.fg = attr_fgcol_ec(fgshift, vc, info); in tile_clear() 57 int fg, int bg) in tile_putcs() argument 67 blit.fg = fg; in tile_putcs() 84 int fg, int bg) in tile_cursor() argument 92 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-v5.10/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-v5.10/drivers/net/ethernet/mellanox/mlx5/core/fpga/ |
D | ipsec.c | 775 struct mlx5_flow_group *fg; in mlx5_fpga_ipsec_fs_create_sa_ctx() local 778 fs_get_obj(fg, fte->node.parent); in mlx5_fpga_ipsec_fs_create_sa_ctx() 782 fg->mask.match_criteria_enable, in mlx5_fpga_ipsec_fs_create_sa_ctx() 783 fg->mask.match_criteria, in mlx5_fpga_ipsec_fs_create_sa_ctx() 789 fg->mask.match_criteria_enable, in mlx5_fpga_ipsec_fs_create_sa_ctx() 790 fg->mask.match_criteria, in mlx5_fpga_ipsec_fs_create_sa_ctx() 799 if (mlx5_fs_is_outer_ipv4_flow(mdev, fg->mask.match_criteria, in mlx5_fpga_ipsec_fs_create_sa_ctx() 1016 struct mlx5_flow_group *fg, in fpga_ipsec_fs_create_flow_group() argument 1021 struct mlx5_flow_group *fg) = in fpga_ipsec_fs_create_flow_group() 1032 return create_flow_group(ns, ft, in, fg); in fpga_ipsec_fs_create_flow_group() [all …]
|
/Linux-v5.10/mm/ |
D | zsmalloc.c | 693 enum fullness_group fg; in get_fullness_group() local 699 fg = ZS_EMPTY; in get_fullness_group() 701 fg = ZS_FULL; in get_fullness_group() 703 fg = ZS_ALMOST_EMPTY; in get_fullness_group() 705 fg = ZS_ALMOST_FULL; in get_fullness_group() 707 return fg; in get_fullness_group() 935 enum fullness_group fg; in __free_zspage() local 938 get_zspage_mapping(zspage, &class_idx, &fg); in __free_zspage() 943 VM_BUG_ON(fg != ZS_EMPTY); in __free_zspage() 1254 enum fullness_group fg; in zs_map_object() local [all …]
|
/Linux-v5.10/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-v5.10/Documentation/devicetree/bindings/mfd/ |
D | da9150.txt | 9 da9150-fg : Battery Fuel-Gauge 24 - da9150-fg: See ../power/da9150-fg.txt
|
/Linux-v5.10/arch/x86/include/asm/ |
D | nmi.h | 48 #define register_nmi_handler(t, fn, fg, n, init...) \ argument 53 .flags = (fg), \
|
/Linux-v5.10/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-v5.10/sound/pci/hda/ |
D | hda_proc.c | 742 hda_nid_t nid, fg; in print_codec_info() local 746 fg = codec->core.afg; in print_codec_info() 747 if (!fg) in print_codec_info() 751 print_pcm_caps(buffer, codec, fg); in print_codec_info() 753 print_amp_caps(buffer, codec, fg, HDA_INPUT); in print_codec_info() 755 print_amp_caps(buffer, codec, fg, HDA_OUTPUT); in print_codec_info() 756 snd_iprintf(buffer, "State of AFG node 0x%02x:\n", fg); in print_codec_info() 757 print_power_state(buffer, codec, fg); in print_codec_info() 759 nodes = snd_hda_get_sub_nodes(codec, fg, &nid); in print_codec_info() 766 print_gpio(buffer, codec, fg); in print_codec_info() [all …]
|
/Linux-v5.10/drivers/gpu/drm/nouveau/ |
D | nv04_fbcon.c | 83 uint32_t fg; in nv04_fbcon_imageblit() local 98 fg = ((uint32_t *) info->pseudo_palette)[image->fg_color]; in nv04_fbcon_imageblit() 101 fg = image->fg_color; in nv04_fbcon_imageblit() 109 0x0bf0, fg, in nv04_fbcon_imageblit()
|
/Linux-v5.10/drivers/video/fbdev/aty/ |
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()
|
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
D | fs_dr.c | 140 struct mlx5_flow_group *fg) in mlx5_cmd_dr_create_flow_group() argument 152 fg); in mlx5_cmd_dr_create_flow_group() 156 mask.match_sz = sizeof(fg->mask.match_criteria); in mlx5_cmd_dr_create_flow_group() 167 fg->fs_dr_matcher.dr_matcher = matcher; in mlx5_cmd_dr_create_flow_group() 173 struct mlx5_flow_group *fg) in mlx5_cmd_dr_destroy_flow_group() argument 176 return mlx5_fs_cmd_get_fw_cmds()->destroy_flow_group(ns, ft, fg); in mlx5_cmd_dr_destroy_flow_group() 178 return mlx5dr_matcher_destroy(fg->fs_dr_matcher.dr_matcher); in mlx5_cmd_dr_destroy_flow_group()
|
/Linux-v5.10/drivers/media/common/v4l2-tpg/ |
D | v4l2-tpg-core.c | 1878 PIXTYPE fg; \ 1880 memcpy(&fg, tpg->textfg[p], sizeof(PIXTYPE)); \ 1894 pos[3] = (chr & (0x01 << 6) ? fg : bg); \ 1895 pos[2] = (chr & (0x01 << 4) ? fg : bg); \ 1896 pos[1] = (chr & (0x01 << 2) ? fg : bg); \ 1897 pos[0] = (chr & (0x01 << 0) ? fg : bg); \ 1899 pos[0] = (chr & (0x01 << 7) ? fg : bg); \ 1900 pos[1] = (chr & (0x01 << 5) ? fg : bg); \ 1901 pos[2] = (chr & (0x01 << 3) ? fg : bg); \ 1902 pos[3] = (chr & (0x01 << 1) ? fg : bg); \ [all …]
|