Searched refs:csr_swap (Results 1 – 9 of 9) sorted by relevance
/linux-6.12.1/arch/riscv/kvm/ |
D | tlb.c | 90 hgatp = csr_swap(CSR_HGATP, vmid << HGATP_VMID_SHIFT); in kvm_riscv_local_hfence_vvma_asid_gva() 112 hgatp = csr_swap(CSR_HGATP, vmid << HGATP_VMID_SHIFT); in kvm_riscv_local_hfence_vvma_asid_all() 130 hgatp = csr_swap(CSR_HGATP, vmid << HGATP_VMID_SHIFT); in kvm_riscv_local_hfence_vvma_gva() 151 hgatp = csr_swap(CSR_HGATP, vmid << HGATP_VMID_SHIFT); in kvm_riscv_local_hfence_vvma_all()
|
D | vcpu_exit.c | 70 old_hstatus = csr_swap(CSR_HSTATUS, vcpu->arch.guest_context.hstatus); in kvm_riscv_vcpu_unpriv_read() 71 old_stvec = csr_swap(CSR_STVEC, (ulong)&__kvm_riscv_unpriv_trap); in kvm_riscv_vcpu_unpriv_read()
|
D | vcpu.c | 694 vcpu->arch.host_senvcfg = csr_swap(CSR_SENVCFG, csr->senvcfg); in kvm_riscv_vcpu_swap_in_guest_state() 697 vcpu->arch.host_sstateen0 = csr_swap(CSR_SSTATEEN0, in kvm_riscv_vcpu_swap_in_guest_state() 707 csr->senvcfg = csr_swap(CSR_SENVCFG, vcpu->arch.host_senvcfg); in kvm_riscv_vcpu_swap_in_host_state() 710 smcsr->sstateen0 = csr_swap(CSR_SSTATEEN0, in kvm_riscv_vcpu_swap_in_host_state()
|
D | aia_imsic.c | 105 __r = csr_swap(CSR_VSIREG, __v); \
|
/linux-6.12.1/arch/riscv/include/asm/ |
D | archrandom.h | 27 unsigned long csr_seed = csr_swap(CSR_SEED, 0); in csr_seed_long()
|
D | csr.h | 486 #define csr_swap(csr, val) \ macro
|
/linux-6.12.1/drivers/irqchip/ |
D | irq-riscv-imsic-early.c | 82 while ((local_id = csr_swap(CSR_TOPEI, 0))) { in imsic_handle_irq()
|
/linux-6.12.1/tools/arch/riscv/include/asm/ |
D | csr.h | 479 #define csr_swap(csr, val) \ macro
|
/linux-6.12.1/arch/riscv/mm/ |
D | init.c | 843 hw_satp = csr_swap(CSR_SATP, 0ULL); in set_satp_mode()
|