| /linux/drivers/net/ethernet/intel/i40e/ |
| H A D | i40e_diag.c | 19 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/tools/lib/bpf/ |
| H A D | relo_core.c | 905 res->orig_val = 0; in bpf_core_calc_relo() 915 &res->orig_val, &res->orig_sz, in bpf_core_calc_relo() 960 err = bpf_core_calc_type_relo(relo, local_spec, &res->orig_val, &res->validate); in bpf_core_calc_relo() 963 err = bpf_core_calc_enumval_relo(relo, local_spec, &res->orig_val); in bpf_core_calc_relo() 1052 __u64 orig_val, new_val; in bpf_core_patch_insn() local 1057 orig_val = res->orig_val; in bpf_core_patch_insn() 1067 if (res->validate && insn->imm != orig_val) { in bpf_core_patch_insn() 1070 insn_idx, insn->imm, (unsigned long long)orig_val, in bpf_core_patch_insn() 1074 orig_val = insn->imm; in bpf_core_patch_insn() 1078 (unsigned long long)orig_val, (unsigned long long)new_val); in bpf_core_patch_insn() [all …]
|
| H A D | relo_core.h | 49 __u64 orig_val; member
|
| /linux/drivers/gpu/drm/amd/include/ |
| H A D | cgs_common.h | 123 #define CGS_REG_SET_FIELD(orig_val, reg, field, field_val) \ argument 124 (((orig_val) & ~CGS_REG_FIELD_MASK(reg, field)) | \
|
| /linux/drivers/infiniband/sw/rxe/ |
| H A D | rxe_odp.c | 270 u64 swap_add, u64 *orig_val) in rxe_odp_do_atomic_op() 303 value = *orig_val = va[page_offset >> 3]; in rxe_odp_do_atomic_op() 320 u64 compare, u64 swap_add, u64 *orig_val) in rxe_odp_atomic_op() 331 orig_val); 265 rxe_odp_do_atomic_op(struct rxe_mr * mr,u64 iova,int opcode,u64 compare,u64 swap_add,u64 * orig_val) rxe_odp_do_atomic_op() argument 315 rxe_odp_atomic_op(struct rxe_mr * mr,u64 iova,int opcode,u64 compare,u64 swap_add,u64 * orig_val) rxe_odp_atomic_op() argument
|
| H A D | rxe_mr.c | 566 u64 compare, u64 swap_add, u64 *orig_val) in rxe_mr_do_atomic_op() argument 609 value = *orig_val = va[page_offset >> 3]; in rxe_mr_do_atomic_op()
|
| /linux/tools/testing/selftests/drivers/net/ |
| H A D | ring_reconfig.py | |
| /linux/tools/testing/selftests/alsa/ |
| H A D | mixer-test.c | 481 static void show_values(struct ctl_data *ctl, snd_ctl_elem_value_t *orig_val, in show_values() argument 490 orig_int = snd_ctl_elem_value_get_boolean(orig_val, i); in show_values() 495 orig_int = snd_ctl_elem_value_get_integer(orig_val, i); in show_values() 500 orig_int = snd_ctl_elem_value_get_integer64(orig_val, in show_values() 507 orig_int = snd_ctl_elem_value_get_enumerated(orig_val, in show_values()
|
| /linux/drivers/media/radio/ |
| H A D | tea575x.c | 309 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 D | iqs626a.c | 986 unsigned int orig_val = val--; in iqs626_parse_channel() local 1009 fwnode_get_name(ch_node), orig_val); in iqs626_parse_channel() 1140 unsigned int orig_val = val--; in iqs626_parse_channel() local 1145 fwnode_get_name(ch_node), orig_val); in iqs626_parse_channel()
|
| /linux/arch/arm64/kvm/ |
| H A D | nested.c | 1822 u64 orig_val = val; in limit_nv_id_reg() 1899 if (_has_tgran_2(orig_val, 4)) in kvm_init_nv_sysregs() 1903 if (_has_tgran_2(orig_val, 16)) in kvm_init_nv_sysregs() 1907 if (_has_tgran_2(orig_val, 64)) in kvm_init_nv_sysregs() 1687 u64 orig_val = val; limit_nv_id_reg() local
|
| /linux/drivers/base/regmap/ |
| H A D | regmap-kunit.c | 1173 unsigned int orig_val; in cache_sync_default_after_cache_only() 1184 KUNIT_EXPECT_EQ(test, 0, regmap_read(map, param->from_reg + 2, &orig_val)); in cache_sync_default_after_cache_only() 1188 KUNIT_EXPECT_EQ(test, 0, regmap_write(map, param->from_reg + 2, orig_val + 1)); in cache_sync_default_after_cache_only() 1198 KUNIT_EXPECT_EQ(test, data->vals[param->from_reg + 2], orig_val + 1); in cache_sync_default_after_cache_only() 1202 KUNIT_EXPECT_EQ(test, 0, regmap_write(map, param->from_reg + 2, orig_val)); in cache_sync_default_after_cache_only() 1211 KUNIT_EXPECT_EQ(test, data->vals[param->from_reg + 2], orig_val); in cache_sync_readonly() 1168 unsigned int orig_val; cache_sync_default_after_cache_only() local
|
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu.h | 1113 #define REG_SET_FIELD(orig_val, reg, field, field_val) \ 1114 (((orig_val) & ~REG_FIELD_MASK(reg, field)) | \ 1112 REG_SET_FIELD(orig_val,reg,field,field_val) global() argument
|
| /linux/drivers/net/ethernet/intel/ice/ |
| H A D | ice_ethtool.c | 967 u32 val, orig_val; in ice_reg_pattern_test() local 970 orig_val = rd32(hw, reg); in ice_reg_pattern_test() 983 wr32(hw, reg, orig_val); in ice_reg_pattern_test() 985 if (val != orig_val) { in ice_reg_pattern_test() 987 , __func__, reg, orig_val, val); in ice_reg_pattern_test()
|
| /linux/arch/x86/kvm/vmx/ |
| H A D | vmx.c | 5632 unsigned long orig_val = val; in handle_set_cr0() 5647 vmcs_writel(CR0_READ_SHADOW, orig_val); in handle_set_cr0() 5658 unsigned long orig_val = val; in handle_set_cr4() 5665 vmcs_writel(CR4_READ_SHADOW, orig_val); 5627 unsigned long orig_val = val; handle_set_cr0() local 5653 unsigned long orig_val = val; handle_set_cr4() local
|
| /linux/drivers/net/ethernet/airoha/ |
| H A D | airoha_eth.c | 296 u32 orig_val = airoha_fe_get_pse_queue_rsv_pages(eth, port, queue); in airoha_fe_set_pse_oq_rsv() 303 all_rsv += (val - orig_val); in airoha_fe_set_pse_oq_rsv() 294 u32 orig_val = airoha_fe_get_pse_queue_rsv_pages(eth, port, queue); airoha_fe_set_pse_oq_rsv() local
|