Home
last modified time | relevance | path

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

/linux/arch/powerpc/boot/
A Doflib.c22 __be32 nret; /* Number of output arguments. */ member
41 int of_call_prom(const char *service, int nargs, int nret, ...) in of_call_prom() argument
49 args.nret = cpu_to_be32(nret); in of_call_prom()
51 va_start(list, nret); in of_call_prom()
56 for (i = 0; i < nret; i++) in of_call_prom()
62 return (nret > 0) ? be32_to_cpu(args.args[nargs]) : 0; in of_call_prom()
65 static int of_call_prom_ret(const char *service, int nargs, int nret, in of_call_prom_ret() argument
74 args.nret = cpu_to_be32(nret); in of_call_prom_ret()
81 for (i = 0; i < nret; i++) in of_call_prom_ret()
88 for (i = 1; i < nret; ++i) in of_call_prom_ret()
[all …]
A Dof.h11 int of_call_prom(const char *service, int nargs, int nret, ...);
/linux/arch/powerpc/kernel/
A Drtas.c387 err_args.nret = cpu_to_be32(1); in __fetch_rtas_last_error()
432 args->nret = cpu_to_be32(nret); in va_rtas_call_unlocked()
438 for (i = 0; i < nret; ++i) in va_rtas_call_unlocked()
448 va_start(list, nret); in rtas_call_unlocked()
479 if (nret > 1 && outputs != NULL) in rtas_call()
480 for (i = 0; i < nret-1; ++i) in rtas_call()
877 if (nret > 1 && outputs) in rtas_call_reentrant()
878 for (i = 0; i < nret - 1; ++i) in rtas_call_reentrant()
881 if (nret > 0) in rtas_call_reentrant()
1090 int nargs, nret, token; in SYSCALL_DEFINE1() local
[all …]
A Dprom_init.c115 __be32 nret; member
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()
[all …]
/linux/drivers/staging/emxx_udc/
A Demxx_udc.c908 int nret = 1; in _nbu2ss_epn_out_data() local
925 return nret; in _nbu2ss_epn_out_data()
1105 int nret = 1; in _nbu2ss_epn_in_data() local
1120 return nret; in _nbu2ss_epn_in_data()
1212 return nret; in _nbu2ss_start_transfer()
1665 if (nret < 0) in _nbu2ss_decode_request()
1668 return nret; in _nbu2ss_decode_request()
1674 int nret; in _nbu2ss_ep0_in_data_stage() local
1697 int nret; in _nbu2ss_ep0_out_data_stage() local
1746 int nret = -1; in _nbu2ss_ep0_int() local
[all …]
/linux/arch/powerpc/kvm/
A Dbook3s_rtas.c24 if (be32_to_cpu(args->nargs) != 3 || be32_to_cpu(args->nret) != 1) { in kvm_rtas_set_xive()
48 if (be32_to_cpu(args->nargs) != 1 || be32_to_cpu(args->nret) != 3) { in kvm_rtas_get_xive()
76 if (be32_to_cpu(args->nargs) != 1 || be32_to_cpu(args->nret) != 1) { in kvm_rtas_int_off()
98 if (be32_to_cpu(args->nargs) != 1 || be32_to_cpu(args->nret) != 1) { in kvm_rtas_int_on()
/linux/lib/
A Ddigsig.c74 unsigned nret, l; in digsig_verify_rsa() local
134 nret = siglen; in digsig_verify_rsa()
135 in = mpi_read_from_buffer(sig, &nret); in digsig_verify_rsa()
/linux/arch/powerpc/include/asm/
A Drtas.h243 int rtas_call_reentrant(int token, int nargs, int nret, int *outputs, ...);
245 int nret, ...);
A Drtas-types.h12 __be32 nret; member
/linux/tools/testing/selftests/powerpc/syscalls/
A Drtas_filter.c42 __be32 nret; member
189 args.nret = cpu_to_be32(nrets); in rtas_call()

Completed in 26 milliseconds