/linux-6.6.21/arch/powerpc/boot/ |
D | oflib.c | 22 __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 …]
|
D | of.h | 11 int of_call_prom(const char *service, int nargs, int nret, ...);
|
/linux-6.6.21/drivers/staging/emxx_udc/ |
D | emxx_udc.c | 908 int nret = 1; in _nbu2ss_epn_out_data() local 919 nret = _nbu2ss_out_dma(udc, req, num, i_buf_size); in _nbu2ss_epn_out_data() 922 nret = _nbu2ss_epn_out_pio(udc, ep, req, i_buf_size); in _nbu2ss_epn_out_data() 925 return nret; in _nbu2ss_epn_out_data() 1102 int nret = 1; in _nbu2ss_epn_in_data() local 1111 nret = _nbu2ss_in_dma(udc, ep, req, num, data_size); in _nbu2ss_epn_in_data() 1114 nret = _nbu2ss_epn_in_pio(udc, ep, req, data_size); in _nbu2ss_epn_in_data() 1117 return nret; in _nbu2ss_epn_in_data() 1164 int nret = -EINVAL; in _nbu2ss_start_transfer() local 1182 nret = _nbu2ss_ep0_in_transfer(udc, req); in _nbu2ss_start_transfer() [all …]
|
/linux-6.6.21/arch/powerpc/kernel/ |
D | rtas.c | 987 err_args.nret = cpu_to_be32(1); in __fetch_rtas_last_error() 1026 va_rtas_call_unlocked(struct rtas_args *args, int token, int nargs, int nret, in va_rtas_call_unlocked() argument 1033 args->nret = cpu_to_be32(nret); in va_rtas_call_unlocked() 1039 for (i = 0; i < nret; ++i) in va_rtas_call_unlocked() 1062 void rtas_call_unlocked(struct rtas_args *args, int token, int nargs, int nret, ...) in rtas_call_unlocked() argument 1066 va_start(list, nret); in rtas_call_unlocked() 1067 va_rtas_call_unlocked(args, token, nargs, nret, list); in rtas_call_unlocked() 1135 int rtas_call(int token, int nargs, int nret, int *outputs, ...) in rtas_call() argument 1170 va_rtas_call_unlocked(args, token, nargs, nret, list); in rtas_call() 1178 if (nret > 1 && outputs != NULL) in rtas_call() [all …]
|
D | prom_init.c | 111 __be32 nret; member 387 static int __init call_prom(const char *service, int nargs, int nret, ...) in call_prom() argument 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() [all …]
|
/linux-6.6.21/arch/powerpc/include/asm/ |
D | trace.h | 159 __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,
|
D | rtas-types.h | 12 __be32 nret; member
|
D | rtas.h | 415 int nret, ...);
|
/linux-6.6.21/arch/powerpc/kvm/ |
D | book3s_rtas.c | 24 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.6.21/lib/ |
D | digsig.c | 74 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.6.21/tools/testing/selftests/powerpc/syscalls/ |
D | rtas_filter.c | 43 __be32 nret; member 128 args.nret = cpu_to_be32(nrets); in rtas_call()
|