Home
last modified time | relevance | path

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

/arch/powerpc/boot/
Doflib.c21 __be32 nargs; /* Number of input arguments. */ member
41 int of_call_prom(const char *service, int nargs, int nret, ...) in of_call_prom() argument
48 args.nargs = cpu_to_be32(nargs); in of_call_prom()
52 for (i = 0; i < nargs; i++) in of_call_prom()
57 args.args[nargs+i] = 0; in of_call_prom()
62 return (nret > 0) ? be32_to_cpu(args.args[nargs]) : 0; in of_call_prom()
65 static int of_call_prom_ret(const char *service, int nargs, int nret, in of_call_prom_ret() argument
73 args.nargs = cpu_to_be32(nargs); in of_call_prom_ret()
77 for (i = 0; i < nargs; i++) in of_call_prom_ret()
82 args.args[nargs+i] = 0; in of_call_prom_ret()
[all …]
Dof.h11 int of_call_prom(const char *service, int nargs, int nret, ...);
/arch/powerpc/include/asm/
Dtrace.h133 __field(__u32, nargs)
135 __dynamic_array(__u32, inputs, be32_to_cpu(rtas_args->nargs))
139 __entry->nargs = be32_to_cpu(rtas_args->nargs);
141 be32_to_cpu_array(__get_dynamic_array(inputs), rtas_args->args, __entry->nargs);
145 __print_array(__get_dynamic_array(inputs), __entry->nargs, 4)
184 __field(u32, nargs)
191 __entry->nargs = be32_to_cpu(rtas_args->nargs);
201 __entry->token, __entry->nargs, __entry->nret,
Drtas-types.h11 __be32 nargs; member
Drtas.h414 void rtas_call_unlocked(struct rtas_args *args, int token, int nargs,
/arch/powerpc/kvm/
Dbook3s_rtas.c24 if (be32_to_cpu(args->nargs) != 3 || be32_to_cpu(args->nret) != 1) { in kvm_rtas_set_xive()
48 if (be32_to_cpu(args->nargs) != 1 || be32_to_cpu(args->nret) != 3) { in kvm_rtas_get_xive()
76 if (be32_to_cpu(args->nargs) != 1 || be32_to_cpu(args->nret) != 1) { in kvm_rtas_int_off()
98 if (be32_to_cpu(args->nargs) != 1 || be32_to_cpu(args->nret) != 1) { in kvm_rtas_int_on()
245 if (be32_to_cpu(args.nargs) >= ARRAY_SIZE(args.args)) { in kvmppc_rtas_hcall()
256 args.rets = &args.args[be32_to_cpu(args.nargs)]; in kvmppc_rtas_hcall()
/arch/arm/mach-omap2/
Domap-secure.c59 u32 omap_secure_dispatcher(u32 idx, u32 flag, u32 nargs, u32 arg1, u32 arg2, in omap_secure_dispatcher() argument
70 param[0] = nargs; in omap_secure_dispatcher()
155 static u32 rx51_secure_dispatcher(u32 idx, u32 process, u32 flag, u32 nargs, in rx51_secure_dispatcher() argument
161 param[0] = nargs+1; /* RX-51 needs number of arguments + 1 */ in rx51_secure_dispatcher()
Domap-secure.h67 extern u32 omap_secure_dispatcher(u32 idx, u32 flag, u32 nargs,
/arch/powerpc/kernel/
Drtas.c986 err_args.nargs = cpu_to_be32(2); in __fetch_rtas_last_error()
1026 va_rtas_call_unlocked(struct rtas_args *args, int token, int nargs, int nret, in va_rtas_call_unlocked() argument
1032 args->nargs = cpu_to_be32(nargs); in va_rtas_call_unlocked()
1034 args->rets = &(args->args[nargs]); in va_rtas_call_unlocked()
1036 for (i = 0; i < nargs; ++i) in va_rtas_call_unlocked()
1062 void rtas_call_unlocked(struct rtas_args *args, int token, int nargs, int nret, ...) in rtas_call_unlocked() argument
1067 va_rtas_call_unlocked(args, token, nargs, nret, list); in rtas_call_unlocked()
1135 int rtas_call(int token, int nargs, int nret, int *outputs, ...) in rtas_call() argument
1170 va_rtas_call_unlocked(args, token, nargs, nret, list); in rtas_call()
1736 static bool block_rtas_call(int token, int nargs, in block_rtas_call() argument
[all …]
Dprom_init.c110 __be32 nargs; member
387 static int __init call_prom(const char *service, int nargs, int nret, ...) in call_prom() argument
394 args.nargs = cpu_to_be32(nargs); in call_prom()
398 for (i = 0; i < nargs; i++) in call_prom()
403 args.args[nargs+i] = 0; in call_prom()
408 return (nret > 0) ? be32_to_cpu(args.args[nargs]) : 0; in call_prom()
411 static int __init call_prom_ret(const char *service, int nargs, int nret, in call_prom_ret() argument
419 args.nargs = cpu_to_be32(nargs); in call_prom_ret()
423 for (i = 0; i < nargs; i++) in call_prom_ret()
428 args.args[nargs+i] = 0; in call_prom_ret()
[all …]
/arch/x86/crypto/
Dpoly1305-x86_64-cryptogams.pl109 my ($name, $align, $nargs) = @_;
115 $code .= ".type $name,\@function,$nargs\n";