Home
last modified time | relevance | path

Searched refs:CSR_SCOUNTEREN (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/drivers/perf/
Driscv_pmu_sbi.c696 csr_write(CSR_SCOUNTEREN, in pmu_sbi_set_scounteren()
697 csr_read(CSR_SCOUNTEREN) | BIT(pmu_sbi_csr_index(event))); in pmu_sbi_set_scounteren()
705 csr_write(CSR_SCOUNTEREN, in pmu_sbi_reset_scounteren()
706 csr_read(CSR_SCOUNTEREN) & ~BIT(pmu_sbi_csr_index(event))); in pmu_sbi_reset_scounteren()
1066 csr_write(CSR_SCOUNTEREN, 0x7); in pmu_sbi_starting_cpu()
1068 csr_write(CSR_SCOUNTEREN, 0x2); in pmu_sbi_starting_cpu()
1092 csr_write(CSR_SCOUNTEREN, 0x0); in pmu_sbi_dying_cpu()
1293 csr_write(CSR_SCOUNTEREN, 0x7); in riscv_pmu_update_counter_access()
1295 csr_write(CSR_SCOUNTEREN, 0x2); in riscv_pmu_update_counter_access()
/linux-6.12.1/arch/riscv/kvm/
Dvcpu_switch.S58 csrrw t2, CSR_SCOUNTEREN, t2
169 csrrw t3, CSR_SCOUNTEREN, t3
/linux-6.12.1/tools/arch/riscv/include/asm/
Dcsr.h288 #define CSR_SCOUNTEREN 0x106 macro
/linux-6.12.1/arch/riscv/include/asm/
Dcsr.h290 #define CSR_SCOUNTEREN 0x106 macro