Lines Matching refs:sbiret
37 struct sbiret {
79 struct sbiret sbi_get_spec_version(void);
80 struct sbiret sbi_get_impl_id(void);
81 struct sbiret sbi_get_impl_version(void);
82 struct sbiret sbi_probe_extension(long extension_id);
83 struct sbiret sbi_get_mvendorid(void);
84 struct sbiret sbi_get_marchid(void);
85 struct sbiret sbi_get_mimpid(void);
107 struct sbiret sbi_set_timer(uint64_t stime_value);
110 struct sbiret sbi_send_ipi(unsigned long hart_mask,
122 struct sbiret sbi_remote_fence_i(unsigned long hart_mask,
124 struct sbiret sbi_remote_sfence_vma(unsigned long hart_mask,
128 struct sbiret sbi_remote_sfence_vma_asid(unsigned long hart_mask,
133 struct sbiret sbi_remote_hfence_gvma_vmid(unsigned long hart_mask,
138 struct sbiret sbi_remote_hfence_gvma(unsigned long hart_mask,
142 struct sbiret sbi_remote_hfence_vvma_asid(unsigned long hart_mask,
147 struct sbiret sbi_remote_hfence_vvma(unsigned long hart_mask,
157 struct sbiret sbi_hart_start(unsigned long hartid,
160 struct sbiret sbi_hart_stop(void);
161 struct sbiret sbi_hart_get_status(unsigned long hartid);
162 struct sbiret sbi_hart_suspend(uint32_t suspend_type,
176 struct sbiret sbi_system_reset(uint32_t reset_type, uint32_t reset_reason);
265 struct sbiret sbi_pmu_num_counters(void);
266 struct sbiret sbi_pmu_counter_get_info(unsigned long counter_idx);
268 struct sbiret sbi_pmu_counter_config_matching(unsigned long counter_idx_base,
273 struct sbiret sbi_pmu_counter_start(unsigned long counter_idx_base,
277 struct sbiret sbi_pmu_counter_stop(unsigned long counter_idx_base,
280 struct sbiret sbi_pmu_counter_fw_read(unsigned long counter_idx);
284 static inline struct sbiret
289 struct sbiret ret;
351 struct sbiret ret = SBI_LEGACY_CALL1(SBI_LEGACY_SET_TIMER, stime_value);
353 struct sbiret ret = SBI_LEGACY_CALL2(SBI_LEGACY_SET_TIMER,
365 struct sbiret ret = SBI_LEGACY_CALL1(SBI_LEGACY_CONSOLE_PUTCHAR, c);
375 struct sbiret ret = SBI_LEGACY_CALL0(SBI_LEGACY_CONSOLE_GETCHAR);
385 struct sbiret ret = SBI_LEGACY_CALL0(SBI_LEGACY_CLEAR_IPI);
403 struct sbiret ret = SBI_LEGACY_CALL1(SBI_LEGACY_SEND_IPI,
414 struct sbiret ret = SBI_LEGACY_CALL1(SBI_LEGACY_REMOTE_FENCE_I,
429 struct sbiret ret = SBI_LEGACY_CALL3(SBI_LEGACY_REMOTE_SFENCE_VMA,
445 struct sbiret ret = SBI_LEGACY_CALL4(SBI_LEGACY_REMOTE_SFENCE_VMA_ASID,