Searched refs:CSR_SCOUNTEREN (Results 1 – 6 of 6) sorted by relevance
/openbmc/linux/drivers/perf/ |
H A D | riscv_pmu_sbi.c | 514 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 D | encoding.h | 180 #define CSR_SCOUNTEREN 0x106 macro
|
/openbmc/linux/arch/riscv/kvm/ |
H A D | vcpu_switch.S | 58 csrrw t2, CSR_SCOUNTEREN, t2 169 csrrw t3, CSR_SCOUNTEREN, t3
|
/openbmc/linux/arch/riscv/include/asm/ |
H A D | csr.h | 277 #define CSR_SCOUNTEREN 0x106 macro
|
/openbmc/qemu/target/riscv/ |
H A D | cpu_bits.h | 195 #define CSR_SCOUNTEREN 0x106 macro
|
H A D | csr.c | 5162 [CSR_SCOUNTEREN] = { "scounteren", smode, read_scounteren,
|