Home
last modified time | relevance | path

Searched refs:rets (Results 1 – 24 of 24) sorted by relevance

/linux-6.1.9/drivers/misc/mei/
Dmain.c114 int rets; in mei_release() local
128 rets = 0; in mei_release()
132 rets = mei_cl_disconnect(cl); in mei_release()
153 return rets; in mei_release()
174 ssize_t rets; in mei_read() local
184 rets = -ENODEV; in mei_read()
189 rets = 0; in mei_read()
194 rets = -EMSGSIZE; in mei_read()
205 rets = mei_cl_read_start(cl, length, file); in mei_read()
206 if (rets && rets != -EBUSY) { in mei_read()
[all …]
Dclient.c924 int rets; in __mei_cl_disconnect() local
932 rets = -ENOMEM; in __mei_cl_disconnect()
937 rets = mei_cl_send_disconnect(cl, cb); in __mei_cl_disconnect()
938 if (rets) { in __mei_cl_disconnect()
951 rets = cl->status; in __mei_cl_disconnect()
955 rets = -ETIME; in __mei_cl_disconnect()
961 if (!rets) in __mei_cl_disconnect()
965 return rets; in __mei_cl_disconnect()
980 int rets; in mei_cl_disconnect() local
1004 rets = pm_runtime_get(dev->dev); in mei_cl_disconnect()
[all …]
Dbus.c39 ssize_t rets; in __mei_cl_send() local
49 rets = -ENODEV; in __mei_cl_send()
54 rets = -ENODEV; in __mei_cl_send()
60 rets = -ENOTTY; in __mei_cl_send()
66 rets = mei_cl_vt_support_check(cl); in __mei_cl_send()
67 if (rets) in __mei_cl_send()
72 rets = -EFBIG; in __mei_cl_send()
78 rets = wait_event_interruptible(cl->tx_wait, in __mei_cl_send()
82 if (rets) { in __mei_cl_send()
84 rets = -EINTR; in __mei_cl_send()
[all …]
Dhw-txe.c1050 int rets = 0; in mei_txe_irq_thread_handler() local
1117 rets = mei_irq_read_handler(dev, &cmpl_list, &slots); in mei_txe_irq_thread_handler()
1118 if (rets && in mei_txe_irq_thread_handler()
1122 "mei_irq_read_handler ret = %d.\n", rets); in mei_txe_irq_thread_handler()
1137 rets = mei_irq_write_handler(dev, &cmpl_list); in mei_txe_irq_thread_handler()
1138 if (rets && rets != -EMSGSIZE) in mei_txe_irq_thread_handler()
1140 rets); in mei_txe_irq_thread_handler()
1147 dev_dbg(dev->dev, "interrupt thread end ret = %d\n", rets); in mei_txe_irq_thread_handler()
Dhw-me.c1285 int rets = 0; in mei_me_irq_thread_handler() local
1328 rets = mei_irq_read_handler(dev, &cmpl_list, &slots); in mei_me_irq_thread_handler()
1333 if (rets == -ENODATA) in mei_me_irq_thread_handler()
1336 if (rets) { in mei_me_irq_thread_handler()
1338 rets, dev->dev_state); in mei_me_irq_thread_handler()
1357 rets = mei_irq_write_handler(dev, &cmpl_list); in mei_me_irq_thread_handler()
1364 dev_dbg(dev->dev, "interrupt thread end ret = %d\n", rets); in mei_me_irq_thread_handler()
Dhbm.c840 int rets; in mei_hbm_add_single_tx_flow_ctrl_creds() local
849 rets = -EINVAL; in mei_hbm_add_single_tx_flow_ctrl_creds()
857 rets = 0; in mei_hbm_add_single_tx_flow_ctrl_creds()
860 return rets; in mei_hbm_add_single_tx_flow_ctrl_creds()
/linux-6.1.9/drivers/tee/optee/
Doptee_trace.h46 __array(unsigned long, rets, 4)
51 BUILD_BUG_ON(sizeof(*res) < sizeof(__entry->rets));
52 memcpy(__entry->rets, res, sizeof(__entry->rets));
56 __entry->rets[0], __entry->rets[1], __entry->rets[2],
57 __entry->rets[3])
/linux-6.1.9/tools/testing/selftests/powerpc/syscalls/
Drtas_filter.c44 __be32 *rets; /* Pointer to return values in args[]. */ member
173 __be32 *rets[16]; in rtas_call() local
195 rets[i] = (__be32 *) va_arg(ap, unsigned long); in rtas_call()
204 *(rets[0]) = be32_to_cpu(args.args[nargs]); in rtas_call()
207 *(rets[i]) = args.args[nargs + i]; in rtas_call()
221 __be32 rets[1]; in test() local
227 rc = rtas_call("get-time-of-day", 0, 1, rets); in test()
234 rc = rtas_call("nvram-fetch", 0, 1, rets); in test()
252 cpu_to_be32(rmo_end - rmo_start + 1), rets); in test()
260 cpu_to_be32(4000), rets); in test()
[all …]
/linux-6.1.9/arch/powerpc/kvm/
Dbook3s_rtas.c40 args->rets[0] = cpu_to_be32(rc); in kvm_rtas_set_xive()
65 args->rets[1] = cpu_to_be32(server); in kvm_rtas_get_xive()
66 args->rets[2] = cpu_to_be32(priority); in kvm_rtas_get_xive()
68 args->rets[0] = cpu_to_be32(rc); in kvm_rtas_get_xive()
90 args->rets[0] = cpu_to_be32(rc); in kvm_rtas_int_off()
112 args->rets[0] = cpu_to_be32(rc); in kvm_rtas_int_on()
244 orig_rets = args.rets; in kvmppc_rtas_hcall()
256 args.rets = &args.args[be32_to_cpu(args.nargs)]; in kvmppc_rtas_hcall()
272 args.rets = orig_rets; in kvmppc_rtas_hcall()
/linux-6.1.9/arch/powerpc/platforms/pseries/
Deeh_pseries.c105 int ret, rets[3]; in pseries_eeh_get_pe_config_addr() local
112 ret = rtas_call(ibm_get_config_addr_info2, 4, 2, rets, in pseries_eeh_get_pe_config_addr()
115 if (ret || (rets[0] == 0)) in pseries_eeh_get_pe_config_addr()
119 ret = rtas_call(ibm_get_config_addr_info2, 4, 2, rets, in pseries_eeh_get_pe_config_addr()
128 return rets[0]; in pseries_eeh_get_pe_config_addr()
132 ret = rtas_call(ibm_get_config_addr_info, 4, 2, rets, in pseries_eeh_get_pe_config_addr()
141 return rets[0]; in pseries_eeh_get_pe_config_addr()
557 int rets[4]; in pseries_eeh_get_state() local
561 ret = rtas_call(ibm_read_slot_reset_state2, 3, 4, rets, in pseries_eeh_get_state()
566 rets[2] = 0; in pseries_eeh_get_state()
[all …]
Dras.c481 ret = be32_to_cpu(rtas_args.rets[0]); in fwnmi_release_errinfo()
/linux-6.1.9/drivers/hid/intel-ish-hid/ishtp/
Dclient.c354 int rets; in ishtp_cl_connect() local
373 rets = wait_event_interruptible_timeout(cl->wait_ctrl_res, in ishtp_cl_connect()
395 rets = cl->status; in ishtp_cl_connect()
396 if (rets) { in ishtp_cl_connect()
398 return rets; in ishtp_cl_connect()
401 rets = ishtp_cl_device_bind(cl); in ishtp_cl_connect()
402 if (rets) { in ishtp_cl_connect()
405 return rets; in ishtp_cl_connect()
408 rets = ishtp_cl_alloc_rx_ring(cl); in ishtp_cl_connect()
409 if (rets) { in ishtp_cl_connect()
[all …]
Dclient-buffers.c232 int rets = 0; in ishtp_cl_io_rb_recycle() local
248 rets = ishtp_cl_read_start(cl); in ishtp_cl_io_rb_recycle()
250 return rets; in ishtp_cl_io_rb_recycle()
/linux-6.1.9/tools/testing/selftests/net/
Dudpgro_fwd.sh126 local rets=$?
127 if [ ${rets} -ne 0 ] || [ ${retc} -ne 0 ]; then
128 echo " fail client exit code $retc, server $rets"
175 local rets=$?
176 if [ ${rets} -ne 0 ] || [ ${retc} -ne 0 ]; then
177 echo " fail client exit code $retc, server $rets"
Dveth.sh117 local rets=$?
118 if [ ${rets} -ne 0 ] || [ ${retc} -ne 0 ]; then
119 echo " fail client exit code $retc, server $rets"
/linux-6.1.9/arch/powerpc/boot/
Doflib.c66 prom_arg_t *rets, ...) in of_call_prom_ret() argument
76 va_start(list, rets); in of_call_prom_ret()
87 if (rets != NULL) in of_call_prom_ret()
89 rets[i-1] = be32_to_cpu(args.args[nargs+i]); in of_call_prom_ret()
/linux-6.1.9/arch/hexagon/kernel/
Dstacktrace.c16 unsigned long rets; member
39 trace->entries[trace->nr_entries++] = frame->rets; in save_stack_trace()
/linux-6.1.9/tools/testing/selftests/net/mptcp/
Dmptcp_sockopt.sh198 rets=$?
200 if [ ${rets} -ne 0 ] || [ ${retc} -ne 0 ]; then
201 echo " client exit code $retc, server $rets" 1>&2
222 rets=$?
224 if [ $retc -eq 0 ] && [ $rets -eq 0 ];then
Dmptcp_connect.sh457 local rets=$?
478 if [ ${rets} -ne 0 ] || [ ${retc} -ne 0 ]; then
479 echo "[ FAIL ] client exit code $retc, server $rets" 1>&2
495 rets=$?
523 rets=1
536 rets=1
546 if [ $retc -eq 0 ] && [ $rets -eq 0 ]; then
577 [ $retc -eq 0 ] && [ $rets -eq 0 ]
Dsimult_flows.sh191 local rets=$?
205 if [ $retc -eq 0 ] && [ $rets -eq 0 ] && \
213 echo "client exit code $retc, server $rets" 1>&2
Dmptcp_join.sh976 local rets=$?
994 if [ ${rets} -ne 0 ] || [ ${retc} -ne 0 ]; then
995 echo " client exit code $retc, server $rets" 1>&2
1019 rets=$?
1021 if [ $retc -eq 0 ] && [ $rets -eq 0 ];then
/linux-6.1.9/arch/powerpc/kernel/
Drtas.c447 args->rets = &(args->args[nargs]); in va_rtas_call_unlocked()
453 args->rets[i] = 0; in va_rtas_call_unlocked()
508 if (be32_to_cpu(rtas_args->rets[0]) == -1) in rtas_call()
513 outputs[i] = be32_to_cpu(rtas_args->rets[i+1]); in rtas_call()
514 ret = (nret > 0)? be32_to_cpu(rtas_args->rets[0]): 0; in rtas_call()
1189 args.rets = &args.args[nargs]; in SYSCALL_DEFINE1()
1190 memset(args.rets, 0, nret * sizeof(rtas_arg_t)); in SYSCALL_DEFINE1()
1215 args.rets[0] = cpu_to_be32(RTAS_NOT_SUSPENDABLE); in SYSCALL_DEFINE1()
1217 args.rets[0] = cpu_to_be32(-1); in SYSCALL_DEFINE1()
1233 if (be32_to_cpu(args.rets[0]) == -1) in SYSCALL_DEFINE1()
Dprom_init.c412 prom_arg_t *rets, ...) in call_prom_ret() argument
422 va_start(list, rets); in call_prom_ret()
433 if (rets != NULL) in call_prom_ret()
435 rets[i-1] = be32_to_cpu(args.args[nargs+i]); in call_prom_ret()
/linux-6.1.9/arch/powerpc/include/asm/
Drtas-types.h14 rtas_arg_t *rets; /* Pointer to return values in args[]. */ member