Home
last modified time | relevance | path

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

/linux/arch/loongarch/include/asm/
H A Dloongarch.h906 #define LOONGARCH_CSR_PERFCNTR1 0x203 /* 64 perf event 1 count value */ macro
1220 #define read_csr_perfcntr1() csr_read64(LOONGARCH_CSR_PERFCNTR1)
1228 #define write_csr_perfcntr1(val) csr_write64(val, LOONGARCH_CSR_PERFCNTR1)
/linux/arch/loongarch/kvm/
H A Dmain.c188 set_gcsr_sw_flag(LOONGARCH_CSR_PERFCNTR1); in kvm_init_gcsr_flag()
H A Dvcpu.c71 kvm_save_hw_gcsr(csr, LOONGARCH_CSR_PERFCNTR1); in kvm_save_guest_pmu()
85 kvm_restore_hw_gcsr(csr, LOONGARCH_CSR_PERFCNTR1); in kvm_restore_guest_pmu()