Searched refs:rets (Results 1 – 9 of 9) sorted by relevance
/drivers/misc/mei/ |
D | main.c | 114 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 …]
|
D | client.c | 924 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 …]
|
D | bus.c | 39 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 …]
|
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 | 1285 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()
|
D | hbm.c | 840 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()
|
/drivers/tee/optee/ |
D | optee_trace.h | 46 __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])
|
/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()
|