/openbmc/linux/arch/riscv/kernel/ |
H A D | sbi.c | 50 EXPORT_SYMBOL(sbi_ecall); 143 sbi_ecall(SBI_EXT_0_1_SET_TIMER, 0, stime_value, in __sbi_set_timer_v01() 172 sbi_ecall(SBI_EXT_0_1_REMOTE_FENCE_I, 0, in __sbi_rfence_v01() 176 sbi_ecall(SBI_EXT_0_1_REMOTE_SFENCE_VMA, 0, in __sbi_rfence_v01() 181 sbi_ecall(SBI_EXT_0_1_REMOTE_SFENCE_VMA_ASID, 0, in __sbi_rfence_v01() 262 ret = sbi_ecall(ext, fid, hmask, hbase, start, in __sbi_rfence_v02_call() 266 ret = sbi_ecall(ext, fid, hmask, hbase, start, in __sbi_rfence_v02_call() 271 ret = sbi_ecall(ext, fid, hmask, hbase, start, in __sbi_rfence_v02_call() 275 ret = sbi_ecall(ext, fid, hmask, hbase, start, in __sbi_rfence_v02_call() 279 ret = sbi_ecall(ext, fid, hmask, hbase, start, in __sbi_rfence_v02_call() [all …]
|
H A D | cpu_ops_sbi.c | 31 ret = sbi_ecall(SBI_EXT_HSM, SBI_EXT_HSM_HART_START, in sbi_hsm_hart_start() 44 ret = sbi_ecall(SBI_EXT_HSM, SBI_EXT_HSM_HART_STOP, 0, 0, 0, 0, 0, 0); in sbi_hsm_hart_stop() 56 ret = sbi_ecall(SBI_EXT_HSM, SBI_EXT_HSM_HART_STATUS, in sbi_hsm_hart_get_status()
|
/openbmc/linux/drivers/perf/ |
H A D | riscv_pmu_sbi.c | 370 ret = sbi_ecall(SBI_EXT_PMU, SBI_EXT_PMU_COUNTER_CFG_MATCH, cbase, in pmu_sbi_ctr_get_idx() 374 ret = sbi_ecall(SBI_EXT_PMU, SBI_EXT_PMU_COUNTER_CFG_MATCH, cbase, in pmu_sbi_ctr_get_idx() 495 ret = sbi_ecall(SBI_EXT_PMU, SBI_EXT_PMU_COUNTER_FW_READ, in pmu_sbi_ctr_read() 534 ret = sbi_ecall(SBI_EXT_PMU, SBI_EXT_PMU_COUNTER_START, hwc->idx, in pmu_sbi_ctr_start() 537 ret = sbi_ecall(SBI_EXT_PMU, SBI_EXT_PMU_COUNTER_START, hwc->idx, in pmu_sbi_ctr_start() 569 ret = sbi_ecall(SBI_EXT_PMU, SBI_EXT_PMU_NUM_COUNTERS, 0, 0, 0, 0, 0, 0); in pmu_sbi_find_num_ctrs() 613 sbi_ecall(SBI_EXT_PMU, SBI_EXT_PMU_COUNTER_STOP, in pmu_sbi_stop_all() 622 sbi_ecall(SBI_EXT_PMU, SBI_EXT_PMU_COUNTER_STOP, 0, in pmu_sbi_stop_hw_ctrs() 647 sbi_ecall(SBI_EXT_PMU, SBI_EXT_PMU_COUNTER_START, 0, ctr_start_mask, in pmu_sbi_start_overflow_mask() 658 sbi_ecall(SBI_EXT_PMU, SBI_EXT_PMU_COUNTER_START, idx, 1, in pmu_sbi_start_overflow_mask() [all …]
|
/openbmc/linux/tools/testing/selftests/kvm/include/riscv/ |
H A D | ucall.h | 15 sbi_ecall(KVM_RISCV_SELFTESTS_SBI_EXT, in ucall_arch_do_ucall()
|
H A D | processor.h | 117 struct sbiret sbi_ecall(int ext, int fid, unsigned long arg0,
|
/openbmc/linux/arch/riscv/errata/andes/ |
H A D | errata.c | 35 ret = sbi_ecall(ANDESTECH_SBI_EXT_ANDES, ANDES_SBI_EXT_IOCP_SW_WORKAROUND, in ax45mp_iocp_sw_workaround()
|
/openbmc/linux/tools/testing/selftests/kvm/lib/riscv/ |
H A D | ucall.c | 13 struct sbiret sbi_ecall(int ext, int fid, unsigned long arg0, in sbi_ecall() function
|
H A D | processor.c | 275 sbi_ecall(KVM_RISCV_SELFTESTS_SBI_EXT, in guest_unexp_trap()
|
/openbmc/linux/arch/riscv/include/asm/ |
H A D | sbi.h | 262 struct sbiret sbi_ecall(int ext, int fid, unsigned long arg0,
|
/openbmc/linux/drivers/cpuidle/ |
H A D | cpuidle-riscv-sbi.c | 83 ret = sbi_ecall(SBI_EXT_HSM, SBI_EXT_HSM_HART_SUSPEND, in sbi_suspend_finisher()
|