Home
last modified time | relevance | path

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

/linux/arch/loongarch/kvm/
H A Dexit.c97 unsigned long csr_mask, unsigned long val) in kvm_emu_xchg_csr() argument
104 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() local
149 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()