Lines Matching refs:nargs
110 __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()
435 rets[i-1] = be32_to_cpu(args.args[nargs+i]); in call_prom_ret()
437 return (nret > 0) ? be32_to_cpu(args.args[nargs]) : 0; in call_prom_ret()
1819 os_term_args.nargs = cpu_to_be32(1); in prom_rtas_os_term()