Lines Matching refs:hgatp
83 unsigned long pos, hgatp; in kvm_riscv_local_hfence_vvma_asid_gva() local
90 hgatp = csr_swap(CSR_HGATP, vmid << HGATP_VMID_SHIFT); in kvm_riscv_local_hfence_vvma_asid_gva()
104 csr_write(CSR_HGATP, hgatp); in kvm_riscv_local_hfence_vvma_asid_gva()
110 unsigned long hgatp; in kvm_riscv_local_hfence_vvma_asid_all() local
112 hgatp = csr_swap(CSR_HGATP, vmid << HGATP_VMID_SHIFT); in kvm_riscv_local_hfence_vvma_asid_all()
116 csr_write(CSR_HGATP, hgatp); in kvm_riscv_local_hfence_vvma_asid_all()
123 unsigned long pos, hgatp; in kvm_riscv_local_hfence_vvma_gva() local
130 hgatp = csr_swap(CSR_HGATP, vmid << HGATP_VMID_SHIFT); in kvm_riscv_local_hfence_vvma_gva()
144 csr_write(CSR_HGATP, hgatp); in kvm_riscv_local_hfence_vvma_gva()
149 unsigned long hgatp; in kvm_riscv_local_hfence_vvma_all() local
151 hgatp = csr_swap(CSR_HGATP, vmid << HGATP_VMID_SHIFT); in kvm_riscv_local_hfence_vvma_all()
155 csr_write(CSR_HGATP, hgatp); in kvm_riscv_local_hfence_vvma_all()