Home
last modified time | relevance | path

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

/linux/arch/loongarch/kvm/
H A Dvcpu.c75 kvm_read_clear_hw_gcsr(csr, LOONGARCH_CSR_PERFCTRL1); in kvm_save_guest_pmu()
89 kvm_restore_hw_gcsr(csr, LOONGARCH_CSR_PERFCTRL1); in kvm_restore_guest_pmu()
132 val |= kvm_read_sw_gcsr(csr, LOONGARCH_CSR_PERFCTRL1); in kvm_lose_pmu()
603 kvm_read_sw_gcsr(csr, LOONGARCH_CSR_PERFCTRL1) | in _kvm_setcsr()
H A Dmain.c187 set_gcsr_sw_flag(LOONGARCH_CSR_PERFCTRL1); in kvm_init_gcsr_flag()
/linux/arch/loongarch/include/asm/
H A Dloongarch.h905 #define LOONGARCH_CSR_PERFCTRL1 0x202 /* 32 perf event 1 config */ macro
1219 #define read_csr_perfctrl1() csr_read64(LOONGARCH_CSR_PERFCTRL1)
1227 #define write_csr_perfctrl1(val) csr_write64(val, LOONGARCH_CSR_PERFCTRL1)