Lines Matching refs:fid
19 static int (*__sbi_rfence)(int fid, const unsigned long *hart_mask,
23 struct sbiret sbi_ecall(int ext, int fid, unsigned long arg0, in sbi_ecall() argument
36 register uintptr_t a6 asm ("a6") = (uintptr_t)(fid); in sbi_ecall()
141 static int __sbi_rfence_v01(int fid, const unsigned long *hart_mask, in __sbi_rfence_v01() argument
148 switch (fid) { in __sbi_rfence_v01()
164 pr_err("SBI call [%d]not supported in SBI v0.1\n", fid); in __sbi_rfence_v01()
190 static int __sbi_rfence_v01(int fid, const unsigned long *hart_mask, in __sbi_rfence_v01() argument
258 static int __sbi_rfence_v02_call(unsigned long fid, unsigned long hmask_val, in __sbi_rfence_v02_call() argument
267 switch (fid) { in __sbi_rfence_v02_call()
269 ret = sbi_ecall(ext, fid, hmask_val, hbase, 0, 0, 0, 0); in __sbi_rfence_v02_call()
272 ret = sbi_ecall(ext, fid, hmask_val, hbase, start, in __sbi_rfence_v02_call()
276 ret = sbi_ecall(ext, fid, hmask_val, hbase, start, in __sbi_rfence_v02_call()
281 ret = sbi_ecall(ext, fid, hmask_val, hbase, start, in __sbi_rfence_v02_call()
285 ret = sbi_ecall(ext, fid, hmask_val, hbase, start, in __sbi_rfence_v02_call()
289 ret = sbi_ecall(ext, fid, hmask_val, hbase, start, in __sbi_rfence_v02_call()
293 ret = sbi_ecall(ext, fid, hmask_val, hbase, start, in __sbi_rfence_v02_call()
298 fid, ext); in __sbi_rfence_v02_call()
311 static int __sbi_rfence_v02(int fid, const unsigned long *hart_mask, in __sbi_rfence_v02() argument
328 result = __sbi_rfence_v02_call(fid, hmask_val, hbase, in __sbi_rfence_v02()
341 result = __sbi_rfence_v02_call(fid, hmask_val, hbase, in __sbi_rfence_v02()
524 static long __sbi_base_ecall(int fid) in __sbi_base_ecall() argument
528 ret = sbi_ecall(SBI_EXT_BASE, fid, 0, 0, 0, 0, 0, 0); in __sbi_base_ecall()