Searched refs:SBI_EXT_PMU (Results 1 – 2 of 2) sorted by relevance
/Linux-v6.1/drivers/perf/ |
D | riscv_pmu_sbi.c | 284 ret = sbi_ecall(SBI_EXT_PMU, SBI_EXT_PMU_COUNTER_CFG_MATCH, cbase, in pmu_sbi_ctr_get_idx() 288 ret = sbi_ecall(SBI_EXT_PMU, SBI_EXT_PMU_COUNTER_CFG_MATCH, cbase, in pmu_sbi_ctr_get_idx() 412 ret = sbi_ecall(SBI_EXT_PMU, SBI_EXT_PMU_COUNTER_FW_READ, in pmu_sbi_ctr_read() 433 ret = sbi_ecall(SBI_EXT_PMU, SBI_EXT_PMU_COUNTER_START, hwc->idx, in pmu_sbi_ctr_start() 436 ret = sbi_ecall(SBI_EXT_PMU, SBI_EXT_PMU_COUNTER_START, hwc->idx, in pmu_sbi_ctr_start() 449 ret = sbi_ecall(SBI_EXT_PMU, SBI_EXT_PMU_COUNTER_STOP, hwc->idx, 1, flag, 0, 0, 0); in pmu_sbi_ctr_stop() 460 ret = sbi_ecall(SBI_EXT_PMU, SBI_EXT_PMU_NUM_COUNTERS, 0, 0, 0, 0, 0, 0); in pmu_sbi_find_num_ctrs() 478 ret = sbi_ecall(SBI_EXT_PMU, SBI_EXT_PMU_COUNTER_GET_INFO, i, 0, 0, 0, 0, 0); in pmu_sbi_get_ctrinfo() 504 sbi_ecall(SBI_EXT_PMU, SBI_EXT_PMU_COUNTER_STOP, in pmu_sbi_stop_all() 513 sbi_ecall(SBI_EXT_PMU, SBI_EXT_PMU_COUNTER_STOP, 0, in pmu_sbi_stop_hw_ctrs() [all …]
|
/Linux-v6.1/arch/riscv/include/asm/ |
D | sbi.h | 32 SBI_EXT_PMU = 0x504D55, enumerator
|