Home
last modified time | relevance | path

Searched refs:nargs (Results 1 – 17 of 17) 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/kernel/
Drtas.c378 err_args.nargs = cpu_to_be32(2); in __fetch_rtas_last_error()
417 va_rtas_call_unlocked(struct rtas_args *args, int token, int nargs, int nret, in va_rtas_call_unlocked() argument
423 args->nargs = cpu_to_be32(nargs); in va_rtas_call_unlocked()
425 args->rets = &(args->args[nargs]); in va_rtas_call_unlocked()
427 for (i = 0; i < nargs; ++i) in va_rtas_call_unlocked()
436 void rtas_call_unlocked(struct rtas_args *args, int token, int nargs, int nret, ...) in rtas_call_unlocked() argument
441 va_rtas_call_unlocked(args, token, nargs, nret, list); in rtas_call_unlocked()
445 int rtas_call(int token, int nargs, int nret, int *outputs, ...) in rtas_call() argument
463 va_rtas_call_unlocked(rtas_args, token, nargs, nret, list); in rtas_call()
923 int rtas_call_reentrant(int token, int nargs, int nret, int *outputs, ...) in rtas_call_reentrant() argument
[all …]
Dprom_init.c112 __be32 nargs; member
370 static int __init call_prom(const char *service, int nargs, int nret, ...) in call_prom() argument
377 args.nargs = cpu_to_be32(nargs); in call_prom()
381 for (i = 0; i < nargs; i++) in call_prom()
386 args.args[nargs+i] = 0; in call_prom()
391 return (nret > 0) ? be32_to_cpu(args.args[nargs]) : 0; in call_prom()
394 static int __init call_prom_ret(const char *service, int nargs, int nret, in call_prom_ret() argument
402 args.nargs = cpu_to_be32(nargs); in call_prom_ret()
406 for (i = 0; i < nargs; i++) in call_prom_ret()
411 args.args[nargs+i] = 0; in call_prom_ret()
[all …]
/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
65 param[0] = nargs; in omap_secure_dispatcher()
153 u32 rx51_secure_dispatcher(u32 idx, u32 process, u32 flag, u32 nargs, in rx51_secure_dispatcher() argument
159 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,
78 extern u32 rx51_secure_dispatcher(u32 idx, u32 process, u32 flag, u32 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/microblaze/kernel/
Dsyscall_table.S3 #define __SYSCALL(nr, entry, nargs) .long entry argument
/arch/sparc/kernel/
Dsystbls_32.S12 #define __SYSCALL(nr, entry, nargs) .long entry argument
Dsystbls_64.S13 #define __SYSCALL(nr, entry, nargs) .word entry argument
/arch/alpha/kernel/
Dsystbls.S10 #define __SYSCALL(nr, entry, nargs) .quad entry argument
/arch/m68k/kernel/
Dsyscalltable.S21 #define __SYSCALL(nr, entry, nargs) .long entry argument
/arch/powerpc/include/asm/
Drtas-types.h11 __be32 nargs; member
Drtas.h238 int rtas_call_reentrant(int token, int nargs, int nret, int *outputs, ...);
239 void rtas_call_unlocked(struct rtas_args *args, int token, int nargs,
/arch/xtensa/kernel/
Dsyscall.c34 #define __SYSCALL(nr, entry, nargs)[nr] = (syscall_t)entry, argument
/arch/ia64/kernel/
Dentry.S1423 #define __SYSCALL(nr, entry, nargs) data8 entry argument
/arch/x86/crypto/
Dpoly1305-x86_64-cryptogams.pl109 my ($name, $align, $nargs) = @_;
116 $code .= ".type $name,\@function,$nargs\n";