Home
last modified time | relevance | path

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

/linux/arch/loongarch/include/asm/
H A Dloongarch.h904 #define LOONGARCH_CSR_PERFCNTR0 0x201 /* 64 perf event 0 count value */ macro
1218 #define read_csr_perfcntr0() csr_read64(LOONGARCH_CSR_PERFCNTR0)
1226 #define write_csr_perfcntr0(val) csr_write64(val, LOONGARCH_CSR_PERFCNTR0)
/linux/arch/loongarch/kvm/
H A Dmain.c186 set_gcsr_sw_flag(LOONGARCH_CSR_PERFCNTR0); in kvm_init_gcsr_flag()
H A Dvcpu.c70 kvm_save_hw_gcsr(csr, LOONGARCH_CSR_PERFCNTR0); in kvm_save_guest_pmu()
84 kvm_restore_hw_gcsr(csr, LOONGARCH_CSR_PERFCNTR0); in kvm_restore_guest_pmu()