Lines Matching refs:nret
115 __be32 nret; member
391 static int __init call_prom(const char *service, int nargs, int nret, ...) in call_prom() argument
399 args.nret = cpu_to_be32(nret); in call_prom()
401 va_start(list, nret); in call_prom()
406 for (i = 0; i < nret; i++) in call_prom()
412 return (nret > 0) ? be32_to_cpu(args.args[nargs]) : 0; in call_prom()
415 static int __init call_prom_ret(const char *service, int nargs, int nret, in call_prom_ret() argument
424 args.nret = cpu_to_be32(nret); in call_prom_ret()
431 for (i = 0; i < nret; i++) in call_prom_ret()
438 for (i = 1; i < nret; ++i) in call_prom_ret()
441 return (nret > 0) ? be32_to_cpu(args.args[nargs]) : 0; in call_prom_ret()
1824 os_term_args.nret = cpu_to_be32(1); in prom_rtas_os_term()