Home
last modified time | relevance | path

Searched refs:orig_val (Results 1 – 13 of 13) sorted by relevance

/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_diag.c19 u32 pat, val, orig_val; in i40e_diag_reg_pattern_test() local
22 orig_val = rd32(hw, reg); in i40e_diag_reg_pattern_test()
35 wr32(hw, reg, orig_val); in i40e_diag_reg_pattern_test()
37 if (val != orig_val) { in i40e_diag_reg_pattern_test()
40 __func__, reg, orig_val, val); in i40e_diag_reg_pattern_test()
/linux/drivers/gpu/drm/amd/include/
H A Dcgs_common.h123 #define CGS_REG_SET_FIELD(orig_val, reg, field, field_val) \ argument
124 (((orig_val) & ~CGS_REG_FIELD_MASK(reg, field)) | \
/linux/tools/testing/selftests/alsa/
H A Dmixer-test.c480 static void show_values(struct ctl_data *ctl, snd_ctl_elem_value_t *orig_val, in show_values() argument
489 orig_int = snd_ctl_elem_value_get_boolean(orig_val, i); in show_values()
494 orig_int = snd_ctl_elem_value_get_integer(orig_val, i); in show_values()
499 orig_int = snd_ctl_elem_value_get_integer64(orig_val, in show_values()
506 orig_int = snd_ctl_elem_value_get_enumerated(orig_val, in show_values()
/linux/tools/lib/bpf/
H A Drelo_core.h49 __u64 orig_val; member
/linux/drivers/media/radio/
H A Dtea575x.c309 u32 orig_val = tea->val; in vidioc_s_tuner() local
317 if (tea->band != BAND_AM && tea->val != orig_val) in vidioc_s_tuner()
/linux/drivers/input/misc/
H A Diqs626a.c987 unsigned int orig_val = val--; in iqs626_parse_channel() local
1010 fwnode_get_name(ch_node), orig_val); in iqs626_parse_channel()
1141 unsigned int orig_val = val--; in iqs626_parse_channel() local
1146 fwnode_get_name(ch_node), orig_val); in iqs626_parse_channel()
/linux/arch/arm64/kvm/
H A Dnested.c1525 u64 orig_val = val; in limit_nv_id_reg() local
1602 if (has_tgran_2(orig_val, 4)) in limit_nv_id_reg()
1606 if (has_tgran_2(orig_val, 16)) in limit_nv_id_reg()
1610 if (has_tgran_2(orig_val, 64)) in limit_nv_id_reg()
/linux/drivers/infiniband/sw/rxe/
H A Drxe_mr.c565 u64 compare, u64 swap_add, u64 *orig_val) in rxe_mr_do_atomic_op() argument
608 value = *orig_val = va[page_offset >> 3]; in rxe_mr_do_atomic_op()
/linux/drivers/base/regmap/
H A Dregmap-kunit.c1168 unsigned int orig_val; in cache_sync_default_after_cache_only() local
1179 KUNIT_EXPECT_EQ(test, 0, regmap_read(map, param->from_reg + 2, &orig_val)); in cache_sync_default_after_cache_only()
1183 KUNIT_EXPECT_EQ(test, 0, regmap_write(map, param->from_reg + 2, orig_val + 1)); in cache_sync_default_after_cache_only()
1193 KUNIT_EXPECT_EQ(test, data->vals[param->from_reg + 2], orig_val + 1); in cache_sync_default_after_cache_only()
1197 KUNIT_EXPECT_EQ(test, 0, regmap_write(map, param->from_reg + 2, orig_val)); in cache_sync_default_after_cache_only()
1206 KUNIT_EXPECT_EQ(test, data->vals[param->from_reg + 2], orig_val); in cache_sync_default_after_cache_only()
/linux/arch/x86/kvm/
H A Demulate.c1035 op->orig_val = op->val; in fetch_register_operand()
1782 &op->orig_val, in writeback()
2278 ctxt->dst.orig_val = ctxt->dst.val; in em_cmpxchg()
2280 ctxt->src.orig_val = ctxt->src.val; in em_cmpxchg()
2281 ctxt->src.val = ctxt->dst.orig_val; in em_cmpxchg()
2287 ctxt->dst.val = ctxt->src.orig_val; in em_cmpxchg()
2292 ctxt->src.val = ctxt->dst.orig_val; in em_cmpxchg()
2294 ctxt->dst.val = ctxt->dst.orig_val; in em_cmpxchg()
3174 ctxt->dst.val = ctxt->src.orig_val; in em_xchg()
4635 op->orig_val = op->val; in decode_operand()
/linux/drivers/net/ethernet/intel/ice/
H A Dice_ethtool.c975 u32 val, orig_val; in ice_reg_pattern_test() local
978 orig_val = rd32(hw, reg); in ice_reg_pattern_test()
991 wr32(hw, reg, orig_val); in ice_reg_pattern_test()
993 if (val != orig_val) { in ice_reg_pattern_test()
995 , __func__, reg, orig_val, val); in ice_reg_pattern_test()
/linux/arch/x86/kvm/vmx/
H A Dvmx.c5591 unsigned long orig_val = val; in handle_set_cr0() local
5606 vmcs_writel(CR0_READ_SHADOW, orig_val); in handle_set_cr0()
5617 unsigned long orig_val = val; in handle_set_cr4() local
5624 vmcs_writel(CR4_READ_SHADOW, orig_val); in handle_set_cr4()
/linux/drivers/net/ethernet/airoha/
H A Dairoha_eth.c238 u32 orig_val = airoha_fe_get_pse_queue_rsv_pages(eth, port, queue); in airoha_fe_set_pse_oq_rsv() local
245 all_rsv += (val - orig_val); in airoha_fe_set_pse_oq_rsv()