Home
last modified time | relevance | path

Searched refs:orig_val (Results 1 – 15 of 15) 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/drivers/cxl/
H A Dpci.c542 u32 orig_val, val, mask; in cxl_pci_ras_unmask() local
561 orig_val = readl(addr); in cxl_pci_ras_unmask()
565 val = orig_val & ~mask; in cxl_pci_ras_unmask()
569 orig_val, val); in cxl_pci_ras_unmask()
574 orig_val = readl(addr); in cxl_pci_ras_unmask()
575 val = orig_val & ~CXL_RAS_CORRECTABLE_MASK_MASK; in cxl_pci_ras_unmask()
578 orig_val, val); in cxl_pci_ras_unmask()
/linux/drivers/infiniband/sw/rxe/
H A Drxe_odp.c265 u64 swap_add, u64 *orig_val) in rxe_odp_do_atomic_op() argument
298 value = *orig_val = va[page_offset >> 3]; in rxe_odp_do_atomic_op()
315 u64 compare, u64 swap_add, u64 *orig_val) in rxe_odp_atomic_op() argument
326 orig_val); in rxe_odp_atomic_op()
H A Drxe_mr.c486 u64 compare, u64 swap_add, u64 *orig_val) in rxe_mr_do_atomic_op() argument
525 value = *orig_val = va[page_offset >> 3]; in rxe_mr_do_atomic_op()
H A Drxe_resp.c709 &res->atomic.orig_val); in atomic_reply()
714 &res->atomic.orig_val); in atomic_reply()
816 atmack_set_orig(ack, qp->resp.res->atomic.orig_val); in prepare_ack_packet()
/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.c1505 u64 orig_val = val; in limit_nv_id_reg() local
1582 if (has_tgran_2(orig_val, 4)) in limit_nv_id_reg()
1586 if (has_tgran_2(orig_val, 16)) in limit_nv_id_reg()
1590 if (has_tgran_2(orig_val, 64)) in limit_nv_id_reg()
/linux/arch/x86/kvm/
H A Dkvm_emulate.h256 unsigned long orig_val; member
H A Demulate.c1035 op->orig_val = op->val; in fetch_register_operand()
1769 &op->orig_val, in writeback()
2265 ctxt->dst.orig_val = ctxt->dst.val; in em_cmpxchg()
2267 ctxt->src.orig_val = ctxt->src.val; in em_cmpxchg()
2268 ctxt->src.val = ctxt->dst.orig_val; in em_cmpxchg()
2274 ctxt->dst.val = ctxt->src.orig_val; in em_cmpxchg()
2279 ctxt->src.val = ctxt->dst.orig_val; in em_cmpxchg()
2281 ctxt->dst.val = ctxt->dst.orig_val; in em_cmpxchg()
3161 ctxt->dst.val = ctxt->src.orig_val; in em_xchg()
4623 op->orig_val = op->val; in decode_operand()
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu.h1505 #define REG_SET_FIELD(orig_val, reg, field, field_val) \ argument
1506 (((orig_val) & ~REG_FIELD_MASK(reg, field)) | \
/linux/drivers/net/ethernet/airoha/
H A Dairoha_eth.c250 u32 orig_val = airoha_fe_get_pse_queue_rsv_pages(eth, port, queue); in airoha_fe_set_pse_oq_rsv() local
257 all_rsv += (val - orig_val); in airoha_fe_set_pse_oq_rsv()