Home
last modified time | relevance | path

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

/linux-5.19.10/arch/riscv/kvm/
Dtlb.c134 hgatp = csr_swap(CSR_HGATP, vmid << HGATP_VMID_SHIFT); in kvm_riscv_local_hfence_vvma_asid_gva()
158 hgatp = csr_swap(CSR_HGATP, vmid << HGATP_VMID_SHIFT); in kvm_riscv_local_hfence_vvma_asid_all()
184 hgatp = csr_swap(CSR_HGATP, vmid << HGATP_VMID_SHIFT); in kvm_riscv_local_hfence_vvma_gva()
205 hgatp = csr_swap(CSR_HGATP, vmid << HGATP_VMID_SHIFT); in kvm_riscv_local_hfence_vvma_all()
Dvcpu_exit.c489 old_hstatus = csr_swap(CSR_HSTATUS, vcpu->arch.guest_context.hstatus); in kvm_riscv_vcpu_unpriv_read()
490 old_stvec = csr_swap(CSR_STVEC, (ulong)&__kvm_riscv_unpriv_trap); in kvm_riscv_vcpu_unpriv_read()
/linux-5.19.10/arch/riscv/include/asm/
Dcsr.h325 #define csr_swap(csr, val) \ macro
/linux-5.19.10/arch/riscv/mm/
Dinit.c765 hw_satp = csr_swap(CSR_SATP, 0ULL); in set_satp_mode()