Home
last modified time | relevance | path

Searched refs:nret (Results 1 – 9 of 9) sorted by relevance

/arch/powerpc/boot/
Doflib.c26 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()
[all …]
Dof.h8 int of_call_prom(const char *service, int nargs, int nret, ...);
/arch/powerpc/kernel/
Drtas.c105 args->nret = 1; in call_rtas_display_status()
385 err_args.nret = 1; in __fetch_rtas_last_error()
421 int rtas_call(int token, int nargs, int nret, int *outputs, ...) in rtas_call() argument
438 rtas_args->nret = nret; in rtas_call()
445 for (i = 0; i < nret; ++i) in rtas_call()
455 if (nret > 1 && outputs != NULL) in rtas_call()
456 for (i = 0; i < nret-1; ++i) in rtas_call()
458 ret = (nret > 0)? rtas_args->rets[0]: 0; in rtas_call()
1032 || args.nret > ARRAY_SIZE(args.args) in ppc_rtas()
1033 || nargs + args.nret > ARRAY_SIZE(args.args)) in ppc_rtas()
[all …]
Dprom_init.c112 u32 nret; member
216 static int __init call_prom(const char *service, int nargs, int nret, ...) in call_prom() argument
224 args.nret = nret; in call_prom()
226 va_start(list, nret); in call_prom()
231 for (i = 0; i < nret; i++) in call_prom()
237 return (nret > 0) ? args.args[nargs] : 0; in call_prom()
240 static int __init call_prom_ret(const char *service, int nargs, int nret, in call_prom_ret() argument
249 args.nret = nret; in call_prom_ret()
256 for (i = 0; i < nret; i++) in call_prom_ret()
263 for (i = 1; i < nret; ++i) in call_prom_ret()
[all …]
/arch/powerpc/kvm/
Dbook3s_rtas.c26 if (args->nargs != 3 || args->nret != 1) { in kvm_rtas_set_xive()
47 if (args->nargs != 1 || args->nret != 3) { in kvm_rtas_get_xive()
72 if (args->nargs != 1 || args->nret != 1) { in kvm_rtas_int_off()
91 if (args->nargs != 1 || args->nret != 1) { in kvm_rtas_int_on()
/arch/powerpc/include/asm/
Drtas.h52 u32 nret; member
/arch/powerpc/platforms/pseries/
Dhotplug-cpu.c40 .nret = 1,
Dmobility.c336 args.nret = 1; in migrate_store()
/arch/powerpc/xmon/
Dxmon.c292 args.nret = 1; in disable_surveillance()