Home
last modified time | relevance | path

Searched refs:mei_cl (Results 1 – 12 of 12) sorted by relevance

/linux/drivers/misc/mei/
H A Dclient.h129 struct mei_cl *mei_cl_allocate(struct mei_device *dev);
131 int mei_cl_link(struct mei_cl *cl);
132 int mei_cl_unlink(struct mei_cl *cl);
134 struct mei_cl *mei_cl_alloc_linked(struct mei_device *dev);
136 struct mei_cl_cb *mei_cl_read_cb(struct mei_cl *cl, const struct file *fp);
138 void mei_cl_add_rd_completed(struct mei_cl *cl, struct mei_cl_cb *cb);
139 void mei_cl_del_rd_completed(struct mei_cl *cl, struct mei_cl_cb *cb);
141 struct mei_cl_cb *mei_cl_alloc_cb(struct mei_cl *cl, size_t length,
144 struct mei_cl_cb *mei_cl_enqueue_ctrl_wr_cb(struct mei_cl *cl, size_t length,
147 int mei_cl_flush_queues(struct mei_cl *cl, const struct file *fp);
[all …]
H A Dhbm.h12 struct mei_cl;
46 int mei_hbm_cl_flow_control_req(struct mei_device *dev, struct mei_cl *cl);
47 int mei_hbm_cl_disconnect_req(struct mei_device *dev, struct mei_cl *cl);
48 int mei_hbm_cl_disconnect_rsp(struct mei_device *dev, struct mei_cl *cl);
49 int mei_hbm_cl_connect_req(struct mei_device *dev, struct mei_cl *cl);
54 struct mei_cl *cl, u8 request);
55 int mei_hbm_cl_dma_map_req(struct mei_device *dev, struct mei_cl *cl);
56 int mei_hbm_cl_dma_unmap_req(struct mei_device *dev, struct mei_cl *cl);
H A Dclient.c367 static void mei_cl_set_read_by_fp(const struct mei_cl *cl, in mei_cl_set_read_by_fp()
389 static struct mei_cl_cb *mei_io_cb_init(struct mei_cl *cl, in mei_io_cb_init()
417 const struct mei_cl *cl) in mei_io_list_flush_cl()
438 const struct mei_cl *cl, in mei_io_tx_list_free_cl()
469 static void mei_cl_free_pending(struct mei_cl *cl) in mei_cl_free_pending()
487 struct mei_cl_cb *mei_cl_alloc_cb(struct mei_cl *cl, size_t length, in mei_cl_alloc_cb()
522 struct mei_cl_cb *mei_cl_enqueue_ctrl_wr_cb(struct mei_cl *cl, size_t length, in mei_cl_enqueue_ctrl_wr_cb()
549 struct mei_cl_cb *mei_cl_read_cb(struct mei_cl *cl, const struct file *fp) in mei_cl_read_cb()
572 int mei_cl_flush_queues(struct mei_cl *cl, const struct file *fp) in mei_cl_flush_queues()
603 static void mei_cl_init(struct mei_cl *cl, struct mei_device *dev) in mei_cl_init()
[all …]
H A Dhbm.c150 void mei_hbm_cl_hdr(struct mei_cl *cl, u8 hbm_cmd, void *buf, size_t len) in mei_hbm_cl_hdr()
172 static inline int mei_hbm_cl_write(struct mei_device *dev, struct mei_cl *cl, in mei_hbm_cl_write()
193 bool mei_hbm_cl_addr_equal(struct mei_cl *cl, struct mei_hbm_cl_cmd *cmd) in mei_hbm_cl_addr_equal()
208 struct mei_cl *mei_hbm_cl_find_by_cmd(struct mei_device *dev, void *buf) in mei_hbm_cl_find_by_cmd()
211 struct mei_cl *cl; in mei_hbm_cl_find_by_cmd()
499 struct mei_cl *cl, u8 start) in mei_hbm_cl_notify_req()
543 struct mei_cl *cl, in mei_hbm_cl_notify_start_res()
569 struct mei_cl *cl, in mei_hbm_cl_notify_stop_res()
596 struct mei_cl *cl; in mei_hbm_cl_notify()
611 int mei_hbm_cl_dma_map_req(struct mei_device *dev, struct mei_cl *cl) in mei_hbm_cl_dma_map_req()
[all …]
H A Dbus.c35 ssize_t __mei_cl_send(struct mei_cl *cl, const u8 *buf, size_t length, u8 vtag, in __mei_cl_send()
55 ssize_t __mei_cl_send_timeout(struct mei_cl *cl, const u8 *buf, size_t length, u8 vtag, in __mei_cl_send_timeout()
154 ssize_t __mei_cl_recv(struct mei_cl *cl, u8 *buf, size_t length, u8 *vtag, in __mei_cl_recv()
275 struct mei_cl *cl = cldev->cl; in mei_cldev_send_vtag()
298 struct mei_cl *cl = cldev->cl; in mei_cldev_send_vtag_timeout()
320 struct mei_cl *cl = cldev->cl; in mei_cldev_recv_vtag()
342 struct mei_cl *cl = cldev->cl; in mei_cldev_recv_nonblock_vtag()
384 struct mei_cl *cl = cldev->cl; in mei_cldev_recv_vtag_timeout()
504 bool mei_cl_bus_notify_event(struct mei_cl *cl) in mei_cl_bus_notify_event()
529 bool mei_cl_bus_rx_event(struct mei_cl *cl) in mei_cl_bus_rx_event()
[all …]
H A Dinterrupt.c32 struct mei_cl *cl; in mei_irq_compl_handler()
52 static inline int mei_cl_hbm_equal(struct mei_cl *cl, in mei_cl_hbm_equal()
93 static int mei_cl_irq_read_msg(struct mei_cl *cl, in mei_cl_irq_read_msg()
254 static int mei_cl_irq_disconnect_rsp(struct mei_cl *cl, struct mei_cl_cb *cb, in mei_cl_irq_disconnect_rsp()
286 static int mei_cl_irq_read(struct mei_cl *cl, struct mei_cl_cb *cb, in mei_cl_irq_read()
365 struct mei_cl *cl; in mei_irq_read_handler()
511 struct mei_cl *cl; in mei_irq_write_handler()
611 static void mei_connect_timeout(struct mei_cl *cl) in mei_connect_timeout()
646 struct mei_cl *cl; in mei_timer()
H A Dmei_dev.h216 struct mei_cl;
235 struct mei_cl *cl;
294 struct mei_cl { struct
398 ssize_t __mei_cl_send(struct mei_cl *cl, const u8 *buf, size_t length, u8 vtag,
400 ssize_t __mei_cl_send_timeout(struct mei_cl *cl, const u8 *buf, size_t length, u8 vtag,
402 ssize_t __mei_cl_recv(struct mei_cl *cl, u8 *buf, size_t length, u8 *vtag,
404 bool mei_cl_bus_rx_event(struct mei_cl *cl);
405 bool mei_cl_bus_notify_event(struct mei_cl *cl);
H A Dbus-fixup.c368 static int mei_nfc_if_version(struct mei_cl *cl, in mei_nfc_if_version()
452 struct mei_cl *cl; in mei_nfc()
H A Ddebugfs.c61 struct mei_cl *cl; in mei_dbgfs_active_show()
/linux/samples/mei/
H A Dmei-amt-version.c297 struct mei mei_cl; member
307 acmd->initialized = mei_init(&acmd->mei_cl, &MEI_IAMTHIF, 0, verbose); in amt_host_if_init()
313 mei_deinit(&acmd->mei_cl); in amt_host_if_deinit()
387 in_buf_sz = acmd->mei_cl.buf_size; in amt_host_if_call()
394 written = mei_send_msg(&acmd->mei_cl, in amt_host_if_call()
399 out_buf_sz = mei_recv_msg(&acmd->mei_cl, *read_buf, in_buf_sz, 2000); in amt_host_if_call()
/linux/include/linux/
H A Dmei_cl_bus.h48 struct mei_cl *cl;
/linux/Documentation/driver-api/mei/
H A Dmei-client-bus.rst92 MODULE_DEVICE_TABLE(mei_cl, contact_mei_cl_tbl);