Home
last modified time | relevance | path

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

12

/linux-6.12.1/drivers/misc/mei/
Dmain.c116 int rets; in mei_release() local
130 rets = 0; in mei_release()
134 rets = mei_cl_disconnect(cl); in mei_release()
155 return rets; in mei_release()
176 ssize_t rets; in mei_read() local
186 rets = -ENODEV; in mei_read()
191 rets = 0; in mei_read()
196 rets = -EMSGSIZE; in mei_read()
207 rets = mei_cl_read_start(cl, length, file); in mei_read()
208 if (rets && rets != -EBUSY) { in mei_read()
[all …]
Dclient.c926 int rets; in __mei_cl_disconnect() local
934 rets = -ENOMEM; in __mei_cl_disconnect()
939 rets = mei_cl_send_disconnect(cl, cb); in __mei_cl_disconnect()
940 if (rets) { in __mei_cl_disconnect()
953 rets = cl->status; in __mei_cl_disconnect()
957 rets = -ETIME; in __mei_cl_disconnect()
963 if (!rets) in __mei_cl_disconnect()
967 return rets; in __mei_cl_disconnect()
982 int rets; in mei_cl_disconnect() local
1006 rets = pm_runtime_get(dev->dev); in mei_cl_disconnect()
[all …]
Dbus.c60 ssize_t rets; in __mei_cl_send_timeout() local
70 rets = -ENODEV; in __mei_cl_send_timeout()
75 rets = -ENODEV; in __mei_cl_send_timeout()
81 rets = -ENOTTY; in __mei_cl_send_timeout()
87 rets = mei_cl_vt_support_check(cl); in __mei_cl_send_timeout()
88 if (rets) in __mei_cl_send_timeout()
93 rets = -EFBIG; in __mei_cl_send_timeout()
99 rets = wait_event_interruptible(cl->tx_wait, in __mei_cl_send_timeout()
103 if (rets) { in __mei_cl_send_timeout()
105 rets = -EINTR; in __mei_cl_send_timeout()
[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.c1340 int rets = 0; in mei_me_irq_thread_handler() local
1388 rets = mei_irq_read_handler(dev, &cmpl_list, &slots); in mei_me_irq_thread_handler()
1393 if (rets == -ENODATA) in mei_me_irq_thread_handler()
1396 if (rets) { in mei_me_irq_thread_handler()
1398 rets, dev->dev_state); in mei_me_irq_thread_handler()
1417 rets = mei_irq_write_handler(dev, &cmpl_list); in mei_me_irq_thread_handler()
1424 dev_dbg(dev->dev, "interrupt thread end ret = %d\n", rets); in mei_me_irq_thread_handler()
Dhbm.c846 int rets; in mei_hbm_add_single_tx_flow_ctrl_creds() local
855 rets = -EINVAL; in mei_hbm_add_single_tx_flow_ctrl_creds()
863 rets = 0; in mei_hbm_add_single_tx_flow_ctrl_creds()
866 return rets; in mei_hbm_add_single_tx_flow_ctrl_creds()
/linux-6.12.1/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.12.1/tools/testing/selftests/powerpc/syscalls/
Drtas_filter.c45 __be32 *rets; /* Pointer to return values in args[]. */ member
112 __be32 *rets[16]; in rtas_call() local
134 rets[i] = (__be32 *) va_arg(ap, unsigned long); in rtas_call()
143 *(rets[0]) = be32_to_cpu(args.args[nargs]); in rtas_call()
146 *(rets[i]) = args.args[nargs + i]; in rtas_call()
160 __be32 rets[1]; in test() local
166 rc = rtas_call("get-time-of-day", 0, 1, rets); in test()
173 rc = rtas_call("nvram-fetch", 0, 1, rets); in test()
191 cpu_to_be32(rmo_end - rmo_start + 1), rets); in test()
199 cpu_to_be32(4000), rets); in test()
[all …]
/linux-6.12.1/drivers/hid/intel-ish-hid/ishtp/
Dclient.c357 int rets; in ishtp_cl_connect_to_fw() local
374 rets = wait_event_interruptible_timeout(cl->wait_ctrl_res, in ishtp_cl_connect_to_fw()
396 rets = cl->status; in ishtp_cl_connect_to_fw()
397 if (rets) { in ishtp_cl_connect_to_fw()
399 return rets; in ishtp_cl_connect_to_fw()
402 rets = ishtp_cl_device_bind(cl); in ishtp_cl_connect_to_fw()
403 if (rets) { in ishtp_cl_connect_to_fw()
406 return rets; in ishtp_cl_connect_to_fw()
409 return rets; in ishtp_cl_connect_to_fw()
426 int rets; in ishtp_cl_connect() local
[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.12.1/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.12.1/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 …]
Dpapr-vpd.c72 u32 rets[2]; in rtas_ibm_get_vpd() local
80 rets, in rtas_ibm_get_vpd()
98 params->sequence = rets[0]; in rtas_ibm_get_vpd()
101 params->written = rets[1]; in rtas_ibm_get_vpd()
/linux-6.12.1/tools/testing/selftests/net/mptcp/
Dmptcp_sockopt.sh190 local rets=$?
193 if [ ${rets} -ne 0 ] || [ ${retc} -ne 0 ]; then
194 mptcp_lib_pr_fail "client exit code $retc, server $rets"
207 rets=1
211 mptcp_lib_result_code "${rets}" "transfer ${ip}"
224 if [ $retc -eq 0 ] && [ $rets -eq 0 ];then
Dmptcp_connect.sh425 local rets=$?
446 if [ ${rets} -ne 0 ] || [ ${retc} -ne 0 ]; then
447 mptcp_lib_pr_fail "client exit code $retc, server $rets"
464 rets=$?
500 rets=1
515 rets=1
527 rets=1
555 if [ $retc -eq 0 ] && [ $rets -eq 0 ]; then
566 [ $retc -eq 0 ] && [ $rets -eq 0 ]
Dsimult_flows.sh175 local rets=$?
189 if [ $retc -eq 0 ] && [ $rets -eq 0 ] && \
197 echo "client exit code $retc, server $rets" 1>&2
Dmptcp_join.sh1031 local rets=$?
1040 if [ ${rets} -ne 0 ] || [ ${retc} -ne 0 ]; then
1041 fail_test "client exit code $retc, server $rets"
1063 rets=$?
1065 [ $retc -eq 0 ] && [ $rets -eq 0 ]
/linux-6.12.1/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.12.1/tools/testing/selftests/net/
Dudpgro_fwd.sh138 local rets=$?
139 if [ ${rets} -ne 0 ] || [ ${retc} -ne 0 ]; then
140 echo " fail client exit code $retc, server $rets"
187 local rets=$?
188 if [ ${rets} -ne 0 ] || [ ${retc} -ne 0 ]; then
189 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.12.1/arch/hexagon/kernel/
Dstacktrace.c16 unsigned long rets; member
39 trace->entries[trace->nr_entries++] = frame->rets; in save_stack_trace()
/linux-6.12.1/arch/powerpc/kernel/
Drtas.c1113 args->rets = &(args->args[nargs]); in va_rtas_call_unlocked()
1119 args->rets[i] = 0; in va_rtas_call_unlocked()
1254 if (be32_to_cpu(args->rets[0]) == -1) in rtas_call()
1259 outputs[i] = be32_to_cpu(args->rets[i + 1]); in rtas_call()
1260 ret = (nret > 0) ? be32_to_cpu(args->rets[0]) : 0; in rtas_call()
1712 status = be32_to_cpu(args.rets[0]); in rtas_os_term()
1936 args.rets = &args.args[nargs]; in SYSCALL_DEFINE1()
1937 memset(args.rets, 0, nret * sizeof(rtas_arg_t)); in SYSCALL_DEFINE1()
1962 args.rets[0] = cpu_to_be32(RTAS_NOT_SUSPENDABLE); in SYSCALL_DEFINE1()
1964 args.rets[0] = cpu_to_be32(-1); in SYSCALL_DEFINE1()
[all …]
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.12.1/arch/powerpc/include/asm/
Drtas-types.h14 rtas_arg_t *rets; /* Pointer to return values in args[]. */ member
Dtrace.h164 __entry->status = be32_to_cpu(rtas_args->rets[0]);
167 &rtas_args->rets[1], __entry->nr_other);

12