Home
last modified time | relevance | path

Searched refs:gintc (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/arch/loongarch/kvm/
Dvcpu.c538 unsigned long gintc; in _kvm_getcsr() local
557 gintc = kvm_read_sw_gcsr(csr, LOONGARCH_CSR_GINTC) & 0xff; in _kvm_getcsr()
558 *val = kvm_read_sw_gcsr(csr, LOONGARCH_CSR_ESTAT) | (gintc << 2); in _kvm_getcsr()
573 int ret = 0, gintc; in _kvm_setcsr() local
584 gintc = (val >> 2) & 0xff; in _kvm_setcsr()
585 kvm_set_sw_gcsr(csr, LOONGARCH_CSR_GINTC, gintc); in _kvm_setcsr()
587 gintc = val & ~(0xffUL << 2); in _kvm_setcsr()
588 kvm_set_sw_gcsr(csr, LOONGARCH_CSR_ESTAT, gintc); in _kvm_setcsr()
/linux-6.12.1/arch/loongarch/include/asm/
Dkvm_csr.h170 __BUILD_CSR_OP(gintc)