Home
last modified time | relevance | path

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

/linux/drivers/misc/mei/
A Dmain.c114 int rets; in mei_release() local
128 rets = 0; in mei_release()
189 rets = 0; in mei_read()
206 if (rets && rets != -EBUSY) { in mei_read()
233 rets = 0; in mei_read()
248 rets = 0; in mei_read()
346 rets = 0; in mei_write()
410 int rets; in mei_ioctl_connect_client() local
620 int rets; in mei_ioctl_client_notify_get() local
623 if (rets) in mei_ioctl_client_notify_get()
[all …]
A Dclient.c921 int rets; in __mei_cl_disconnect() local
977 int rets; in mei_cl_disconnect() local
1002 if (rets < 0 && rets != -EINPROGRESS) { in mei_cl_disconnect()
1085 int rets; in mei_cl_irq_connect() local
1099 if (rets) in mei_cl_irq_connect()
1139 if (rets < 0 && rets != -EINPROGRESS) { in mei_cl_connect()
1536 if (rets < 0 && rets != -EINPROGRESS) { in mei_cl_notify_request()
1702 if (rets < 0 && rets != -EINPROGRESS) { in mei_cl_read_start()
1962 if (rets < 0 && rets != -EINPROGRESS) { in mei_cl_write()
2304 if (rets < 0 && rets != -EINPROGRESS) { in mei_cl_dma_alloc_and_map()
[all …]
A Dbus.c39 ssize_t rets; in __mei_cl_send() local
49 rets = -ENODEV; in __mei_cl_send()
54 rets = -ENODEV; in __mei_cl_send()
67 if (rets) in __mei_cl_send()
72 rets = -EFBIG; in __mei_cl_send()
82 if (rets) { in __mei_cl_send()
109 return rets; in __mei_cl_send()
130 ssize_t rets; in __mei_cl_recv() local
150 if (rets && rets != -EBUSY) in __mei_cl_recv()
198 rets = 0; in __mei_cl_recv()
[all …]
A Dhw-txe.c1054 int rets = 0; in mei_txe_irq_thread_handler() local
1121 rets = mei_irq_read_handler(dev, &cmpl_list, &slots); in mei_txe_irq_thread_handler()
1122 if (rets && in mei_txe_irq_thread_handler()
1126 "mei_irq_read_handler ret = %d.\n", rets); in mei_txe_irq_thread_handler()
1141 rets = mei_irq_write_handler(dev, &cmpl_list); in mei_txe_irq_thread_handler()
1142 if (rets && rets != -EMSGSIZE) in mei_txe_irq_thread_handler()
1144 rets); in mei_txe_irq_thread_handler()
1151 dev_dbg(dev->dev, "interrupt thread end ret = %d\n", rets); in mei_txe_irq_thread_handler()
A Dhw-me.c1246 int rets = 0; in mei_me_irq_thread_handler() local
1284 rets = mei_irq_read_handler(dev, &cmpl_list, &slots); in mei_me_irq_thread_handler()
1289 if (rets == -ENODATA) in mei_me_irq_thread_handler()
1292 if (rets && in mei_me_irq_thread_handler()
1296 rets); in mei_me_irq_thread_handler()
1311 rets = mei_irq_write_handler(dev, &cmpl_list); in mei_me_irq_thread_handler()
1318 dev_dbg(dev->dev, "interrupt thread end ret = %d\n", rets); in mei_me_irq_thread_handler()
A Dhbm.c832 int rets; in mei_hbm_add_single_tx_flow_ctrl_creds() local
841 rets = -EINVAL; in mei_hbm_add_single_tx_flow_ctrl_creds()
849 rets = 0; in mei_hbm_add_single_tx_flow_ctrl_creds()
852 return rets; in mei_hbm_add_single_tx_flow_ctrl_creds()
/linux/drivers/tee/optee/
A 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/tools/testing/selftests/powerpc/syscalls/
A 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/arch/powerpc/kvm/
A 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/drivers/hid/intel-ish-hid/ishtp/
A Dclient.c354 int rets; in ishtp_cl_connect() local
396 if (rets) { in ishtp_cl_connect()
398 return rets; in ishtp_cl_connect()
402 if (rets) { in ishtp_cl_connect()
405 return rets; in ishtp_cl_connect()
409 if (rets) { in ishtp_cl_connect()
417 if (rets) { in ishtp_cl_connect()
430 return rets; in ishtp_cl_connect()
448 int rets; in ishtp_cl_read_start() local
489 rets = 0; in ishtp_cl_read_start()
[all …]
A 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/arch/powerpc/platforms/pseries/
A Deeh_pseries.c103 int ret, rets[3]; in pseries_eeh_get_pe_config_addr() local
113 if (ret || (rets[0] == 0)) in pseries_eeh_get_pe_config_addr()
126 return rets[0]; in pseries_eeh_get_pe_config_addr()
130 ret = rtas_call(ibm_get_config_addr_info, 4, 2, rets, in pseries_eeh_get_pe_config_addr()
139 return rets[0]; in pseries_eeh_get_pe_config_addr()
555 int rets[4]; in pseries_eeh_get_state() local
564 rets[2] = 0; in pseries_eeh_get_state()
576 if (!rets[1]) in pseries_eeh_get_state()
579 switch(rets[0]) { in pseries_eeh_get_state()
596 if (rets[2]) { in pseries_eeh_get_state()
[all …]
A Dras.c473 ret = be32_to_cpu(rtas_args.rets[0]); in fwnmi_release_errinfo()
/linux/tools/testing/selftests/net/
A Dudpgro_fwd.sh125 local rets=$?
126 if [ ${rets} -ne 0 ] || [ ${retc} -ne 0 ]; then
127 echo " fail client exit code $retc, server $rets"
174 local rets=$?
175 if [ ${rets} -ne 0 ] || [ ${retc} -ne 0 ]; then
176 echo " fail client exit code $retc, server $rets"
A Dveth.sh116 local rets=$?
117 if [ ${rets} -ne 0 ] || [ ${retc} -ne 0 ]; then
118 echo " fail client exit code $retc, server $rets"
/linux/arch/powerpc/kernel/
A Drtas.c433 args->rets = &(args->args[nargs]); in va_rtas_call_unlocked()
439 args->rets[i] = 0; in va_rtas_call_unlocked()
476 if (be32_to_cpu(rtas_args->rets[0]) == -1) in rtas_call()
481 outputs[i] = be32_to_cpu(rtas_args->rets[i+1]); in rtas_call()
879 outputs[i] = be32_to_cpu(args->rets[i + 1]); in rtas_call_reentrant()
882 ret = be32_to_cpu(args->rets[0]); in rtas_call_reentrant()
1118 args.rets = &args.args[nargs]; in SYSCALL_DEFINE1()
1119 memset(args.rets, 0, nret * sizeof(rtas_arg_t)); in SYSCALL_DEFINE1()
1136 args.rets[0] = cpu_to_be32(RTAS_NOT_SUSPENDABLE); in SYSCALL_DEFINE1()
1138 args.rets[0] = cpu_to_be32(-1); in SYSCALL_DEFINE1()
[all …]
A Dprom_init.c416 prom_arg_t *rets, ...) in call_prom_ret() argument
426 va_start(list, rets); in call_prom_ret()
437 if (rets != NULL) in call_prom_ret()
439 rets[i-1] = be32_to_cpu(args.args[nargs+i]); in call_prom_ret()
/linux/arch/powerpc/boot/
A 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/tools/testing/selftests/net/mptcp/
A Dmptcp_sockopt.sh197 rets=$?
199 if [ ${rets} -ne 0 ] || [ ${retc} -ne 0 ]; then
200 echo " client exit code $retc, server $rets" 1>&2
221 rets=$?
223 if [ $retc -eq 0 ] && [ $rets -eq 0 ];then
A Dmptcp_connect.sh468 local rets=$?
489 if [ ${rets} -ne 0 ] || [ ${retc} -ne 0 ]; then
490 echo "[ FAIL ] client exit code $retc, server $rets" 1>&2
506 rets=$?
534 rets=1
540 if [ $retc -eq 0 ] && [ $rets -eq 0 ]; then
571 [ $retc -eq 0 ] && [ $rets -eq 0 ]
A Dsimult_flows.sh179 local rets=$?
193 if [ $retc -eq 0 ] && [ $rets -eq 0 ] && \
201 echo "client exit code $retc, server $rets" 1>&2
A Dmptcp_join.sh440 rets=$?
452 if [ ${rets} -ne 0 ] || [ ${retc} -ne 0 ]; then
453 echo " client exit code $retc, server $rets" 1>&2
477 rets=$?
479 if [ $retc -eq 0 ] && [ $rets -eq 0 ];then
/linux/arch/hexagon/kernel/
A Dstacktrace.c16 unsigned long rets; member
39 trace->entries[trace->nr_entries++] = frame->rets; in save_stack_trace()
/linux/arch/powerpc/include/asm/
A Drtas-types.h14 rtas_arg_t *rets; /* Pointer to return values in args[]. */ member

Completed in 61 milliseconds