Lines Matching refs:csr_write
567 csr_write(CSR_VSSTATUS, csr->vsstatus); in kvm_arch_vcpu_load()
568 csr_write(CSR_VSIE, csr->vsie); in kvm_arch_vcpu_load()
569 csr_write(CSR_VSTVEC, csr->vstvec); in kvm_arch_vcpu_load()
570 csr_write(CSR_VSSCRATCH, csr->vsscratch); in kvm_arch_vcpu_load()
571 csr_write(CSR_VSEPC, csr->vsepc); in kvm_arch_vcpu_load()
572 csr_write(CSR_VSCAUSE, csr->vscause); in kvm_arch_vcpu_load()
573 csr_write(CSR_VSTVAL, csr->vstval); in kvm_arch_vcpu_load()
574 csr_write(CSR_HEDELEG, cfg->hedeleg); in kvm_arch_vcpu_load()
575 csr_write(CSR_HVIP, csr->hvip); in kvm_arch_vcpu_load()
576 csr_write(CSR_VSATP, csr->vsatp); in kvm_arch_vcpu_load()
577 csr_write(CSR_HENVCFG, cfg->henvcfg); in kvm_arch_vcpu_load()
579 csr_write(CSR_HENVCFGH, cfg->henvcfg >> 32); in kvm_arch_vcpu_load()
581 csr_write(CSR_HSTATEEN0, cfg->hstateen0); in kvm_arch_vcpu_load()
583 csr_write(CSR_HSTATEEN0H, cfg->hstateen0 >> 32); in kvm_arch_vcpu_load()
684 csr_write(CSR_HVIP, csr->hvip); in kvm_riscv_update_hvip()