Searched refs:LOONGARCH_CSR_PERFCTRL2 (Results 1 – 3 of 3) sorted by relevance
76 kvm_read_clear_hw_gcsr(csr, LOONGARCH_CSR_PERFCTRL2); in kvm_save_guest_pmu()90 kvm_restore_hw_gcsr(csr, LOONGARCH_CSR_PERFCTRL2); in kvm_restore_guest_pmu()133 val |= kvm_read_sw_gcsr(csr, LOONGARCH_CSR_PERFCTRL2); in kvm_lose_pmu()604 kvm_read_sw_gcsr(csr, LOONGARCH_CSR_PERFCTRL2) | in _kvm_setcsr()
189 set_gcsr_sw_flag(LOONGARCH_CSR_PERFCTRL2); in kvm_init_gcsr_flag()
907 #define LOONGARCH_CSR_PERFCTRL2 0x204 /* 32 perf event 2 config */ macro1221 #define read_csr_perfctrl2() csr_read64(LOONGARCH_CSR_PERFCTRL2)1229 #define write_csr_perfctrl2(val) csr_write64(val, LOONGARCH_CSR_PERFCTRL2)