Home
last modified time | relevance | path

Searched refs:CSR_INSTRET (Results 1 – 8 of 8) sorted by relevance

/openbmc/linux/arch/riscv/include/asm/
H A Dkvm_vcpu_pmu.h100 if (csr_num == CSR_CYCLE || csr_num == CSR_INSTRET) { in kvm_riscv_vcpu_pmu_read_legacy()
H A Dcsr.h209 #define CSR_INSTRET 0xc02 macro
/openbmc/linux/drivers/perf/
H A Driscv_pmu_legacy.c57 val = riscv_pmu_ctr_read_csr(CSR_INSTRET); in pmu_legacy_read_ctr()
H A Driscv_pmu_sbi.c302 if (!hpm_width && info->csr != CSR_CYCLE && info->csr != CSR_INSTRET) in riscv_pmu_get_hpm_info()
364 cmask = 1UL << (CSR_INSTRET - CSR_CYCLE); in pmu_sbi_ctr_get_idx()
/openbmc/u-boot/arch/riscv/include/asm/
H A Dencoding.h323 #define CSR_INSTRET 0xc02 macro
/openbmc/linux/arch/riscv/kvm/
H A Dvcpu_pmu.c293 if (csr_num == CSR_CYCLE || csr_num == CSR_INSTRET) { in kvm_riscv_vcpu_pmu_read_hpm()
/openbmc/qemu/target/riscv/
H A Dcpu_bits.h72 #define CSR_INSTRET 0xc02 macro
H A Dcsr.c122 if ((csrno >= CSR_CYCLE && csrno <= CSR_INSTRET) || in ctr()
4920 [CSR_INSTRET] = { "instret", ctr, read_hpmcounter },