Home
last modified time | relevance | path

Searched refs:sbi_ecall (Results 1 – 12 of 12) sorted by relevance

/linux/arch/riscv/kernel/
H A Dsbi.c60 sbi_ecall(SBI_EXT_0_1_CONSOLE_PUTCHAR, 0, ch, 0, 0, 0, 0, 0); in sbi_console_putchar()
73 ret = sbi_ecall(SBI_EXT_0_1_CONSOLE_GETCHAR, 0, 0, 0, 0, 0, 0, 0); in sbi_console_getchar()
86 sbi_ecall(SBI_EXT_0_1_SHUTDOWN, 0, 0, 0, 0, 0, 0, 0); in sbi_shutdown()
99 sbi_ecall(SBI_EXT_0_1_SET_TIMER, 0, stime_value, in __sbi_set_timer_v01()
102 sbi_ecall(SBI_EXT_0_1_SET_TIMER, 0, stime_value, 0, 0, 0, 0, 0); in __sbi_set_timer_v01()
110 sbi_ecall(SBI_EXT_0_1_SEND_IPI, 0, (unsigned long)(&hart_mask), in __sbi_send_ipi_v01()
128 sbi_ecall(SBI_EXT_0_1_REMOTE_FENCE_I, 0, in __sbi_rfence_v01()
132 sbi_ecall(SBI_EXT_0_1_REMOTE_SFENCE_VMA, 0, in __sbi_rfence_v01()
137 sbi_ecall(SBI_EXT_0_1_REMOTE_SFENCE_VMA_ASID, 0, in __sbi_rfence_v01()
182 sbi_ecall(SBI_EXT_TIME, SBI_EXT_TIME_SET_TIMER, stime_value, in __sbi_set_timer_v02()
[all …]
H A Dsbi_ecall.c12 ret = sbi_ecall(SBI_EXT_BASE, fid, 0, 0, 0, 0, 0, 0); in __sbi_base_ecall()
H A Dparavirt.c62 ret = sbi_ecall(SBI_EXT_STA, SBI_EXT_STA_STEAL_TIME_SET_SHMEM, in sbi_sta_steal_time_set_shmem()
H A DMakefile100 obj-$(CONFIG_RISCV_SBI) += sbi.o sbi_ecall.o
/linux/tools/testing/selftests/kvm/riscv/
H A Dsbi_pmu_test.c99 ret = sbi_ecall(SBI_EXT_PMU, SBI_EXT_PMU_COUNTER_START, counter, 1, start_flags, in start_counter()
109 ret = sbi_ecall(SBI_EXT_PMU, SBI_EXT_PMU_COUNTER_STOP, counter, 1, in stop_reset_counter()
119 ret = sbi_ecall(SBI_EXT_PMU, SBI_EXT_PMU_COUNTER_STOP, counter, 1, stop_flags, in stop_counter()
166 ret = sbi_ecall(SBI_EXT_PMU, SBI_EXT_PMU_COUNTER_CFG_MATCH, cbase, cmask, in get_counter_index()
179 ret = sbi_ecall(SBI_EXT_PMU, SBI_EXT_PMU_NUM_COUNTERS, 0, 0, 0, 0, 0, 0); in get_num_counters()
194 ret = sbi_ecall(SBI_EXT_PMU, SBI_EXT_PMU_COUNTER_GET_INFO, i, 0, 0, 0, 0, 0); in update_counter_info()
212 ret = sbi_ecall(SBI_EXT_PMU, SBI_EXT_PMU_COUNTER_FW_READ, idx, 0, 0, 0, 0, 0); in read_fw_counter()
251 struct sbiret ret = sbi_ecall(SBI_EXT_PMU, SBI_EXT_PMU_SNAPSHOT_SET_SHMEM, in snapshot_set_shmem()
390 ret = sbi_ecall(SBI_EXT_PMU, SBI_EXT_PMU_COUNTER_CFG_MATCH, 0, in test_invalid_event()
427 ret = sbi_ecall(SBI_EXT_PMU, SBI_EXT_PMU_COUNTER_GET_INFO, i, in test_pmu_basic_sanity()
/linux/drivers/acpi/riscv/
H A Dcppc.c55 data->ret = sbi_ecall(SBI_EXT_CPPC, SBI_CPPC_READ, in sbi_cppc_read()
63 data->ret = sbi_ecall(SBI_EXT_CPPC, SBI_CPPC_WRITE, in sbi_cppc_write()
/linux/tools/testing/selftests/kvm/include/riscv/
H A Ducall.h16 sbi_ecall(KVM_RISCV_SELFTESTS_SBI_EXT, in ucall_arch_do_ucall()
H A Dsbi.h124 struct sbiret sbi_ecall(int ext, int fid, unsigned long arg0,
/linux/arch/riscv/errata/andes/
H A Derrata.c36 ret = sbi_ecall(ANDES_SBI_EXT_ANDES, ANDES_SBI_EXT_IOCP_SW_WORKAROUND, in ax45mp_iocp_sw_workaround()
/linux/tools/testing/selftests/kvm/lib/riscv/
H A Dprocessor.c288 sbi_ecall(KVM_RISCV_SELFTESTS_SBI_EXT, in guest_unexp_trap()
462 struct sbiret sbi_ecall(int ext, int fid, unsigned long arg0, in sbi_ecall() function
492 ret = sbi_ecall(SBI_EXT_BASE, SBI_EXT_BASE_PROBE_EXT, extid, in guest_sbi_probe_extension()
511 ret = sbi_ecall(SBI_EXT_BASE, SBI_EXT_BASE_GET_SPEC_VERSION, 0, in get_host_sbi_spec_version()
/linux/arch/riscv/include/asm/
H A Dsbi.h314 #define sbi_ecall(e, f, a0, a1, a2, a3, a4, a5) \ macro
/linux/tools/testing/selftests/kvm/
H A Dsteal_time.c231 struct sbiret ret = sbi_ecall(SBI_EXT_STA, 0, lo, hi, flags, 0, 0, 0); in sta_set_shmem()