/Linux-v5.4/drivers/misc/mei/ |
D | main.c | 95 int rets; in mei_release() local 104 rets = mei_cl_disconnect(cl); in mei_release() 116 return rets; in mei_release() 137 ssize_t rets; in mei_read() local 147 rets = -ENODEV; in mei_read() 152 rets = 0; in mei_read() 157 rets = -EMSGSIZE; in mei_read() 168 rets = mei_cl_read_start(cl, length, file); in mei_read() 169 if (rets && rets != -EBUSY) { in mei_read() 170 cl_dbg(dev, cl, "mei start read failure status = %zd\n", rets); in mei_read() [all …]
|
D | client.c | 869 int rets; in __mei_cl_disconnect() local 877 rets = -ENOMEM; in __mei_cl_disconnect() 882 rets = mei_cl_send_disconnect(cl, cb); in __mei_cl_disconnect() 883 if (rets) { in __mei_cl_disconnect() 896 rets = cl->status; in __mei_cl_disconnect() 900 rets = -ETIME; in __mei_cl_disconnect() 906 if (!rets) in __mei_cl_disconnect() 910 return rets; in __mei_cl_disconnect() 925 int rets; in mei_cl_disconnect() local 948 rets = pm_runtime_get(dev->dev); in mei_cl_disconnect() [all …]
|
D | bus.c | 38 ssize_t rets; in __mei_cl_send() local 47 rets = -ENODEV; in __mei_cl_send() 52 rets = -ENODEV; in __mei_cl_send() 58 rets = -ENOTTY; in __mei_cl_send() 63 rets = -EFBIG; in __mei_cl_send() 69 rets = wait_event_interruptible(cl->tx_wait, in __mei_cl_send() 73 if (rets) { in __mei_cl_send() 75 rets = -EINTR; in __mei_cl_send() 79 rets = -ENODEV; in __mei_cl_send() 86 rets = -ENOMEM; in __mei_cl_send() [all …]
|
D | hw-txe.c | 1050 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()
|
D | hw-me.c | 1217 int rets = 0; in mei_me_irq_thread_handler() local 1255 rets = mei_irq_read_handler(dev, &cmpl_list, &slots); in mei_me_irq_thread_handler() 1260 if (rets == -ENODATA) in mei_me_irq_thread_handler() 1263 if (rets && in mei_me_irq_thread_handler() 1267 rets); in mei_me_irq_thread_handler() 1282 rets = mei_irq_write_handler(dev, &cmpl_list); in mei_me_irq_thread_handler() 1289 dev_dbg(dev->dev, "interrupt thread end ret = %d\n", rets); in mei_me_irq_thread_handler()
|
D | hbm.c | 700 int rets; in mei_hbm_add_single_tx_flow_ctrl_creds() local 709 rets = -EINVAL; in mei_hbm_add_single_tx_flow_ctrl_creds() 717 rets = 0; in mei_hbm_add_single_tx_flow_ctrl_creds() 720 return rets; in mei_hbm_add_single_tx_flow_ctrl_creds()
|
/Linux-v5.4/arch/powerpc/kvm/ |
D | book3s_rtas.c | 40 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() 242 orig_rets = args.rets; in kvmppc_rtas_hcall() 243 args.rets = &args.args[be32_to_cpu(args.nargs)]; in kvmppc_rtas_hcall() 259 args.rets = orig_rets; in kvmppc_rtas_hcall()
|
/Linux-v5.4/arch/powerpc/platforms/pseries/ |
D | eeh_pseries.c | 384 int rets[3]; in pseries_eeh_get_pe_addr() local 392 ret = rtas_call(ibm_get_config_addr_info2, 4, 2, rets, in pseries_eeh_get_pe_addr() 395 if (ret || (rets[0] == 0)) in pseries_eeh_get_pe_addr() 399 ret = rtas_call(ibm_get_config_addr_info2, 4, 2, rets, in pseries_eeh_get_pe_addr() 408 return rets[0]; in pseries_eeh_get_pe_addr() 412 ret = rtas_call(ibm_get_config_addr_info, 4, 2, rets, in pseries_eeh_get_pe_addr() 421 return rets[0]; in pseries_eeh_get_pe_addr() 444 int rets[4]; in pseries_eeh_get_state() local 453 ret = rtas_call(ibm_read_slot_reset_state2, 3, 4, rets, in pseries_eeh_get_state() 458 rets[2] = 0; in pseries_eeh_get_state() [all …]
|
/Linux-v5.4/drivers/hid/intel-ish-hid/ishtp/ |
D | client.c | 354 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 …]
|
D | client-buffers.c | 232 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-v5.4/arch/powerpc/boot/ |
D | oflib.c | 66 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-v5.4/arch/hexagon/kernel/ |
D | stacktrace.c | 18 unsigned long rets; member 41 trace->entries[trace->nr_entries++] = frame->rets; in save_stack_trace()
|
/Linux-v5.4/arch/powerpc/kernel/ |
D | rtas.c | 424 args->rets = &(args->args[nargs]); in va_rtas_call_unlocked() 430 args->rets[i] = 0; in va_rtas_call_unlocked() 467 if (be32_to_cpu(rtas_args->rets[0]) == -1) in rtas_call() 472 outputs[i] = be32_to_cpu(rtas_args->rets[i+1]); in rtas_call() 473 ret = (nret > 0)? be32_to_cpu(rtas_args->rets[0]): 0; in rtas_call() 1095 args.rets = &args.args[nargs]; in SYSCALL_DEFINE1() 1096 memset(args.rets, 0, nret * sizeof(rtas_arg_t)); in SYSCALL_DEFINE1() 1110 args.rets[0] = cpu_to_be32(RTAS_NOT_SUSPENDABLE); in SYSCALL_DEFINE1() 1112 args.rets[0] = cpu_to_be32(-1); in SYSCALL_DEFINE1() 1128 if (be32_to_cpu(args.rets[0]) == -1) in SYSCALL_DEFINE1()
|
D | prom_init.c | 386 prom_arg_t *rets, ...) in call_prom_ret() argument 396 va_start(list, rets); in call_prom_ret() 407 if (rets != NULL) in call_prom_ret() 409 rets[i-1] = be32_to_cpu(args.args[nargs+i]); in call_prom_ret()
|
/Linux-v5.4/arch/powerpc/include/asm/ |
D | rtas.h | 52 rtas_arg_t *rets; /* Pointer to return values in args[]. */ member
|