Lines Matching refs:nret
26 int of_call_prom(const char *service, int nargs, int nret, ...) in of_call_prom() argument
32 int nret; in of_call_prom() member
39 args.nret = nret; in of_call_prom()
41 va_start(list, nret); in of_call_prom()
46 for (i = 0; i < nret; i++) in of_call_prom()
52 return (nret > 0)? args.args[nargs]: 0; in of_call_prom()
55 static int of_call_prom_ret(const char *service, int nargs, int nret, in of_call_prom_ret() argument
62 int nret; in of_call_prom_ret() member
69 args.nret = nret; in of_call_prom_ret()
76 for (i = 0; i < nret; i++) in of_call_prom_ret()
83 for (i = 1; i < nret; ++i) in of_call_prom_ret()
86 return (nret > 0)? args.args[nargs]: 0; in of_call_prom_ret()