Home
last modified time | relevance | path

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

/drivers/misc/mei/
Dmain.c98 int rets; in mei_release() local
107 rets = mei_amthif_release(dev, file); in mei_release()
110 rets = mei_cl_disconnect(cl); in mei_release()
122 return rets; in mei_release()
143 int rets; in mei_read() local
153 rets = -ENODEV; in mei_read()
158 rets = 0; in mei_read()
163 rets = -EMSGSIZE; in mei_read()
174 rets = mei_cl_read_start(cl, length, file); in mei_read()
175 if (rets && rets != -EBUSY) { in mei_read()
[all …]
Dclient.c877 int rets; in __mei_cl_disconnect() local
885 rets = -ENOMEM; in __mei_cl_disconnect()
890 rets = mei_cl_send_disconnect(cl, cb); in __mei_cl_disconnect()
891 if (rets) { in __mei_cl_disconnect()
904 rets = cl->status; in __mei_cl_disconnect()
908 rets = -ETIME; in __mei_cl_disconnect()
914 if (!rets) in __mei_cl_disconnect()
918 return rets; in __mei_cl_disconnect()
933 int rets; in mei_cl_disconnect() local
950 rets = pm_runtime_get(dev->dev); in mei_cl_disconnect()
[all …]
Dbus.c48 ssize_t rets; in __mei_cl_send() local
57 rets = -ENODEV; in __mei_cl_send()
62 rets = -ENODEV; in __mei_cl_send()
68 rets = -ENOTTY; in __mei_cl_send()
73 rets = -EFBIG; in __mei_cl_send()
79 rets = -ENOMEM; in __mei_cl_send()
85 rets = mei_cl_write(cl, cb, blocking); in __mei_cl_send()
90 return rets; in __mei_cl_send()
107 ssize_t rets; in __mei_cl_recv() local
116 rets = -ENODEV; in __mei_cl_recv()
[all …]
Dhw-txe.c1049 int rets = 0; in mei_txe_irq_thread_handler() local
1116 rets = mei_irq_read_handler(dev, &complete_list, &slots); in mei_txe_irq_thread_handler()
1117 if (rets && dev->dev_state != MEI_DEV_RESETTING) { in mei_txe_irq_thread_handler()
1119 "mei_irq_read_handler ret = %d.\n", rets); in mei_txe_irq_thread_handler()
1134 rets = mei_irq_write_handler(dev, &complete_list); in mei_txe_irq_thread_handler()
1135 if (rets && rets != -EMSGSIZE) in mei_txe_irq_thread_handler()
1137 rets); in mei_txe_irq_thread_handler()
1144 dev_dbg(dev->dev, "interrupt thread end ret = %d\n", rets); in mei_txe_irq_thread_handler()
Dhw-me.c1155 int rets = 0; in mei_me_irq_thread_handler() local
1186 rets = mei_irq_read_handler(dev, &complete_list, &slots); in mei_me_irq_thread_handler()
1191 if (rets == -ENODATA) in mei_me_irq_thread_handler()
1194 if (rets && dev->dev_state != MEI_DEV_RESETTING) { in mei_me_irq_thread_handler()
1196 rets); in mei_me_irq_thread_handler()
1211 rets = mei_irq_write_handler(dev, &complete_list); in mei_me_irq_thread_handler()
1218 dev_dbg(dev->dev, "interrupt thread end ret = %d\n", rets); in mei_me_irq_thread_handler()
Dhbm.c654 int rets; in mei_hbm_add_single_tx_flow_ctrl_creds() local
663 rets = -EINVAL; in mei_hbm_add_single_tx_flow_ctrl_creds()
671 rets = 0; in mei_hbm_add_single_tx_flow_ctrl_creds()
674 return rets; in mei_hbm_add_single_tx_flow_ctrl_creds()
/drivers/hid/intel-ish-hid/ishtp/
Dclient.c349 int rets; in ishtp_cl_connect() local
368 rets = wait_event_interruptible_timeout(cl->wait_ctrl_res, in ishtp_cl_connect()
390 rets = cl->status; in ishtp_cl_connect()
391 if (rets) { in ishtp_cl_connect()
393 return rets; in ishtp_cl_connect()
396 rets = ishtp_cl_device_bind(cl); in ishtp_cl_connect()
397 if (rets) { in ishtp_cl_connect()
400 return rets; in ishtp_cl_connect()
403 rets = ishtp_cl_alloc_rx_ring(cl); in ishtp_cl_connect()
404 if (rets) { in ishtp_cl_connect()
[all …]
Dclient-buffers.c237 int rets = 0; in ishtp_cl_io_rb_recycle() local
253 rets = ishtp_cl_read_start(cl); in ishtp_cl_io_rb_recycle()
255 return rets; in ishtp_cl_io_rb_recycle()