Home
last modified time | relevance | path

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

/linux/arch/loongarch/include/asm/
H A Dkvm_host.h124 struct loongarch_csrs { struct
188 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()
H A Dkvm_csr.h189 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()
/linux/arch/loongarch/kvm/
H A Dtimer.c57 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()
H A Dvcpu.c68 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 …]
H A Dexit.c68 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()