Home
last modified time | relevance | path

Searched refs:loongarch_csrs (Results 1 - 5 of 5) sorted by relevance

/kernel/linux/linux-5.10/arch/loongarch/kvm/
H A Dkvmcsr.h25 static inline void kvm_save_hw_gcsr(struct loongarch_csrs *csr, int gid) in kvm_save_hw_gcsr()
30 static inline void kvm_restore_hw_gcsr(struct loongarch_csrs *csr, int gid) in kvm_restore_hw_gcsr()
35 static inline unsigned long kvm_read_sw_gcsr(struct loongarch_csrs *csr, int gid) in kvm_read_sw_gcsr()
40 static inline void kvm_write_sw_gcsr(struct loongarch_csrs *csr, int gid, unsigned long val) in kvm_write_sw_gcsr()
45 static inline void kvm_set_sw_gcsr(struct loongarch_csrs *csr, int gid, unsigned long val) in kvm_set_sw_gcsr()
50 static inline void kvm_change_sw_gcsr(struct loongarch_csrs *csr, int gid, unsigned mask, in kvm_change_sw_gcsr()
H A Dtimer.c88 struct loongarch_csrs *csr = vcpu->arch.csr; in kvm_init_timer()
132 struct loongarch_csrs *csr = vcpu->arch.csr; in kvm_restore_timer()
240 struct loongarch_csrs *csr = vcpu->arch.csr; in kvm_save_timer()
H A Dcsr.c25 struct loongarch_csrs *csr = vcpu->arch.csr; in _kvm_emu_read_csr()
65 struct loongarch_csrs *csr = vcpu->arch.csr; in _kvm_emu_write_csr()
104 struct loongarch_csrs *csr = vcpu->arch.csr; in _kvm_emu_xchg_csr()
128 struct loongarch_csrs *csr = vcpu->arch.csr; in _kvm_getcsr()
208 struct loongarch_csrs *csr = vcpu->arch.csr; in _kvm_setcsr()
H A Dloongarch.c624 struct loongarch_csrs *csr = vcpu->arch.csr; in kvm_arch_vcpu_create()
640 vcpu->arch.csr = kzalloc(sizeof(struct loongarch_csrs), GFP_KERNEL); in kvm_arch_vcpu_create()
831 struct loongarch_csrs *csr = vcpu->arch.csr; in _kvm_vcpu_load()
954 struct loongarch_csrs *csr = vcpu->arch.csr; in _kvm_vcpu_put()
1034 struct loongarch_csrs *csr = vcpu->arch.csr; in _kvm_get_one_reg()
1084 struct loongarch_csrs *csr = vcpu->arch.csr; in _kvm_set_one_reg()
1894 struct loongarch_csrs *csr; in kvm_arch_vcpu_dump_regs()
2132 struct loongarch_csrs *csr = vcpu->arch.csr; in kvm_lose_hw_perf()
2165 struct loongarch_csrs *csr = vcpu->arch.csr; in kvm_restore_hw_perf()
/kernel/linux/linux-5.10/arch/loongarch/include/asm/
H A Dkvm_host.h145 struct loongarch_csrs { struct
212 struct loongarch_csrs *csr;
271 static inline unsigned long readl_sw_gcsr(struct loongarch_csrs *csr, int reg) in readl_sw_gcsr()
276 static inline void writel_sw_gcsr(struct loongarch_csrs *csr, int reg, \ in writel_sw_gcsr()

Completed in 6 milliseconds