Home
last modified time | relevance | path

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

/linux-6.3-rc2/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-6.3-rc2/arch/powerpc/kernel/
A Drtas.c961 err_args.nret = cpu_to_be32(1); in __fetch_rtas_last_error()
1007 args->nret = cpu_to_be32(nret); in va_rtas_call_unlocked()
1013 for (i = 0; i < nret; ++i) in va_rtas_call_unlocked()
1023 va_start(list, nret); in rtas_call_unlocked()
1132 if (nret > 1 && outputs != NULL) in rtas_call()
1133 for (i = 0; i < nret-1; ++i) in rtas_call()
1771 int nargs, nret, token; in SYSCALL_DEFINE1() local
1783 nret = be32_to_cpu(args.nret); in SYSCALL_DEFINE1()
1787 || nret > ARRAY_SIZE(args.args) in SYSCALL_DEFINE1()
1788 || nargs + nret > ARRAY_SIZE(args.args)) in SYSCALL_DEFINE1()
[all …]
A Dprom_init.c111 __be32 nret; member
395 args.nret = cpu_to_be32(nret); in call_prom()
397 va_start(list, nret); in call_prom()
402 for (i = 0; i < nret; i++) in call_prom()
408 return (nret > 0) ? be32_to_cpu(args.args[nargs]) : 0; in call_prom()
411 static int __init call_prom_ret(const char *service, int nargs, int nret, in call_prom_ret() argument
420 args.nret = cpu_to_be32(nret); in call_prom_ret()
427 for (i = 0; i < nret; i++) in call_prom_ret()
434 for (i = 1; i < nret; ++i) in call_prom_ret()
437 return (nret > 0) ? be32_to_cpu(args.args[nargs]) : 0; in call_prom_ret()
[all …]
/linux-6.3-rc2/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()
1102 int nret = 1; in _nbu2ss_epn_in_data() local
1117 return nret; in _nbu2ss_epn_in_data()
1209 return nret; in _nbu2ss_start_transfer()
1662 if (nret < 0) in _nbu2ss_decode_request()
1665 return nret; in _nbu2ss_decode_request()
1671 int nret; in _nbu2ss_ep0_in_data_stage() local
1694 int nret; in _nbu2ss_ep0_out_data_stage() local
1743 int nret = -1; in _nbu2ss_ep0_int() local
[all …]
/linux-6.3-rc2/arch/powerpc/include/asm/
A Dtrace.h159 __dynamic_array(__u32, other_outputs, be32_to_cpu(rtas_args->nret) - 1)
163 __entry->nr_other = be32_to_cpu(rtas_args->nret) - 1;
185 __field(u32, nret)
192 __entry->nret = be32_to_cpu(rtas_args->nret);
201 __entry->token, __entry->nargs, __entry->nret,
A Drtas-types.h12 __be32 nret; member
A Drtas.h413 int nret, ...);
/linux-6.3-rc2/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-6.3-rc2/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-6.3-rc2/tools/testing/selftests/powerpc/syscalls/
A Drtas_filter.c43 __be32 nret; member
128 args.nret = cpu_to_be32(nrets); in rtas_call()

Completed in 31 milliseconds