Home
last modified time | relevance | path

Searched refs:LOONGARCH_CSR_GINTC (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/arch/loongarch/include/asm/
Dkvm_csr.h160 #define read_csr_gintc() csr_read64(LOONGARCH_CSR_GINTC)
161 #define write_csr_gintc(val) csr_write64(val, LOONGARCH_CSR_GINTC)
Dloongarch.h545 #define LOONGARCH_CSR_GINTC 0x52 /* Guest interrupt control */ macro
/linux-6.12.1/arch/loongarch/kvm/
Dvcpu.c557 gintc = kvm_read_sw_gcsr(csr, LOONGARCH_CSR_GINTC) & 0xff; in _kvm_getcsr()
585 kvm_set_sw_gcsr(csr, LOONGARCH_CSR_GINTC, gintc); in _kvm_setcsr()
1493 csr->csrs[LOONGARCH_CSR_GINTC] = 0; in kvm_arch_vcpu_create()
1607 write_csr_gintc(csr->csrs[LOONGARCH_CSR_GINTC]); in _kvm_vcpu_load()
1700 csr->csrs[LOONGARCH_CSR_GINTC] = read_csr_gintc(); in _kvm_vcpu_put()