Home
last modified time | relevance | path

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

/linux/arch/loongarch/kvm/
H A Dvcpu.c77 kvm_read_clear_hw_gcsr(csr, LOONGARCH_CSR_PERFCTRL3); in kvm_save_guest_pmu()
91 kvm_restore_hw_gcsr(csr, LOONGARCH_CSR_PERFCTRL3); in kvm_restore_guest_pmu()
134 val |= kvm_read_sw_gcsr(csr, LOONGARCH_CSR_PERFCTRL3); in kvm_lose_pmu()
605 kvm_read_sw_gcsr(csr, LOONGARCH_CSR_PERFCTRL3); in _kvm_setcsr()
H A Dmain.c191 set_gcsr_sw_flag(LOONGARCH_CSR_PERFCTRL3); in kvm_init_gcsr_flag()
/linux/arch/loongarch/include/asm/
H A Dloongarch.h909 #define LOONGARCH_CSR_PERFCTRL3 0x206 /* 32 perf event 3 config */ macro
1223 #define read_csr_perfctrl3() csr_read64(LOONGARCH_CSR_PERFCTRL3)
1231 #define write_csr_perfctrl3(val) csr_write64(val, LOONGARCH_CSR_PERFCTRL3)