Lines Matching refs:nargs
50 int nargs; member
88 static void *call_prom(const char *service, int nargs, int nret, ...);
89 static void *call_prom_ret(const char *service, int nargs, int nret,
135 args.nargs = 0; in prom_exit()
143 call_prom(const char *service, int nargs, int nret, ...) in call_prom() argument
150 prom_args.nargs = nargs; in call_prom()
153 for (i = 0; i < nargs; ++i) in call_prom()
157 prom_args.args[i + nargs] = 0; in call_prom()
159 return prom_args.args[nargs]; in call_prom()
163 call_prom_ret(const char *service, int nargs, int nret, void **rets, ...) in call_prom_ret() argument
170 prom_args.nargs = nargs; in call_prom_ret()
173 for (i = 0; i < nargs; ++i) in call_prom_ret()
177 prom_args.args[i + nargs] = 0; in call_prom_ret()
180 rets[i-1] = prom_args.args[nargs + i]; in call_prom_ret()
181 return prom_args.args[nargs]; in call_prom_ret()
226 prom_args.nargs = 6; in prom_set_color()
738 prom_args.nargs = 3; in prom_instantiate_rtas()