Searched refs:csr_mask (Results 1 – 1 of 1) sorted by relevance
97 unsigned long csr_mask, unsigned long val) in kvm_emu_xchg_csr() argument104 val = (old & ~csr_mask) | (val & csr_mask); in kvm_emu_xchg_csr()106 old = old & csr_mask; in kvm_emu_xchg_csr()116 unsigned long csr_mask, val = 0; in kvm_handle_csr() local149 csr_mask = vcpu->arch.gprs[rj]; in kvm_handle_csr()150 val = kvm_emu_xchg_csr(vcpu, csrid, csr_mask, val); in kvm_handle_csr()