fg                421 arch/powerpc/kernel/btext.c 	int fg = 0xFFFFFFFFUL;
fg                427 arch/powerpc/kernel/btext.c 		base[0] = (-(bits >> 7) & fg) ^ bg;
fg                428 arch/powerpc/kernel/btext.c 		base[1] = (-((bits >> 6) & 1) & fg) ^ bg;
fg                429 arch/powerpc/kernel/btext.c 		base[2] = (-((bits >> 5) & 1) & fg) ^ bg;
fg                430 arch/powerpc/kernel/btext.c 		base[3] = (-((bits >> 4) & 1) & fg) ^ bg;
fg                431 arch/powerpc/kernel/btext.c 		base[4] = (-((bits >> 3) & 1) & fg) ^ bg;
fg                432 arch/powerpc/kernel/btext.c 		base[5] = (-((bits >> 2) & 1) & fg) ^ bg;
fg                433 arch/powerpc/kernel/btext.c 		base[6] = (-((bits >> 1) & 1) & fg) ^ bg;
fg                434 arch/powerpc/kernel/btext.c 		base[7] = (-(bits & 1) & fg) ^ bg;
fg                442 arch/powerpc/kernel/btext.c 	int fg = 0xFFFFFFFFUL;
fg                449 arch/powerpc/kernel/btext.c 		base[0] = (eb[bits >> 6] & fg) ^ bg;
fg                450 arch/powerpc/kernel/btext.c 		base[1] = (eb[(bits >> 4) & 3] & fg) ^ bg;
fg                451 arch/powerpc/kernel/btext.c 		base[2] = (eb[(bits >> 2) & 3] & fg) ^ bg;
fg                452 arch/powerpc/kernel/btext.c 		base[3] = (eb[bits & 3] & fg) ^ bg;
fg                460 arch/powerpc/kernel/btext.c 	int fg = 0x0F0F0F0FUL;
fg                467 arch/powerpc/kernel/btext.c 		base[0] = (eb[bits >> 4] & fg) ^ bg;
fg                468 arch/powerpc/kernel/btext.c 		base[1] = (eb[bits & 0xf] & fg) ^ bg;
fg                245 arch/sparc/kernel/btext.c 	int fg = 0xFFFFFFFFUL;
fg                251 arch/sparc/kernel/btext.c 		base[0] = (-(bits >> 7) & fg) ^ bg;
fg                252 arch/sparc/kernel/btext.c 		base[1] = (-((bits >> 6) & 1) & fg) ^ bg;
fg                253 arch/sparc/kernel/btext.c 		base[2] = (-((bits >> 5) & 1) & fg) ^ bg;
fg                254 arch/sparc/kernel/btext.c 		base[3] = (-((bits >> 4) & 1) & fg) ^ bg;
fg                255 arch/sparc/kernel/btext.c 		base[4] = (-((bits >> 3) & 1) & fg) ^ bg;
fg                256 arch/sparc/kernel/btext.c 		base[5] = (-((bits >> 2) & 1) & fg) ^ bg;
fg                257 arch/sparc/kernel/btext.c 		base[6] = (-((bits >> 1) & 1) & fg) ^ bg;
fg                258 arch/sparc/kernel/btext.c 		base[7] = (-(bits & 1) & fg) ^ bg;
fg                266 arch/sparc/kernel/btext.c 	int fg = 0xFFFFFFFFUL;
fg                273 arch/sparc/kernel/btext.c 		base[0] = (eb[bits >> 6] & fg) ^ bg;
fg                274 arch/sparc/kernel/btext.c 		base[1] = (eb[(bits >> 4) & 3] & fg) ^ bg;
fg                275 arch/sparc/kernel/btext.c 		base[2] = (eb[(bits >> 2) & 3] & fg) ^ bg;
fg                276 arch/sparc/kernel/btext.c 		base[3] = (eb[bits & 3] & fg) ^ bg;
fg                284 arch/sparc/kernel/btext.c 	int fg = 0x0F0F0F0FUL;
fg                291 arch/sparc/kernel/btext.c 		base[0] = (eb[bits >> 4] & fg) ^ bg;
fg                292 arch/sparc/kernel/btext.c 		base[1] = (eb[bits & 0xf] & fg) ^ bg;
fg                 48 arch/x86/include/asm/nmi.h #define register_nmi_handler(t, fn, fg, n, init...)	\
fg                 53 arch/x86/include/asm/nmi.h 		.flags = (fg),				\
fg                 82 drivers/gpu/drm/nouveau/nv04_fbcon.c 	uint32_t fg;
fg                 97 drivers/gpu/drm/nouveau/nv04_fbcon.c 		fg = ((uint32_t *) info->pseudo_palette)[image->fg_color];
fg                100 drivers/gpu/drm/nouveau/nv04_fbcon.c 		fg = image->fg_color;
fg                109 drivers/gpu/drm/nouveau/nv04_fbcon.c 	OUT_RING(chan, fg);
fg               1878 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c 	PIXTYPE fg;	\
fg               1880 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c 	memcpy(&fg, tpg->textfg[p], sizeof(PIXTYPE));	\
fg               1894 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c 				pos[3] = (chr & (0x01 << 6) ? fg : bg);	\
fg               1895 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c 				pos[2] = (chr & (0x01 << 4) ? fg : bg);	\
fg               1896 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c 				pos[1] = (chr & (0x01 << 2) ? fg : bg);	\
fg               1897 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c 				pos[0] = (chr & (0x01 << 0) ? fg : bg);	\
fg               1899 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c 				pos[0] = (chr & (0x01 << 7) ? fg : bg);	\
fg               1900 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c 				pos[1] = (chr & (0x01 << 5) ? fg : bg);	\
fg               1901 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c 				pos[2] = (chr & (0x01 << 3) ? fg : bg);	\
fg               1902 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c 				pos[3] = (chr & (0x01 << 1) ? fg : bg);	\
fg               1904 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c 				pos[7] = (chr & (0x01 << 7) ? fg : bg);	\
fg               1905 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c 				pos[6] = (chr & (0x01 << 6) ? fg : bg);	\
fg               1906 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c 				pos[5] = (chr & (0x01 << 5) ? fg : bg);	\
fg               1907 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c 				pos[4] = (chr & (0x01 << 4) ? fg : bg);	\
fg               1908 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c 				pos[3] = (chr & (0x01 << 3) ? fg : bg);	\
fg               1909 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c 				pos[2] = (chr & (0x01 << 2) ? fg : bg);	\
fg               1910 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c 				pos[1] = (chr & (0x01 << 1) ? fg : bg);	\
fg               1911 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c 				pos[0] = (chr & (0x01 << 0) ? fg : bg);	\
fg               1913 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c 				pos[0] = (chr & (0x01 << 7) ? fg : bg);	\
fg               1914 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c 				pos[1] = (chr & (0x01 << 6) ? fg : bg);	\
fg               1915 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c 				pos[2] = (chr & (0x01 << 5) ? fg : bg);	\
fg               1916 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c 				pos[3] = (chr & (0x01 << 4) ? fg : bg);	\
fg               1917 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c 				pos[4] = (chr & (0x01 << 3) ? fg : bg);	\
fg               1918 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c 				pos[5] = (chr & (0x01 << 2) ? fg : bg);	\
fg               1919 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c 				pos[6] = (chr & (0x01 << 1) ? fg : bg);	\
fg               1920 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c 				pos[7] = (chr & (0x01 << 0) ? fg : bg);	\
fg                100 drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h 	    TP_PROTO(const struct mlx5_flow_group *fg),
fg                101 drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h 	    TP_ARGS(fg),
fg                103 drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h 		__field(const struct mlx5_flow_group *, fg)
fg                114 drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h 			   __entry->fg = fg;
fg                115 drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h 			   fs_get_obj(__entry->ft, fg->node.parent);
fg                116 drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h 			   __entry->start_index = fg->start_index;
fg                117 drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h 			   __entry->end_index = fg->start_index + fg->max_ftes;
fg                118 drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h 			   __entry->id = fg->id;
fg                119 drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h 			   __entry->mask_enable = fg->mask.match_criteria_enable;
fg                122 drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h 					       &fg->mask.match_criteria,
fg                127 drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h 					       &fg->mask.match_criteria,
fg                132 drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h 					       &fg->mask.match_criteria,
fg                138 drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h 		      __entry->fg, __entry->ft, __entry->id,
fg                151 drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h 	    TP_PROTO(const struct mlx5_flow_group *fg),
fg                152 drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h 	    TP_ARGS(fg),
fg                154 drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h 		__field(const struct mlx5_flow_group *, fg)
fg                158 drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h 			   __entry->fg = fg;
fg                159 drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h 			   __entry->id = fg->id;
fg                163 drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h 		      __entry->fg, __entry->id)
fg                185 drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h 		__field(const struct mlx5_flow_group *, fg)
fg                203 drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h 			   fs_get_obj(__entry->fg, fte->node.parent);
fg                204 drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h 			   __entry->group_index = __entry->fg->id;
fg                207 drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h 			   __entry->mask_enable = __entry->fg->mask.match_criteria_enable;
fg                212 drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h 					       &__entry->fg->mask.match_criteria,
fg                217 drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h 					       &__entry->fg->mask.match_criteria,
fg                222 drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h 					       &__entry->fg->mask.match_criteria,
fg                244 drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h 		      __entry->fte, __entry->fg, __entry->index,
fg                761 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 	struct mlx5_flow_group *fg;
fg                764 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 	fs_get_obj(fg, fte->node.parent);
fg                768 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 					    fg->mask.match_criteria_enable,
fg                769 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 					    fg->mask.match_criteria,
fg                775 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 					  fg->mask.match_criteria_enable,
fg                776 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 					  fg->mask.match_criteria,
fg                785 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 	if (mlx5_fs_is_outer_ipv4_flow(mdev, fg->mask.match_criteria,
fg                998 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 					   struct mlx5_flow_group *fg,
fg               1003 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 				 struct mlx5_flow_group *fg) =
fg               1014 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 		return create_flow_group(ns, ft, in, fg);
fg               1021 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 		return create_flow_group(ns, ft, in, fg);
fg               1030 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 	ret = create_flow_group(ns, ft, in, fg);
fg               1040 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 				    struct mlx5_flow_group *fg,
fg               1046 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 			  struct mlx5_flow_group *fg,
fg               1061 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 		return create_fte(ns, ft, fg, fte);
fg               1078 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 	ret = create_fte(ns, ft, fg, fte);
fg               1091 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 				    struct mlx5_flow_group *fg,
fg               1098 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 			  struct mlx5_flow_group *fg,
fg               1111 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 		return update_fte(ns, ft, fg, modify_mask, fte);
fg               1114 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 	ret = update_fte(ns, ft, fg, modify_mask, fte);
fg               1161 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 					    struct mlx5_flow_group *fg)
fg               1163 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 	return fpga_ipsec_fs_create_flow_group(ns, ft, in, fg, true);
fg               1169 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 				     struct mlx5_flow_group *fg,
fg               1172 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 	return fpga_ipsec_fs_create_fte(ns, ft, fg, fte, true);
fg               1178 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 				     struct mlx5_flow_group *fg,
fg               1182 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 	return fpga_ipsec_fs_update_fte(ns, ft, fg, modify_mask, fte,
fg               1198 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 					     struct mlx5_flow_group *fg)
fg               1200 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 	return fpga_ipsec_fs_create_flow_group(ns, ft, in, fg, false);
fg               1206 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 				      struct mlx5_flow_group *fg,
fg               1209 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 	return fpga_ipsec_fs_create_fte(ns, ft, fg, fte, false);
fg               1215 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 				      struct mlx5_flow_group *fg,
fg               1219 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 	return fpga_ipsec_fs_update_fte(ns, ft, fg, modify_mask, fte,
fg                 74 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c 					   struct mlx5_flow_group *fg)
fg                 81 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c 					    struct mlx5_flow_group *fg)
fg                319 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c 				      struct mlx5_flow_group *fg)
fg                337 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c 		fg->id = MLX5_GET(create_flow_group_out, out,
fg                344 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c 				       struct mlx5_flow_group *fg)
fg                354 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c 	MLX5_SET(destroy_flow_group_in, in, group_id, fg->id);
fg                580 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c 			       struct mlx5_flow_group *fg,
fg                593 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c 	return	mlx5_cmd_set_fte(dev, opmod, modify_mask, ft, fg->id, fte);
fg                 53 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.h 				 struct mlx5_flow_group *fg);
fg                 57 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.h 				  struct mlx5_flow_group *fg);
fg                 61 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.h 			  struct mlx5_flow_group *fg,
fg                 66 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.h 			  struct mlx5_flow_group *fg,
fg                459 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 	struct mlx5_flow_group *fg;
fg                463 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 	fs_get_obj(fg, fte->node.parent);
fg                464 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 	fs_get_obj(ft, fg->node.parent);
fg                468 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 	err = root->cmds->update_fte(root, ft, fg, fte->modify_mask, fte);
fg                472 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 			       __func__, fg->id, fte->index);
fg                512 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 	struct mlx5_flow_group *fg;
fg                518 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 	fs_get_obj(fg, fte->node.parent);
fg                519 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 	fs_get_obj(ft, fg->node.parent);
fg                529 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 				       fte->index, fg->id);
fg                537 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 	struct mlx5_flow_group *fg;
fg                542 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 	fs_get_obj(fg, fte->node.parent);
fg                544 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 	err = rhashtable_remove_fast(&fg->ftes_hash,
fg                548 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 	ida_simple_remove(&fg->fte_allocator, fte->index - fg->start_index);
fg                555 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 	struct mlx5_flow_group *fg;
fg                559 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 	fs_get_obj(fg, node);
fg                560 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 	fs_get_obj(ft, fg->node.parent);
fg                562 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 	trace_mlx5_fs_del_fg(fg);
fg                565 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 	if (fg->node.active && root->cmds->destroy_flow_group(root, ft, fg))
fg                567 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 			       fg->id, ft->id);
fg                573 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 	struct mlx5_flow_group *fg;
fg                577 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 	fs_get_obj(fg, node);
fg                578 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 	fs_get_obj(ft, fg->node.parent);
fg                580 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 	rhashtable_destroy(&fg->ftes_hash);
fg                581 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 	ida_destroy(&fg->fte_allocator);
fg                582 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 	if (ft->autogroup.active && fg->max_ftes == ft->autogroup.group_size)
fg                585 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 			      &fg->hash,
fg                588 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 	kmem_cache_free(steering->fgs_cache, fg);
fg                591 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c static int insert_fte(struct mlx5_flow_group *fg, struct fs_fte *fte)
fg                596 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 	index = ida_simple_get(&fg->fte_allocator, 0, fg->max_ftes, GFP_KERNEL);
fg                600 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 	fte->index = index + fg->start_index;
fg                601 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 	ret = rhashtable_insert_fast(&fg->ftes_hash,
fg                607 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 	tree_add_node(&fte->node, &fg->node);
fg                608 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 	list_add_tail(&fte->node.list, &fg->node.children);
fg                612 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 	ida_simple_remove(&fg->fte_allocator, index);
fg                638 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 			       struct mlx5_flow_group *fg)
fg                640 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 	rhashtable_destroy(&fg->ftes_hash);
fg                641 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 	kmem_cache_free(steering->fgs_cache, fg);
fg                650 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 	struct mlx5_flow_group *fg;
fg                653 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 	fg = kmem_cache_zalloc(steering->fgs_cache, GFP_KERNEL);
fg                654 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 	if (!fg)
fg                657 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 	ret = rhashtable_init(&fg->ftes_hash, &rhash_fte);
fg                659 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 		kmem_cache_free(steering->fgs_cache, fg);
fg                663 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 	ida_init(&fg->fte_allocator);
fg                664 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 	fg->mask.match_criteria_enable = match_criteria_enable;
fg                665 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 	memcpy(&fg->mask.match_criteria, match_criteria,
fg                666 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 	       sizeof(fg->mask.match_criteria));
fg                667 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 	fg->node.type =  FS_TYPE_FLOW_GROUP;
fg                668 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 	fg->start_index = start_index;
fg                669 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 	fg->max_ftes = end_index - start_index + 1;
fg                671 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 	return fg;
fg                682 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 	struct mlx5_flow_group *fg;
fg                685 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 	fg = alloc_flow_group(steering, match_criteria_enable, match_criteria,
fg                687 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 	if (IS_ERR(fg))
fg                688 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 		return fg;
fg                692 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 			      &fg->hash,
fg                695 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 		dealloc_flow_group(steering, fg);
fg                699 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 	tree_init_node(&fg->node, del_hw_flow_group, del_sw_flow_group);
fg                700 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 	tree_add_node(&fg->node, &ft->node);
fg                702 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 	list_add(&fg->node.list, prev);
fg                705 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 	return fg;
fg                891 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 	struct mlx5_flow_group *fg;
fg                900 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 	fs_get_obj(fg, fte->node.parent);
fg                901 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 	fs_get_obj(ft, fg->node.parent);
fg                905 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 	err = root->cmds->update_fte(root, ft, fg,
fg               1149 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 	struct mlx5_flow_group *fg;
fg               1156 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 	fg = alloc_insert_flow_group(ft, match_criteria_enable, match_criteria,
fg               1160 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 	if (IS_ERR(fg))
fg               1161 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 		return fg;
fg               1163 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 	err = root->cmds->create_flow_group(root, ft, fg_in, fg);
fg               1165 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 		tree_put_node(&fg->node, false);
fg               1168 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 	trace_mlx5_fs_add_fg(fg);
fg               1169 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 	fg->node.active = true;
fg               1171 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 	return fg;
fg               1280 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 	     struct mlx5_flow_group *fg,
fg               1300 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 	fs_get_obj(ft, fg->node.parent);
fg               1301 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 	root = find_root(&fg->node);
fg               1303 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 		err = root->cmds->create_fte(root, ft, fg, fte);
fg               1305 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 		err = root->cmds->update_fte(root, ft, fg, modify_mask, fte);
fg               1325 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 	struct mlx5_flow_group *fg;
fg               1340 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 	fs_for_each_fg(fg, ft) {
fg               1341 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 		if (candidate_index + group_size > fg->start_index)
fg               1342 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 			candidate_index = fg->start_index + fg->max_ftes;
fg               1345 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 		prev = &fg->node.list;
fg               1351 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 	fg = alloc_insert_flow_group(ft,
fg               1357 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 	if (IS_ERR(fg))
fg               1364 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 	return fg;
fg               1368 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 				  struct mlx5_flow_group *fg)
fg               1383 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 		 fg->mask.match_criteria_enable);
fg               1384 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 	MLX5_SET(create_flow_group_in, in, start_flow_index, fg->start_index);
fg               1385 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 	MLX5_SET(create_flow_group_in, in, end_flow_index,   fg->start_index +
fg               1386 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 		 fg->max_ftes - 1);
fg               1388 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 	misc = MLX5_ADDR_OF(fte_match_param, fg->mask.match_criteria,
fg               1397 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 	memcpy(match_criteria_addr, fg->mask.match_criteria,
fg               1398 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 	       sizeof(fg->mask.match_criteria));
fg               1400 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 	err = root->cmds->create_flow_group(root, ft, in, fg);
fg               1402 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 		fg->node.active = true;
fg               1403 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 		trace_mlx5_fs_add_fg(fg);
fg               1490 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c static struct mlx5_flow_handle *add_rule_fg(struct mlx5_flow_group *fg,
fg               1508 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 	handle = add_rule_fte(fte, fg, dest, dest_num,
fg               2050 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c void mlx5_destroy_flow_group(struct mlx5_flow_group *fg)
fg               2052 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 	if (tree_remove_node(&fg->node, false))
fg               2053 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 		mlx5_core_warn(get_dev(&fg->node), "Flow group %d wasn't destroyed, refcount > 1\n",
fg               2054 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 			       fg->id);
fg                304 drivers/net/ethernet/mellanox/mlx5/core/fs_core.h #define fs_for_each_fte(pos, fg)			\
fg                305 drivers/net/ethernet/mellanox/mlx5/core/fs_core.h 	fs_list_for_each_entry(pos, &(fg)->node.children)
fg                 18 drivers/net/ethernet/mellanox/mlx5/core/rdma.c 	mlx5_destroy_flow_group(roce->fg);
fg                 32 drivers/net/ethernet/mellanox/mlx5/core/rdma.c 	struct mlx5_flow_group *fg;
fg                 73 drivers/net/ethernet/mellanox/mlx5/core/rdma.c 	fg = mlx5_create_flow_group(ft, flow_group_in);
fg                 74 drivers/net/ethernet/mellanox/mlx5/core/rdma.c 	if (IS_ERR(fg)) {
fg                 75 drivers/net/ethernet/mellanox/mlx5/core/rdma.c 		err = PTR_ERR(fg);
fg                101 drivers/net/ethernet/mellanox/mlx5/core/rdma.c 	roce->fg = fg;
fg                107 drivers/net/ethernet/mellanox/mlx5/core/rdma.c 	mlx5_destroy_flow_group(fg);
fg                135 drivers/net/ethernet/mellanox/mlx5/core/steering/fs_dr.c 					 struct mlx5_flow_group *fg)
fg                147 drivers/net/ethernet/mellanox/mlx5/core/steering/fs_dr.c 								    fg);
fg                151 drivers/net/ethernet/mellanox/mlx5/core/steering/fs_dr.c 	mask.match_sz = sizeof(fg->mask.match_criteria);
fg                162 drivers/net/ethernet/mellanox/mlx5/core/steering/fs_dr.c 	fg->fs_dr_matcher.dr_matcher = matcher;
fg                168 drivers/net/ethernet/mellanox/mlx5/core/steering/fs_dr.c 					  struct mlx5_flow_group *fg)
fg                171 drivers/net/ethernet/mellanox/mlx5/core/steering/fs_dr.c 		return mlx5_fs_cmd_get_fw_cmds()->destroy_flow_group(ns, ft, fg);
fg                173 drivers/net/ethernet/mellanox/mlx5/core/steering/fs_dr.c 	return mlx5dr_matcher_destroy(fg->fs_dr_matcher.dr_matcher);
fg                404 drivers/power/supply/ab8500_bmdata.c static const struct abx500_fg_parameters fg = {
fg                487 drivers/power/supply/ab8500_bmdata.c 	.fg_params              = &fg,
fg                100 drivers/power/supply/ab8500_btemp.c 	struct ab8500_fg *fg;
fg                368 drivers/power/supply/ab8500_btemp.c 	if (!di->fg)
fg                369 drivers/power/supply/ab8500_btemp.c 		di->fg = ab8500_fg_get();
fg                370 drivers/power/supply/ab8500_btemp.c 	if (!di->fg) {
fg                375 drivers/power/supply/ab8500_btemp.c 	ret = ab8500_fg_inst_curr_start(di->fg);
fg                384 drivers/power/supply/ab8500_btemp.c 	} while (!ab8500_fg_inst_curr_started(di->fg));
fg                392 drivers/power/supply/ab8500_btemp.c 	} while (!ab8500_fg_inst_curr_done(di->fg));
fg                395 drivers/power/supply/ab8500_btemp.c 	ret = ab8500_fg_inst_curr_finalize(di->fg, &inst_curr);
fg                 88 drivers/power/supply/da9150-fg.c static u32 da9150_fg_read_attr(struct da9150_fg *fg, u8 code, u8 size)
fg                 99 drivers/power/supply/da9150-fg.c 	da9150_read_qif(fg->da9150, read_addr, size, buf);
fg                106 drivers/power/supply/da9150-fg.c static void da9150_fg_write_attr(struct da9150_fg *fg, u8 code, u8 size,
fg                121 drivers/power/supply/da9150-fg.c 	da9150_write_qif(fg->da9150, write_addr, size, buf);
fg                125 drivers/power/supply/da9150-fg.c static void da9150_fg_read_sync_start(struct da9150_fg *fg)
fg                130 drivers/power/supply/da9150-fg.c 	mutex_lock(&fg->io_lock);
fg                133 drivers/power/supply/da9150-fg.c 	res = da9150_fg_read_attr(fg, DA9150_QIF_SYNC,
fg                136 drivers/power/supply/da9150-fg.c 		da9150_fg_write_attr(fg, DA9150_QIF_SYNC,
fg                144 drivers/power/supply/da9150-fg.c 		res = da9150_fg_read_attr(fg, DA9150_QIF_SYNC,
fg                150 drivers/power/supply/da9150-fg.c 		dev_err(fg->dev, "Failed to perform QIF read sync!\n");
fg                157 drivers/power/supply/da9150-fg.c static inline void da9150_fg_read_sync_end(struct da9150_fg *fg)
fg                159 drivers/power/supply/da9150-fg.c 	mutex_unlock(&fg->io_lock);
fg                163 drivers/power/supply/da9150-fg.c static u32 da9150_fg_read_attr_sync(struct da9150_fg *fg, u8 code, u8 size)
fg                167 drivers/power/supply/da9150-fg.c 	da9150_fg_read_sync_start(fg);
fg                168 drivers/power/supply/da9150-fg.c 	val = da9150_fg_read_attr(fg, code, size);
fg                169 drivers/power/supply/da9150-fg.c 	da9150_fg_read_sync_end(fg);
fg                175 drivers/power/supply/da9150-fg.c static void da9150_fg_write_attr_sync(struct da9150_fg *fg, u8 code, u8 size,
fg                181 drivers/power/supply/da9150-fg.c 	mutex_lock(&fg->io_lock);
fg                184 drivers/power/supply/da9150-fg.c 	res = da9150_fg_read_attr(fg, DA9150_QIF_SYNC,
fg                191 drivers/power/supply/da9150-fg.c 		res = da9150_fg_read_attr(fg, DA9150_QIF_SYNC,
fg                196 drivers/power/supply/da9150-fg.c 		dev_err(fg->dev, "Timeout waiting for existing QIF sync!\n");
fg                197 drivers/power/supply/da9150-fg.c 		mutex_unlock(&fg->io_lock);
fg                202 drivers/power/supply/da9150-fg.c 	da9150_fg_write_attr(fg, code, size, val);
fg                210 drivers/power/supply/da9150-fg.c 		res = da9150_fg_read_attr(fg, DA9150_QIF_SYNC,
fg                214 drivers/power/supply/da9150-fg.c 	mutex_unlock(&fg->io_lock);
fg                218 drivers/power/supply/da9150-fg.c 		dev_err(fg->dev, "Error performing QIF sync write for code %d\n",
fg                223 drivers/power/supply/da9150-fg.c static int da9150_fg_capacity(struct da9150_fg *fg,
fg                226 drivers/power/supply/da9150-fg.c 	val->intval = da9150_fg_read_attr_sync(fg, DA9150_QIF_SOC_PCT,
fg                235 drivers/power/supply/da9150-fg.c static int da9150_fg_current_avg(struct da9150_fg *fg,
fg                241 drivers/power/supply/da9150-fg.c 	da9150_fg_read_sync_start(fg);
fg                242 drivers/power/supply/da9150-fg.c 	iavg = da9150_fg_read_attr(fg, DA9150_QIF_IAVG,
fg                244 drivers/power/supply/da9150-fg.c 	shunt_val = da9150_fg_read_attr(fg, DA9150_QIF_SHUNT_VAL,
fg                246 drivers/power/supply/da9150-fg.c 	sd_gain = da9150_fg_read_attr(fg, DA9150_QIF_SD_GAIN,
fg                248 drivers/power/supply/da9150-fg.c 	da9150_fg_read_sync_end(fg);
fg                260 drivers/power/supply/da9150-fg.c static int da9150_fg_voltage_avg(struct da9150_fg *fg,
fg                265 drivers/power/supply/da9150-fg.c 	val->intval = da9150_fg_read_attr_sync(fg, DA9150_QIF_UAVG,
fg                275 drivers/power/supply/da9150-fg.c static int da9150_fg_charge_full(struct da9150_fg *fg,
fg                278 drivers/power/supply/da9150-fg.c 	val->intval = da9150_fg_read_attr_sync(fg, DA9150_QIF_FCC_MAH,
fg                290 drivers/power/supply/da9150-fg.c static int da9150_fg_temp(struct da9150_fg *fg,
fg                293 drivers/power/supply/da9150-fg.c 	val->intval = da9150_fg_read_attr_sync(fg, DA9150_QIF_NTCAVG,
fg                313 drivers/power/supply/da9150-fg.c 	struct da9150_fg *fg = dev_get_drvdata(psy->dev.parent);
fg                318 drivers/power/supply/da9150-fg.c 		ret = da9150_fg_capacity(fg, val);
fg                321 drivers/power/supply/da9150-fg.c 		ret = da9150_fg_current_avg(fg, val);
fg                324 drivers/power/supply/da9150-fg.c 		ret = da9150_fg_voltage_avg(fg, val);
fg                327 drivers/power/supply/da9150-fg.c 		ret = da9150_fg_charge_full(fg, val);
fg                330 drivers/power/supply/da9150-fg.c 		ret = da9150_fg_temp(fg, val);
fg                341 drivers/power/supply/da9150-fg.c static bool da9150_fg_soc_changed(struct da9150_fg *fg)
fg                345 drivers/power/supply/da9150-fg.c 	da9150_fg_capacity(fg, &val);
fg                346 drivers/power/supply/da9150-fg.c 	if (val.intval != fg->soc) {
fg                347 drivers/power/supply/da9150-fg.c 		fg->soc = val.intval;
fg                356 drivers/power/supply/da9150-fg.c 	struct da9150_fg *fg = container_of(work, struct da9150_fg, work.work);
fg                359 drivers/power/supply/da9150-fg.c 	if (da9150_fg_soc_changed(fg))
fg                360 drivers/power/supply/da9150-fg.c 		power_supply_changed(fg->battery);
fg                362 drivers/power/supply/da9150-fg.c 	schedule_delayed_work(&fg->work, msecs_to_jiffies(fg->interval));
fg                366 drivers/power/supply/da9150-fg.c static void da9150_fg_soc_event_config(struct da9150_fg *fg)
fg                370 drivers/power/supply/da9150-fg.c 	soc = da9150_fg_read_attr_sync(fg, DA9150_QIF_SOC_PCT,
fg                373 drivers/power/supply/da9150-fg.c 	if (soc > fg->warn_soc) {
fg                375 drivers/power/supply/da9150-fg.c 		da9150_fg_write_attr_sync(fg, DA9150_QIF_DISCHARGE_LIMIT,
fg                377 drivers/power/supply/da9150-fg.c 					  fg->warn_soc + 1);
fg                378 drivers/power/supply/da9150-fg.c 	} else if ((soc <= fg->warn_soc) && (soc > fg->crit_soc)) {
fg                383 drivers/power/supply/da9150-fg.c 		da9150_fg_write_attr_sync(fg, DA9150_QIF_DISCHARGE_LIMIT,
fg                385 drivers/power/supply/da9150-fg.c 					  fg->crit_soc + 1);
fg                387 drivers/power/supply/da9150-fg.c 		da9150_fg_write_attr_sync(fg, DA9150_QIF_CHARGE_LIMIT,
fg                389 drivers/power/supply/da9150-fg.c 					  fg->warn_soc);
fg                390 drivers/power/supply/da9150-fg.c 	} else if (soc <= fg->crit_soc) {
fg                392 drivers/power/supply/da9150-fg.c 		da9150_fg_write_attr_sync(fg, DA9150_QIF_CHARGE_LIMIT,
fg                394 drivers/power/supply/da9150-fg.c 					  fg->crit_soc);
fg                400 drivers/power/supply/da9150-fg.c 	struct da9150_fg *fg = data;
fg                404 drivers/power/supply/da9150-fg.c 	e_fg_status = da9150_fg_read_attr(fg, DA9150_QIF_E_FG_STATUS,
fg                409 drivers/power/supply/da9150-fg.c 		da9150_fg_soc_event_config(fg);
fg                412 drivers/power/supply/da9150-fg.c 	da9150_fg_write_attr(fg, DA9150_QIF_E_FG_STATUS,
fg                450 drivers/power/supply/da9150-fg.c 	struct da9150_fg *fg;
fg                453 drivers/power/supply/da9150-fg.c 	fg = devm_kzalloc(dev, sizeof(*fg), GFP_KERNEL);
fg                454 drivers/power/supply/da9150-fg.c 	if (fg == NULL)
fg                457 drivers/power/supply/da9150-fg.c 	platform_set_drvdata(pdev, fg);
fg                458 drivers/power/supply/da9150-fg.c 	fg->da9150 = da9150;
fg                459 drivers/power/supply/da9150-fg.c 	fg->dev = dev;
fg                461 drivers/power/supply/da9150-fg.c 	mutex_init(&fg->io_lock);
fg                467 drivers/power/supply/da9150-fg.c 	fg->battery = devm_power_supply_register(dev, &fg_desc, NULL);
fg                468 drivers/power/supply/da9150-fg.c 	if (IS_ERR(fg->battery)) {
fg                469 drivers/power/supply/da9150-fg.c 		ret = PTR_ERR(fg->battery);
fg                473 drivers/power/supply/da9150-fg.c 	ver = da9150_fg_read_attr(fg, DA9150_QIF_FW_MAIN_VER,
fg                485 drivers/power/supply/da9150-fg.c 		fg->interval = fg_pdata->update_interval;
fg                490 drivers/power/supply/da9150-fg.c 			fg->warn_soc = fg_pdata->warn_soc_lvl;
fg                496 drivers/power/supply/da9150-fg.c 			fg->crit_soc = fg_pdata->crit_soc_lvl;
fg                502 drivers/power/supply/da9150-fg.c 	da9150_fg_soc_event_config(fg);
fg                508 drivers/power/supply/da9150-fg.c 	if (fg->interval) {
fg                509 drivers/power/supply/da9150-fg.c 		INIT_DELAYED_WORK(&fg->work, da9150_fg_work);
fg                510 drivers/power/supply/da9150-fg.c 		schedule_delayed_work(&fg->work,
fg                511 drivers/power/supply/da9150-fg.c 				      msecs_to_jiffies(fg->interval));
fg                523 drivers/power/supply/da9150-fg.c 					IRQF_ONESHOT, "FG", fg);
fg                532 drivers/power/supply/da9150-fg.c 	if (fg->interval)
fg                533 drivers/power/supply/da9150-fg.c 		cancel_delayed_work(&fg->work);
fg                540 drivers/power/supply/da9150-fg.c 	struct da9150_fg *fg = platform_get_drvdata(pdev);
fg                542 drivers/power/supply/da9150-fg.c 	if (fg->interval)
fg                543 drivers/power/supply/da9150-fg.c 		cancel_delayed_work(&fg->work);
fg                550 drivers/power/supply/da9150-fg.c 	struct da9150_fg *fg = platform_get_drvdata(pdev);
fg                556 drivers/power/supply/da9150-fg.c 	if (fg->interval)
fg                557 drivers/power/supply/da9150-fg.c 		flush_delayed_work(&fg->work);
fg                134 drivers/staging/sm750fb/sm750.c 		u16 fg, bg;
fg                136 drivers/staging/sm750fb/sm750.c 		fg = ((info->cmap.red[fbcursor->image.fg_color] & 0xf800)) |
fg                144 drivers/staging/sm750fb/sm750.c 		sm750_hw_cursor_setColor(cursor, fg, bg);
fg                 76 drivers/staging/sm750fb/sm750_cursor.c void sm750_hw_cursor_setColor(struct lynx_cursor *cursor, u32 fg, u32 bg)
fg                 78 drivers/staging/sm750fb/sm750_cursor.c 	u32 reg = (fg << HWC_COLOR_12_2_RGB565_SHIFT) &
fg                 13 drivers/staging/sm750fb/sm750_cursor.h 						u32 fg, u32 bg);
fg                391 drivers/staging/speakup/main.c 	int fg = spk_attr & 0x0f;
fg                394 drivers/staging/speakup/main.c 	if (fg > 8) {
fg                396 drivers/staging/speakup/main.c 		fg -= 8;
fg                398 drivers/staging/speakup/main.c 	synth_printf("%s", spk_msg_get(MSG_COLORS_START + fg));
fg                176 drivers/video/fbdev/arkfb.c 	u32 fg = expand_color(image->fg_color);
fg                193 drivers/video/fbdev/arkfb.c 			val = (val & fg) | (~val & bg);
fg                205 drivers/video/fbdev/arkfb.c 	u32 fg = expand_color(rect->color);
fg                216 drivers/video/fbdev/arkfb.c 			fb_writel(fg, dst++);
fg                234 drivers/video/fbdev/arkfb.c 	u32 fg = image->fg_color * 0x11111111;
fg                251 drivers/video/fbdev/arkfb.c 			val = (val & fg) | (~val & bg);
fg                269 drivers/video/fbdev/atafb_utils.h static inline void expand8_2col2mask(u8 fg, u8 bg, u32 fgm[], u32 bgm[])
fg                271 drivers/video/fbdev/atafb_utils.h 	fgm[0] = four2long[fg & 15] ^ (bgm[0] = four2long[bg & 15]);
fg                273 drivers/video/fbdev/atafb_utils.h 	fgm[1] = four2long[fg >> 4] ^ (bgm[1] = four2long[bg >> 4]);
fg                301 drivers/video/fbdev/atafb_utils.h static inline void fill8_2col(u8 *dst, u8 fg, u8 bg, u32 mask)
fg                305 drivers/video/fbdev/atafb_utils.h 	expand8_2col2mask(fg, bg, fgm, bgm);
fg                343 drivers/video/fbdev/atafb_utils.h static inline void expand16_2col2mask(u8 fg, u8 bg, u32 fgm[], u32 bgm[])
fg                346 drivers/video/fbdev/atafb_utils.h 	fgm[0] = two2word[fg & 3] ^ bgm[0];
fg                349 drivers/video/fbdev/atafb_utils.h 	fgm[1] = two2word[(fg >> 2) & 3] ^ bgm[1];
fg                353 drivers/video/fbdev/atafb_utils.h 	fgm[2] = two2word[(fg >> 4) & 3] ^ bgm[2];
fg                355 drivers/video/fbdev/atafb_utils.h 	fgm[3] = two2word[fg >> 6] ^ bgm[3];
fg                356 drivers/video/fbdev/aty/mach64_accel.c 		u32 fg, bg;
fg                359 drivers/video/fbdev/aty/mach64_accel.c 			fg = ((u32*)(info->pseudo_palette))[image->fg_color];
fg                362 drivers/video/fbdev/aty/mach64_accel.c 			fg = image->fg_color;
fg                368 drivers/video/fbdev/aty/mach64_accel.c 		aty_st_le32(DP_FRGD_CLR, fg, par);
fg                126 drivers/video/fbdev/aty/mach64_cursor.c 		u32 fg_idx, bg_idx, fg, bg;
fg                131 drivers/video/fbdev/aty/mach64_cursor.c 		fg = ((info->cmap.red[fg_idx] & 0xff) << 24) |
fg                141 drivers/video/fbdev/aty/mach64_cursor.c 		aty_st_le32(CUR_CLR1, fg, par);
fg                212 drivers/video/fbdev/cg6.c 	u32	fg;
fg                330 drivers/video/fbdev/cg6.c 	sbus_writel(rect->color, &fbc->fg);
fg                367 drivers/video/fbdev/cg6.c 	sbus_writel(0xff, &fbc->fg);
fg                412 drivers/video/fbdev/cg6.c 	sbus_writel(image->fg_color, &fbc->fg);
fg               1827 drivers/video/fbdev/cirrusfb.c 		u32 fg, bg;
fg               1830 drivers/video/fbdev/cirrusfb.c 			fg = image->fg_color;
fg               1833 drivers/video/fbdev/cirrusfb.c 			fg = ((u32 *)(info->pseudo_palette))[image->fg_color];
fg               1850 drivers/video/fbdev/cirrusfb.c 				  fg, bg,
fg                145 drivers/video/fbdev/core/bitblit.c 		      int fg, int bg)
fg                157 drivers/video/fbdev/core/bitblit.c 	image.fg_color = fg;
fg                237 drivers/video/fbdev/core/bitblit.c 		       int softback_lines, int fg, int bg)
fg                281 drivers/video/fbdev/core/bitblit.c 	if (ops->cursor_state.image.fg_color != fg ||
fg                284 drivers/video/fbdev/core/bitblit.c 		ops->cursor_state.image.fg_color = fg;
fg                280 drivers/video/fbdev/core/cfbfillrect.c 	unsigned long pat, pat2, fg;
fg                292 drivers/video/fbdev/core/cfbfillrect.c 		fg = ((u32 *) (p->pseudo_palette))[rect->color];
fg                294 drivers/video/fbdev/core/cfbfillrect.c 		fg = rect->color;
fg                296 drivers/video/fbdev/core/cfbfillrect.c 	pat = pixel_to_pat(bpp, fg);
fg                330 drivers/video/fbdev/core/fbcon.c 		int fg = (info->fix.visual != FB_VISUAL_MONO01) ? col : 0;
fg                334 drivers/video/fbdev/core/fbcon.c 			fg = bg;
fg                336 drivers/video/fbdev/core/fbcon.c 		color = (is_fg) ? fg : bg;
fg               3005 drivers/video/fbdev/core/fbcon.c 	int i, rows, cols, fg = -1;
fg               3017 drivers/video/fbdev/core/fbcon.c 			fg = i;
fg               3031 drivers/video/fbdev/core/fbcon.c 	if (fg != -1)
fg                 61 drivers/video/fbdev/core/fbcon.h 		      int fg, int bg);
fg                 65 drivers/video/fbdev/core/fbcon.h 		       int softback_lines, int fg, int bg);
fg                124 drivers/video/fbdev/core/fbcon.h 	int fg;
fg                141 drivers/video/fbdev/core/fbcon.h 		fg = is_mono01 ? col : 0;
fg                145 drivers/video/fbdev/core/fbcon.h 		fg = is_mono01 ? 0 : col;
fg                149 drivers/video/fbdev/core/fbcon.h 	return is_fg ? fg : bg;
fg                131 drivers/video/fbdev/core/fbcon_ccw.c 		      int fg, int bg)
fg                148 drivers/video/fbdev/core/fbcon_ccw.c 	image.fg_color = fg;
fg                222 drivers/video/fbdev/core/fbcon_ccw.c 		       int softback_lines, int fg, int bg)
fg                270 drivers/video/fbdev/core/fbcon_ccw.c 	if (ops->cursor_state.image.fg_color != fg ||
fg                273 drivers/video/fbdev/core/fbcon_ccw.c 		ops->cursor_state.image.fg_color = fg;
fg                116 drivers/video/fbdev/core/fbcon_cw.c 		      int fg, int bg)
fg                133 drivers/video/fbdev/core/fbcon_cw.c 	image.fg_color = fg;
fg                205 drivers/video/fbdev/core/fbcon_cw.c 		      int softback_lines, int fg, int bg)
fg                253 drivers/video/fbdev/core/fbcon_cw.c 	if (ops->cursor_state.image.fg_color != fg ||
fg                256 drivers/video/fbdev/core/fbcon_cw.c 		ops->cursor_state.image.fg_color = fg;
fg                153 drivers/video/fbdev/core/fbcon_ud.c 		      int fg, int bg)
fg                171 drivers/video/fbdev/core/fbcon_ud.c 	image.fg_color = fg;
fg                252 drivers/video/fbdev/core/fbcon_ud.c 		      int softback_lines, int fg, int bg)
fg                301 drivers/video/fbdev/core/fbcon_ud.c 	if (ops->cursor_state.image.fg_color != fg ||
fg                304 drivers/video/fbdev/core/fbcon_ud.c 		ops->cursor_state.image.fg_color = fg;
fg                279 drivers/video/fbdev/core/fbmem.c 	u8 fg = 1, d;
fg                283 drivers/video/fbdev/core/fbmem.c 		fg = 1;
fg                286 drivers/video/fbdev/core/fbmem.c 		fg = 3;
fg                289 drivers/video/fbdev/core/fbmem.c 		fg = 7;
fg                295 drivers/video/fbdev/core/fbmem.c 		fg = ~((u8) (0xfff << info->var.green.length));
fg                314 drivers/video/fbdev/core/fbmem.c 					*dst++ = ((d >> k) & 1) ? fg : 0;
fg                261 drivers/video/fbdev/core/svgalib.c 	int attr = (0x0F & rect->bg) << 4 | (0x0F & rect->fg);
fg                282 drivers/video/fbdev/core/svgalib.c 	int attr = (0x0F & blit->bg) << 4 | (0x0F & blit->fg);
fg                245 drivers/video/fbdev/core/sysfillrect.c 	unsigned long pat, pat2, fg;
fg                257 drivers/video/fbdev/core/sysfillrect.c 		fg = ((u32 *) (p->pseudo_palette))[rect->color];
fg                259 drivers/video/fbdev/core/sysfillrect.c 		fg = rect->color;
fg                261 drivers/video/fbdev/core/sysfillrect.c 	pat = pixel_to_pat( bpp, fg);
fg                 43 drivers/video/fbdev/core/tileblit.c 	rect.fg = attr_fgcol_ec(fgshift, vc, info);
fg                 56 drivers/video/fbdev/core/tileblit.c 		       int fg, int bg)
fg                 66 drivers/video/fbdev/core/tileblit.c 	blit.fg = fg;
fg                 83 drivers/video/fbdev/core/tileblit.c 			int softback_lines, int fg, int bg)
fg                 91 drivers/video/fbdev/core/tileblit.c 	cursor.fg = fg;
fg                222 drivers/video/fbdev/ffb.c 	u32	fg;
fg                441 drivers/video/fbdev/ffb.c 	upa_writel(par->fg_cache, &fbc->fg);
fg                481 drivers/video/fbdev/ffb.c 	u32 fg;
fg                485 drivers/video/fbdev/ffb.c 	fg = ((u32 *)info->pseudo_palette)[rect->color];
fg                489 drivers/video/fbdev/ffb.c 	if (fg != par->fg_cache) {
fg                491 drivers/video/fbdev/ffb.c 		upa_writel(fg, &fbc->fg);
fg                492 drivers/video/fbdev/ffb.c 		par->fg_cache = fg;
fg                556 drivers/video/fbdev/ffb.c 	u32 fg, bg, xy;
fg                565 drivers/video/fbdev/ffb.c 	fg = ((u32 *)info->pseudo_palette)[image->fg_color];
fg                567 drivers/video/fbdev/ffb.c 	fgbg = ((u64) fg << 32) | (u64) bg;
fg                576 drivers/video/fbdev/ffb.c 		upa_writeq(fgbg, &fbc->fg);
fg                995 drivers/video/fbdev/fsl-diu-fb.c 	const void *image, uint16_t bg, uint16_t fg,
fg               1001 drivers/video/fbdev/fsl-diu-fb.c 	__le16 _fg = cpu_to_le16(fg);
fg               1072 drivers/video/fbdev/fsl-diu-fb.c 		uint16_t fg, bg;
fg               1083 drivers/video/fbdev/fsl-diu-fb.c 		fg = ((info->cmap.red[fg_idx] & 0xf8) << 7) |
fg               1100 drivers/video/fbdev/fsl-diu-fb.c 		fsl_diu_load_cursor_image(info, image, bg, fg,
fg                238 drivers/video/fbdev/i810/i810_accel.c 					  int fg, struct fb_info *info)
fg                249 drivers/video/fbdev/i810/i810_accel.c 	PUT_RING(fg);
fg                370 drivers/video/fbdev/i810/i810_accel.c 	u32 fg = 0, bg = 0, size, dst;
fg                380 drivers/video/fbdev/i810/i810_accel.c 		fg = image->fg_color;
fg                385 drivers/video/fbdev/i810/i810_accel.c 		fg = ((u32 *)(info->pseudo_palette))[image->fg_color];
fg                402 drivers/video/fbdev/i810/i810_accel.c 			       bg, fg, info);
fg                819 drivers/video/fbdev/i810/i810_main.c static void i810_load_cursor_colors(int fg, int bg, struct fb_info *info)
fg                834 drivers/video/fbdev/i810/i810_main.c 	i810fb_getcolreg(fg, &red, &green, &blue, &trans, info);
fg               1199 drivers/video/fbdev/imsttfb.c         u32 flags = cursor->set, fg, bg, xx, yy;
fg               1246 drivers/video/fbdev/imsttfb.c 		fg = ((info->cmap.red[fg_idx] & 0xf8) << 7) |
fg               1558 drivers/video/fbdev/intelfb/intelfbdrv.c 		u32 fg, bg;
fg               1571 drivers/video/fbdev/intelfb/intelfbdrv.c 			fg =dinfo->pseudo_palette[cursor->image.fg_color];
fg               1574 drivers/video/fbdev/intelfb/intelfbdrv.c 			fg = cursor->image.fg_color;
fg               1577 drivers/video/fbdev/intelfb/intelfbdrv.c 		intelfbhw_cursor_setcolor(dinfo, bg, fg);
fg               1604 drivers/video/fbdev/intelfb/intelfbdrv.c 		u32 fg, bg;
fg               1607 drivers/video/fbdev/intelfb/intelfbdrv.c 			fg = dinfo->pseudo_palette[cursor->image.fg_color];
fg               1610 drivers/video/fbdev/intelfb/intelfbdrv.c 			fg = cursor->image.fg_color;
fg               1614 drivers/video/fbdev/intelfb/intelfbdrv.c 		intelfbhw_cursor_setcolor(dinfo, bg, fg);
fg               1747 drivers/video/fbdev/intelfb/intelfbhw.c int intelfbhw_do_drawglyph(struct intelfb_info *dinfo, u32 fg, u32 bg, u32 w,
fg               1787 drivers/video/fbdev/intelfb/intelfbhw.c 	br19 = fg;
fg               1943 drivers/video/fbdev/intelfb/intelfbhw.c void intelfbhw_cursor_setcolor(struct intelfb_info *dinfo, u32 bg, u32 fg)
fg               1950 drivers/video/fbdev/intelfb/intelfbhw.c 	OUTREG(CURSOR_A_PALETTE1, fg & CURSOR_PALETTE_MASK);
fg               1951 drivers/video/fbdev/intelfb/intelfbhw.c 	OUTREG(CURSOR_A_PALETTE2, fg & CURSOR_PALETTE_MASK);
fg                592 drivers/video/fbdev/intelfb/intelfbhw.h extern int intelfbhw_do_drawglyph(struct intelfb_info *dinfo, u32 fg, u32 bg,
fg                600 drivers/video/fbdev/intelfb/intelfbhw.h 				      u32 fg);
fg                142 drivers/video/fbdev/leo.c 	u32	fg;
fg                226 drivers/video/fbdev/leo.c 	sbus_writel(0, &ss->fg);
fg                256 drivers/video/fbdev/mb862xx/mb862xxfb_accel.c 	u32 x2, y2, vxres, vyres, height, width, fg;
fg                276 drivers/video/fbdev/mb862xx/mb862xxfb_accel.c 		fg = ((u32 *) (info->pseudo_palette))[rect->color];
fg                278 drivers/video/fbdev/mb862xx/mb862xxfb_accel.c 		fg = rect->color;
fg                298 drivers/video/fbdev/mb862xx/mb862xxfb_accel.c 	cmd[3] = fg;
fg                356 drivers/video/fbdev/nvidia/nv_accel.c 	u32 fg, bg, mask = ~(~0 >> (32 - info->var.bits_per_pixel));
fg                364 drivers/video/fbdev/nvidia/nv_accel.c 		fg = image->fg_color | mask;
fg                367 drivers/video/fbdev/nvidia/nv_accel.c 		fg = ((u32 *) info->pseudo_palette)[image->fg_color] | mask;
fg                376 drivers/video/fbdev/nvidia/nv_accel.c 	NVDmaNext(par, fg);
fg                115 drivers/video/fbdev/nvidia/nvidia.c 				       u16 bg, u16 fg, u32 w, u32 h)
fg                130 drivers/video/fbdev/nvidia/nvidia.c 			tmp = (b & (1 << 31)) ? fg << 16 : bg << 16;
fg                132 drivers/video/fbdev/nvidia/nvidia.c 			tmp |= (b & (1 << 31)) ? fg : bg;
fg                135 drivers/video/fbdev/nvidia/nvidia.c 			tmp = (b & 1) ? fg : bg;
fg                137 drivers/video/fbdev/nvidia/nvidia.c 			tmp |= (b & 1) ? fg << 16 : bg << 16;
fg                534 drivers/video/fbdev/nvidia/nvidia.c 	u16 fg, bg;
fg                591 drivers/video/fbdev/nvidia/nvidia.c 			fg = ((info->cmap.red[fg_idx] & 0xf8) << 7) |
fg                597 drivers/video/fbdev/nvidia/nvidia.c 			nvidiafb_load_cursor_image(par, data, bg, fg,
fg                121 drivers/video/fbdev/pmag-aa-fb.c 		u8 fg = cursor->image.fg_color ? 0xf : 0x0;
fg                126 drivers/video/fbdev/pmag-aa-fb.c 		bt455_write_ovly_next(par->bt455, fg);
fg                488 drivers/video/fbdev/riva/fbdev.c 				     u16 bg, u16 fg, u32 w, u32 h)
fg                494 drivers/video/fbdev/riva/fbdev.c 	fg = le16_to_cpu(fg);
fg                505 drivers/video/fbdev/riva/fbdev.c 			tmp = (b & (1 << 31)) ? fg << 16 : bg << 16;
fg                507 drivers/video/fbdev/riva/fbdev.c 			tmp |= (b & (1 << 31)) ? fg : bg;
fg                510 drivers/video/fbdev/riva/fbdev.c 			tmp = (b & 1) ? fg : bg;
fg                512 drivers/video/fbdev/riva/fbdev.c 			tmp |= (b & 1) ? fg << 16 : bg << 16;
fg               1582 drivers/video/fbdev/riva/fbdev.c 	u16 fg, bg;
fg               1641 drivers/video/fbdev/riva/fbdev.c 			fg = ((info->cmap.red[fg_idx] & 0xf8) << 7) |
fg               1648 drivers/video/fbdev/riva/fbdev.c 			rivafb_load_cursor_image(par, data, bg, fg,
fg                527 drivers/video/fbdev/s1d13xxxfb.c 	u32 fg;
fg                564 drivers/video/fbdev/s1d13xxxfb.c 		fg = ((u32 *)info->pseudo_palette)[rect->color];
fg                566 drivers/video/fbdev/s1d13xxxfb.c 		dbg_blit("(solidfill) pseudo_palette[%d] = %d\n", rect->color, fg);
fg                568 drivers/video/fbdev/s1d13xxxfb.c 		fg = rect->color;
fg                573 drivers/video/fbdev/s1d13xxxfb.c 	s1d13xxxfb_writereg(info->par, S1DREG_BBLT_FGC0, (fg & 0xff));
fg                574 drivers/video/fbdev/s1d13xxxfb.c 	s1d13xxxfb_writereg(info->par, S1DREG_BBLT_FGC1, (fg >> 8) & 0xff);
fg                349 drivers/video/fbdev/s3fb.c 	u32 fg = expand_color(image->fg_color);
fg                366 drivers/video/fbdev/s3fb.c 			val = (val & fg) | (~val & bg);
fg                378 drivers/video/fbdev/s3fb.c 	u32 fg = expand_color(rect->color);
fg                389 drivers/video/fbdev/s3fb.c 			fb_writel(fg, dst++);
fg                406 drivers/video/fbdev/s3fb.c 	u32 fg = image->fg_color * 0x11111111;
fg                423 drivers/video/fbdev/s3fb.c 			val = (val & fg) | (~val & bg);
fg                 95 drivers/video/fbdev/savage/savagefb_accel.c 	int fg, bg, size, i, width;
fg                108 drivers/video/fbdev/savage/savagefb_accel.c 		fg = image->fg_color;
fg                111 drivers/video/fbdev/savage/savagefb_accel.c 		fg = ((u32 *)info->pseudo_palette)[image->fg_color];
fg                129 drivers/video/fbdev/savage/savagefb_accel.c 	BCI_SEND(fg);
fg               1044 drivers/video/fbdev/sm501fb.c 	unsigned long fg, bg;
fg               1099 drivers/video/fbdev/sm501fb.c 		fg = ((info->cmap.red[fg_col] & 0xF8) << 8) |
fg               1103 drivers/video/fbdev/sm501fb.c 		dev_dbg(fbi->dev, "fgcol %08lx, bgcol %08lx\n", fg, bg);
fg               1106 drivers/video/fbdev/sm501fb.c 		smc501_writel(fg, base + SM501_OFF_HWC_COLOR_3);
fg                143 drivers/video/fbdev/vt8623fb.c 	u32 fg = expand_color(image->fg_color);
fg                160 drivers/video/fbdev/vt8623fb.c 			val = (val & fg) | (~val & bg);
fg                171 drivers/video/fbdev/vt8623fb.c 	u32 fg = expand_color(rect->color);
fg                182 drivers/video/fbdev/vt8623fb.c 			fb_writel(fg, dst++);
fg                199 drivers/video/fbdev/vt8623fb.c 	u32 fg = image->fg_color * 0x11111111;
fg                216 drivers/video/fbdev/vt8623fb.c 			val = (val & fg) | (~val & bg);
fg                 43 drivers/video/fbdev/wmt_ge_rops.c 	unsigned long fg, pat;
fg                 50 drivers/video/fbdev/wmt_ge_rops.c 		fg = ((u32 *) (p->pseudo_palette))[rect->color];
fg                 52 drivers/video/fbdev/wmt_ge_rops.c 		fg = rect->color;
fg                 54 drivers/video/fbdev/wmt_ge_rops.c 	pat = pixel_to_pat(p->var.bits_per_pixel, fg);
fg                328 fs/ext4/ialloc.c 		struct flex_groups *fg;
fg                330 fs/ext4/ialloc.c 		fg = sbi_array_rcu_deref(sbi, s_flex_groups,
fg                332 fs/ext4/ialloc.c 		atomic_inc(&fg->free_inodes);
fg                334 fs/ext4/ialloc.c 			atomic_dec(&fg->used_dirs);
fg                372 fs/ext4/ialloc.c 		struct flex_groups *fg = sbi_array_rcu_deref(EXT4_SB(sb),
fg                374 fs/ext4/ialloc.c 		stats->free_inodes = atomic_read(&fg->free_inodes);
fg                375 fs/ext4/ialloc.c 		stats->free_clusters = atomic64_read(&fg->free_clusters);
fg                376 fs/ext4/ialloc.c 		stats->used_dirs = atomic_read(&fg->used_dirs);
fg               1455 fs/ext4/resize.c 		struct flex_groups *fg;
fg               1458 fs/ext4/resize.c 		fg = sbi_array_rcu_deref(sbi, s_flex_groups, flex_group);
fg               1460 fs/ext4/resize.c 			     &fg->free_clusters);
fg               1462 fs/ext4/resize.c 			   &fg->free_inodes);
fg               2394 fs/ext4/super.c 	struct flex_groups *fg;
fg               2412 fs/ext4/super.c 		fg = sbi_array_rcu_deref(sbi, s_flex_groups, flex_group);
fg               2413 fs/ext4/super.c 		atomic_add(ext4_free_inodes_count(sb, gdp), &fg->free_inodes);
fg               2415 fs/ext4/super.c 			     &fg->free_clusters);
fg               2416 fs/ext4/super.c 		atomic_add(ext4_used_dirs_count(sb, gdp), &fg->used_dirs);
fg                321 include/linux/fb.h 	__u32 fg;                   /* foreground color */
fg                340 include/linux/fb.h 	__u32 fg;                   /* foreground color */
fg                351 include/linux/fb.h 	__u32 fg;                   /* foreground color */
fg                530 include/linux/mlx5/driver.h 	struct mlx5_flow_group *fg;
fg                184 include/linux/mlx5/fs.h void mlx5_destroy_flow_group(struct mlx5_flow_group *fg);
fg                111 include/sound/hda_codec.h 	void (*set_power_state)(struct hda_codec *codec, hda_nid_t fg,
fg                458 include/sound/hda_codec.h void snd_hda_codec_set_power_to_all(struct hda_codec *codec, hda_nid_t fg,
fg                697 mm/zsmalloc.c  	enum fullness_group fg;
fg                703 mm/zsmalloc.c  		fg = ZS_EMPTY;
fg                705 mm/zsmalloc.c  		fg = ZS_FULL;
fg                707 mm/zsmalloc.c  		fg = ZS_ALMOST_EMPTY;
fg                709 mm/zsmalloc.c  		fg = ZS_ALMOST_FULL;
fg                711 mm/zsmalloc.c  	return fg;
fg                939 mm/zsmalloc.c  	enum fullness_group fg;
fg                942 mm/zsmalloc.c  	get_zspage_mapping(zspage, &class_idx, &fg);
fg                947 mm/zsmalloc.c  	VM_BUG_ON(fg != ZS_EMPTY);
fg               1300 mm/zsmalloc.c  	enum fullness_group fg;
fg               1323 mm/zsmalloc.c  	get_zspage_mapping(zspage, &class_idx, &fg);
fg               1358 mm/zsmalloc.c  	enum fullness_group fg;
fg               1365 mm/zsmalloc.c  	get_zspage_mapping(zspage, &class_idx, &fg);
fg               1749 mm/zsmalloc.c  	enum fullness_group fg[2] = {ZS_ALMOST_EMPTY, ZS_ALMOST_FULL};
fg               1752 mm/zsmalloc.c  		fg[0] = ZS_ALMOST_FULL;
fg               1753 mm/zsmalloc.c  		fg[1] = ZS_ALMOST_EMPTY;
fg               1757 mm/zsmalloc.c  		zspage = list_first_entry_or_null(&class->fullness_list[fg[i]],
fg               1761 mm/zsmalloc.c  			remove_zspage(class, zspage, fg[i]);
fg               1871 mm/zsmalloc.c  	enum fullness_group fg;
fg               1873 mm/zsmalloc.c  	fg = putback_zspage(class, zspage);
fg               1874 mm/zsmalloc.c  	if (fg == ZS_EMPTY)
fg               2105 mm/zsmalloc.c  	enum fullness_group fg;
fg               2113 mm/zsmalloc.c  	get_zspage_mapping(zspage, &class_idx, &fg);
fg               2526 mm/zsmalloc.c  		int fg;
fg               2535 mm/zsmalloc.c  		for (fg = ZS_EMPTY; fg < NR_ZS_FULLNESS; fg++) {
fg               2536 mm/zsmalloc.c  			if (!list_empty(&class->fullness_list[fg])) {
fg               2538 mm/zsmalloc.c  					class->size, fg);
fg                 85 scripts/kconfig/lxdialog/dialog.h 	int fg;		/* foreground */
fg                 53 scripts/kconfig/lxdialog/util.c 	dlg.dialog.fg = (f);       \
fg                171 scripts/kconfig/lxdialog/util.c 	init_pair(pair, color->fg, color->bg);
fg                 44 sound/hda/hdac_device.c 	hda_nid_t fg;
fg                 92 sound/hda/hdac_device.c 	fg = codec->afg ? codec->afg : codec->mfg;
fg                 98 sound/hda/hdac_device.c 	codec->power_caps = snd_hdac_read_parm(codec, fg, AC_PAR_POWER_STATE);
fg                101 sound/hda/hdac_device.c 		snd_hdac_read(codec, fg, AC_VERB_GET_SUBSYSTEM_ID, 0,
fg                916 sound/pci/hda/hda_codec.c 	hda_nid_t fg;
fg                967 sound/pci/hda/hda_codec.c 	fg = codec->core.afg ? codec->core.afg : codec->core.mfg;
fg                968 sound/pci/hda/hda_codec.c 	err = read_widget_caps(codec, fg);
fg               1008 sound/pci/hda/hda_codec.c 	hda_nid_t fg;
fg               1019 sound/pci/hda/hda_codec.c 	fg = codec->core.afg ? codec->core.afg : codec->core.mfg;
fg               1020 sound/pci/hda/hda_codec.c 	err = read_widget_caps(codec, fg);
fg               2728 sound/pci/hda/hda_codec.c void snd_hda_codec_set_power_to_all(struct hda_codec *codec, hda_nid_t fg,
fg               2782 sound/pci/hda/hda_codec.c 	hda_nid_t fg = codec->core.afg ? codec->core.afg : codec->core.mfg;
fg               2799 sound/pci/hda/hda_codec.c 			codec->patch_ops.set_power_state(codec, fg,
fg               2804 sound/pci/hda/hda_codec.c 				state = codec->power_filter(codec, fg, state);
fg               2806 sound/pci/hda/hda_codec.c 				snd_hda_codec_read(codec, fg, flags,
fg               2809 sound/pci/hda/hda_codec.c 			snd_hda_codec_set_power_to_all(codec, fg, power_state);
fg               2811 sound/pci/hda/hda_codec.c 		state = snd_hda_sync_power_state(codec, fg, power_state);
fg                742 sound/pci/hda/hda_proc.c 	hda_nid_t nid, fg;
fg                746 sound/pci/hda/hda_proc.c 	fg = codec->core.afg;
fg                747 sound/pci/hda/hda_proc.c 	if (!fg)
fg                751 sound/pci/hda/hda_proc.c 	print_pcm_caps(buffer, codec, fg);
fg                753 sound/pci/hda/hda_proc.c 	print_amp_caps(buffer, codec, fg, HDA_INPUT);
fg                755 sound/pci/hda/hda_proc.c 	print_amp_caps(buffer, codec, fg, HDA_OUTPUT);
fg                756 sound/pci/hda/hda_proc.c 	snd_iprintf(buffer, "State of AFG node 0x%02x:\n", fg);
fg                757 sound/pci/hda/hda_proc.c 	print_power_state(buffer, codec, fg);
fg                759 sound/pci/hda/hda_proc.c 	nodes = snd_hda_get_sub_nodes(codec, fg, &nid);
fg                766 sound/pci/hda/hda_proc.c 	print_gpio(buffer, codec, fg);
fg                768 sound/pci/hda/hda_proc.c 		codec->proc_widget_hook(buffer, codec, fg);
fg               2642 sound/pci/hda/patch_hdmi.c static void haswell_set_power_state(struct hda_codec *codec, hda_nid_t fg,
fg               2650 sound/pci/hda/patch_hdmi.c 	snd_hda_codec_read(codec, fg, 0, AC_VERB_SET_POWER_STATE, power_state);
fg               2651 sound/pci/hda/patch_hdmi.c 	snd_hda_codec_set_power_to_all(codec, fg, power_state);
fg                292 sound/pci/hda/patch_sigmatel.c 	hda_nid_t fg = codec->core.afg;
fg                296 sound/pci/hda/patch_sigmatel.c 	gpiostate = snd_hda_codec_read(codec, fg, 0,
fg                300 sound/pci/hda/patch_sigmatel.c 	gpiomask = snd_hda_codec_read(codec, fg, 0,
fg                304 sound/pci/hda/patch_sigmatel.c 	gpiodir = snd_hda_codec_read(codec, fg, 0,
fg                309 sound/pci/hda/patch_sigmatel.c 	snd_hda_codec_write(codec, fg, 0, 0x7e7, 0);
fg                311 sound/pci/hda/patch_sigmatel.c 	snd_hda_codec_write(codec, fg, 0,
fg                313 sound/pci/hda/patch_sigmatel.c 	snd_hda_codec_read(codec, fg, 0,
fg                318 sound/pci/hda/patch_sigmatel.c 	snd_hda_codec_read(codec, fg, 0,
fg                522 tools/perf/ui/browser.c 	const char *name, *fg, *bg;
fg                528 tools/perf/ui/browser.c 		.fg	  = "red",
fg                534 tools/perf/ui/browser.c 		.fg	  = "green",
fg                540 tools/perf/ui/browser.c 		.fg	  = "default",
fg                546 tools/perf/ui/browser.c 		.fg	  = "black",
fg                552 tools/perf/ui/browser.c 		.fg	  = "blue",
fg                558 tools/perf/ui/browser.c 		.fg	  = "magenta",
fg                564 tools/perf/ui/browser.c 		.fg	  = "white",
fg                576 tools/perf/ui/browser.c 	char *fg = NULL, *bg;
fg                589 tools/perf/ui/browser.c 		fg = strdup(value);
fg                590 tools/perf/ui/browser.c 		if (fg == NULL)
fg                593 tools/perf/ui/browser.c 		bg = strchr(fg, ',');
fg                600 tools/perf/ui/browser.c 		ui_browser__colorsets[i].fg = fg;
fg                604 tools/perf/ui/browser.c 	free(fg);
fg                796 tools/perf/ui/browser.c 		sltt_set_color(c->colorset, c->name, c->fg, c->bg);
fg                 27 tools/perf/ui/libslang.h #define sltt_set_color(obj, name, fg, bg) \
fg                 28 tools/perf/ui/libslang.h 	SLtt_set_color(obj,(char *)(name), (char *)(fg), (char *)(bg))