Home
last modified time | relevance | path

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

/linux/arch/loongarch/kernel/
H A Dperf_event.c242 write_csr_perfctrl2(val); in loongarch_pmu_write_control()
/linux/arch/loongarch/kvm/
H A Dvcpu.c52 context->perf_ctrl[2] = write_csr_perfctrl2(0); in kvm_save_host_pmu()
67 write_csr_perfctrl2(context->perf_ctrl[2]); in kvm_restore_host_pmu()
/linux/arch/loongarch/include/asm/
H A Dloongarch.h1385 #define write_csr_perfctrl2(val) csr_write64(val, LOONGARCH_CSR_PERFCTRL2)
1378 #define write_csr_perfctrl2( global() macro