Searched refs:loongarch_csrs (Results 1 – 5 of 5) sorted by relevance
124 struct loongarch_csrs { struct188 struct loongarch_csrs *csr;235 static inline unsigned long readl_sw_gcsr(struct loongarch_csrs *csr, int reg) in readl_sw_gcsr()240 static inline void writel_sw_gcsr(struct loongarch_csrs *csr, int reg, unsigned long val) in writel_sw_gcsr()
189 static __always_inline unsigned long kvm_read_sw_gcsr(struct loongarch_csrs *csr, int gid) in kvm_read_sw_gcsr()194 static __always_inline void kvm_write_sw_gcsr(struct loongarch_csrs *csr, int gid, unsigned long va… in kvm_write_sw_gcsr()199 static __always_inline void kvm_set_sw_gcsr(struct loongarch_csrs *csr, in kvm_set_sw_gcsr()205 static __always_inline void kvm_change_sw_gcsr(struct loongarch_csrs *csr, in kvm_change_sw_gcsr()
57 struct loongarch_csrs *csr = vcpu->arch.csr; in kvm_restore_timer()142 struct loongarch_csrs *csr = vcpu->arch.csr; in _kvm_save_timer()178 struct loongarch_csrs *csr = vcpu->arch.csr; in kvm_save_timer()
68 struct loongarch_csrs *csr = vcpu->arch.csr; in kvm_save_guest_pmu()82 struct loongarch_csrs *csr = vcpu->arch.csr; in kvm_restore_guest_pmu()116 struct loongarch_csrs *csr = vcpu->arch.csr; in kvm_lose_pmu()454 struct loongarch_csrs *csr = vcpu->arch.csr; in kvm_set_cpuid()505 struct loongarch_csrs *csr = vcpu->arch.csr; in kvm_drop_cpuid()539 struct loongarch_csrs *csr = vcpu->arch.csr; in _kvm_getcsr()574 struct loongarch_csrs *csr = vcpu->arch.csr; in _kvm_setcsr()1455 struct loongarch_csrs *csr; in kvm_arch_vcpu_create()1465 vcpu->arch.csr = kzalloc(sizeof(struct loongarch_csrs), GFP_KERNEL); in kvm_arch_vcpu_create()1527 struct loongarch_csrs *csr = vcpu->arch.csr; in _kvm_vcpu_load()[all …]
68 struct loongarch_csrs *csr = vcpu->arch.csr; in kvm_emu_read_csr()85 struct loongarch_csrs *csr = vcpu->arch.csr; in kvm_emu_write_csr()100 struct loongarch_csrs *csr = vcpu->arch.csr; in kvm_emu_xchg_csr()