Home
last modified time | relevance | path

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

/linux-6.12.1/arch/loongarch/include/asm/
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-6.12.1/arch/loongarch/kvm/
Dmain.c188 set_gcsr_sw_flag(LOONGARCH_CSR_PERFCNTR1); in kvm_init_gcsr_flag()
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()