Home
last modified time | relevance | path

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

/openbmc/linux/drivers/perf/
H A Driscv_pmu_sbi.c514 csr_write(CSR_SCOUNTEREN, in pmu_sbi_set_scounteren()
515 csr_read(CSR_SCOUNTEREN) | BIT(pmu_sbi_csr_index(event))); in pmu_sbi_set_scounteren()
523 csr_write(CSR_SCOUNTEREN, in pmu_sbi_reset_scounteren()
524 csr_read(CSR_SCOUNTEREN) & ~BIT(pmu_sbi_csr_index(event))); in pmu_sbi_reset_scounteren()
774 csr_write(CSR_SCOUNTEREN, 0x7); in pmu_sbi_starting_cpu()
776 csr_write(CSR_SCOUNTEREN, 0x2); in pmu_sbi_starting_cpu()
799 csr_write(CSR_SCOUNTEREN, 0x0); in pmu_sbi_dying_cpu()
984 csr_write(CSR_SCOUNTEREN, 0x7); in riscv_pmu_update_counter_access()
986 csr_write(CSR_SCOUNTEREN, 0x2); in riscv_pmu_update_counter_access()
/openbmc/u-boot/arch/riscv/include/asm/
H A Dencoding.h180 #define CSR_SCOUNTEREN 0x106 macro
/openbmc/linux/arch/riscv/kvm/
H A Dvcpu_switch.S58 csrrw t2, CSR_SCOUNTEREN, t2
169 csrrw t3, CSR_SCOUNTEREN, t3
/openbmc/linux/arch/riscv/include/asm/
H A Dcsr.h277 #define CSR_SCOUNTEREN 0x106 macro
/openbmc/qemu/target/riscv/
H A Dcpu_bits.h195 #define CSR_SCOUNTEREN 0x106 macro
H A Dcsr.c5162 [CSR_SCOUNTEREN] = { "scounteren", smode, read_scounteren,