Home
last modified time | relevance | path

Searched refs:mei_cl_cb (Results 1 – 9 of 9) sorted by relevance

/drivers/misc/mei/
Dmei_dev.h177 struct mei_cl_cb { struct
205 struct mei_cl_cb *read_cb; argument
349 struct mei_cl_cb read_list; /* driver read queue */
350 struct mei_cl_cb write_list; /* driver write queue */
351 struct mei_cl_cb write_waiting_list; /* write waiting queue */
352 struct mei_cl_cb ctrl_wr_list; /* managed write IOCTL list */
353 struct mei_cl_cb ctrl_rd_list; /* managed read IOCTL list */
417 struct mei_cl_cb amthif_cmd_list;
419 struct mei_cl_cb amthif_rd_complete_list;
422 struct mei_cl_cb *iamthif_current_cb;
[all …]
Dclient.h33 struct mei_cl_cb *mei_io_cb_init(struct mei_cl *cl, struct file *fp);
34 void mei_io_cb_free(struct mei_cl_cb *priv_cb);
35 int mei_io_cb_alloc_req_buf(struct mei_cl_cb *cb, size_t length);
36 int mei_io_cb_alloc_resp_buf(struct mei_cl_cb *cb, size_t length);
44 static inline void mei_io_list_init(struct mei_cl_cb *list) in mei_io_list_init()
48 void mei_io_list_flush(struct mei_cl_cb *list, struct mei_cl *cl);
62 struct mei_cl_cb *mei_cl_find_read_cb(struct mei_cl *cl);
91 int mei_cl_write(struct mei_cl *cl, struct mei_cl_cb *cb, bool blocking);
Dinterrupt.c39 static void mei_cl_complete_handler(struct mei_cl *cl, struct mei_cl_cb *cb) in mei_cl_complete_handler()
66 void mei_irq_compl_handler(struct mei_device *dev, struct mei_cl_cb *compl_list) in mei_irq_compl_handler()
68 struct mei_cl_cb *cb, *next; in mei_irq_compl_handler()
127 struct mei_cl_cb *complete_list) in mei_cl_irq_read_msg()
130 struct mei_cl_cb *cb, *next; in mei_cl_irq_read_msg()
203 struct mei_cl_cb *cb_pos, in _mei_irq_thread_close()
205 struct mei_cl_cb *cmpl_list) in _mei_irq_thread_close()
244 struct mei_cl_cb *cb_pos, in _mei_irq_thread_read()
246 struct mei_cl_cb *cmpl_list) in _mei_irq_thread_read()
282 struct mei_cl_cb *cb_pos, in _mei_irq_thread_ioctl()
[all …]
Dclient.c82 void mei_io_list_flush(struct mei_cl_cb *list, struct mei_cl *cl) in mei_io_list_flush()
84 struct mei_cl_cb *cb; in mei_io_list_flush()
85 struct mei_cl_cb *next; in mei_io_list_flush()
98 void mei_io_cb_free(struct mei_cl_cb *cb) in mei_io_cb_free()
116 struct mei_cl_cb *mei_io_cb_init(struct mei_cl *cl, struct file *fp) in mei_io_cb_init()
118 struct mei_cl_cb *cb; in mei_io_cb_init()
120 cb = kzalloc(sizeof(struct mei_cl_cb), GFP_KERNEL); in mei_io_cb_init()
142 int mei_io_cb_alloc_req_buf(struct mei_cl_cb *cb, size_t length) in mei_io_cb_alloc_req_buf()
166 int mei_io_cb_alloc_resp_buf(struct mei_cl_cb *cb, size_t length) in mei_io_cb_alloc_resp_buf()
250 struct mei_cl_cb *mei_cl_find_read_cb(struct mei_cl *cl) in mei_cl_find_read_cb()
[all …]
Damthif.c132 struct mei_cl_cb *mei_amthif_find_read_list_entry(struct mei_device *dev, in mei_amthif_find_read_list_entry()
135 struct mei_cl_cb *pos = NULL; in mei_amthif_find_read_list_entry()
136 struct mei_cl_cb *next = NULL; in mei_amthif_find_read_list_entry()
170 struct mei_cl_cb *cb = NULL; in mei_amthif_read()
277 static int mei_amthif_send_cmd(struct mei_device *dev, struct mei_cl_cb *cb) in mei_amthif_send_cmd()
351 int mei_amthif_write(struct mei_device *dev, struct mei_cl_cb *cb) in mei_amthif_write()
383 struct mei_cl_cb *pos = NULL; in mei_amthif_run_next_cmd()
384 struct mei_cl_cb *next = NULL; in mei_amthif_run_next_cmd()
447 struct mei_cl_cb *cb, struct mei_cl_cb *cmpl_list) in mei_amthif_irq_write_complete()
516 struct mei_cl_cb *complete_list) in mei_amthif_irq_read_msg()
[all …]
Dmain.c119 struct mei_cl_cb *cb; in mei_release()
194 struct mei_cl_cb *cb_pos = NULL; in mei_read()
195 struct mei_cl_cb *cb = NULL; in mei_read()
343 struct mei_cl_cb *write_cb = NULL; in mei_write()
Dbus.c231 struct mei_cl_cb *cb; in ___mei_cl_send()
277 struct mei_cl_cb *cb; in __mei_cl_recv()
483 struct mei_cl_cb *cb = NULL; in mei_cl_disable_device()
Dhbm.c398 struct mei_cl_cb *pos = NULL, *next = NULL; in mei_hbm_cl_disconnect_res()
460 struct mei_cl_cb *pos = NULL, *next = NULL; in mei_hbm_cl_connect_res()
Dhw-me.c468 struct mei_cl_cb complete_list; in mei_me_irq_thread_handler()