Home
last modified time | relevance | path

Searched refs:nargs (Results 1 – 10 of 10) sorted by relevance

/arch/powerpc/boot/
Doflib.c25 __be32 nargs; /* Number of input arguments. */ member
45 int of_call_prom(const char *service, int nargs, int nret, ...) in of_call_prom() argument
52 args.nargs = cpu_to_be32(nargs); in of_call_prom()
56 for (i = 0; i < nargs; i++) in of_call_prom()
61 args.args[nargs+i] = 0; in of_call_prom()
66 return (nret > 0) ? be32_to_cpu(args.args[nargs]) : 0; in of_call_prom()
69 static int of_call_prom_ret(const char *service, int nargs, int nret, in of_call_prom_ret() argument
77 args.nargs = cpu_to_be32(nargs); in of_call_prom_ret()
81 for (i = 0; i < nargs; i++) in of_call_prom_ret()
86 args.args[nargs+i] = 0; in of_call_prom_ret()
[all …]
Dof.h10 int of_call_prom(const char *service, int nargs, int nret, ...);
/arch/arm/mach-omap2/
Domap-secure.c37 u32 omap_secure_dispatcher(u32 idx, u32 flag, u32 nargs, u32 arg1, u32 arg2, in omap_secure_dispatcher() argument
43 param[0] = nargs; in omap_secure_dispatcher()
110 u32 rx51_secure_dispatcher(u32 idx, u32 process, u32 flag, u32 nargs, in rx51_secure_dispatcher() argument
116 param[0] = nargs+1; /* RX-51 needs number of arguments + 1 */ in rx51_secure_dispatcher()
Domap-secure.h64 extern u32 omap_secure_dispatcher(u32 idx, u32 flag, u32 nargs,
73 extern u32 rx51_secure_dispatcher(u32 idx, u32 process, u32 flag, u32 nargs,
/arch/powerpc/kernel/
Drtas.c379 err_args.nargs = cpu_to_be32(2); in __fetch_rtas_last_error()
418 va_rtas_call_unlocked(struct rtas_args *args, int token, int nargs, int nret, in va_rtas_call_unlocked() argument
424 args->nargs = cpu_to_be32(nargs); in va_rtas_call_unlocked()
426 args->rets = &(args->args[nargs]); in va_rtas_call_unlocked()
428 for (i = 0; i < nargs; ++i) in va_rtas_call_unlocked()
437 void rtas_call_unlocked(struct rtas_args *args, int token, int nargs, int nret, ...) in rtas_call_unlocked() argument
442 va_rtas_call_unlocked(args, token, nargs, nret, list); in rtas_call_unlocked()
446 int rtas_call(int token, int nargs, int nret, int *outputs, ...) in rtas_call() argument
464 va_rtas_call_unlocked(rtas_args, token, nargs, nret, list); in rtas_call()
1058 int nargs, nret, token; in ppc_rtas() local
[all …]
Dprom_init.c111 __be32 nargs; member
218 static int __init call_prom(const char *service, int nargs, int nret, ...) in call_prom() argument
225 args.nargs = cpu_to_be32(nargs); in call_prom()
229 for (i = 0; i < nargs; i++) in call_prom()
234 args.args[nargs+i] = 0; in call_prom()
239 return (nret > 0) ? be32_to_cpu(args.args[nargs]) : 0; in call_prom()
242 static int __init call_prom_ret(const char *service, int nargs, int nret, in call_prom_ret() argument
250 args.nargs = cpu_to_be32(nargs); in call_prom_ret()
254 for (i = 0; i < nargs; i++) in call_prom_ret()
259 args.args[nargs+i] = 0; in call_prom_ret()
[all …]
/arch/powerpc/kvm/
Dbook3s_rtas.c26 if (be32_to_cpu(args->nargs) != 3 || be32_to_cpu(args->nret) != 1) { in kvm_rtas_set_xive()
47 if (be32_to_cpu(args->nargs) != 1 || be32_to_cpu(args->nret) != 3) { in kvm_rtas_get_xive()
72 if (be32_to_cpu(args->nargs) != 1 || be32_to_cpu(args->nret) != 1) { in kvm_rtas_int_off()
91 if (be32_to_cpu(args->nargs) != 1 || be32_to_cpu(args->nret) != 1) { in kvm_rtas_int_on()
233 args.rets = &args.args[be32_to_cpu(args.nargs)]; in kvmppc_rtas_hcall()
/arch/xtensa/kernel/
Dsyscall.c35 #define __SYSCALL(nr,symbol,nargs) [ nr ] = (syscall_t)symbol, argument
/arch/powerpc/include/asm/
Drtas.h52 __be32 nargs; member
340 void rtas_call_unlocked(struct rtas_args *args, int token, int nargs,
/arch/xtensa/include/uapi/asm/
Dunistd.h5 # define __SYSCALL(nr,func,nargs) argument