Lines Matching refs:nret
122 u32 nret; member
223 static int __init call_prom(const char *service, int nargs, int nret, ...) in call_prom() argument
231 args.nret = nret; in call_prom()
233 va_start(list, nret); in call_prom()
238 for (i = 0; i < nret; i++) in call_prom()
244 return (nret > 0) ? args.args[nargs] : 0; in call_prom()
247 static int __init call_prom_ret(const char *service, int nargs, int nret, in call_prom_ret() argument
256 args.nret = nret; in call_prom_ret()
263 for (i = 0; i < nret; i++) in call_prom_ret()
270 for (i = 1; i < nret; ++i) in call_prom_ret()
273 return (nret > 0) ? args.args[nargs] : 0; in call_prom_ret()