Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/misc/mei/
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 …]
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);
Dclient.c366 static void mei_cl_set_read_by_fp(const struct mei_cl *cl, in mei_cl_set_read_by_fp()
388 static struct mei_cl_cb *mei_io_cb_init(struct mei_cl *cl, in mei_io_cb_init()
415 const struct mei_cl *cl) in mei_io_list_flush_cl()
436 const struct mei_cl *cl, in mei_io_tx_list_free_cl()
467 static void mei_cl_free_pending(struct mei_cl *cl) in mei_cl_free_pending()
485 struct mei_cl_cb *mei_cl_alloc_cb(struct mei_cl *cl, size_t length, in mei_cl_alloc_cb()
520 struct mei_cl_cb *mei_cl_enqueue_ctrl_wr_cb(struct mei_cl *cl, size_t length, in mei_cl_enqueue_ctrl_wr_cb()
547 struct mei_cl_cb *mei_cl_read_cb(struct mei_cl *cl, const struct file *fp) in mei_cl_read_cb()
570 int mei_cl_flush_queues(struct mei_cl *cl, const struct file *fp) in mei_cl_flush_queues()
601 static void mei_cl_init(struct mei_cl *cl, struct mei_device *dev) in mei_cl_init()
[all …]
Dhbm.c148 void mei_hbm_cl_hdr(struct mei_cl *cl, u8 hbm_cmd, void *buf, size_t len) in mei_hbm_cl_hdr()
170 static inline int mei_hbm_cl_write(struct mei_device *dev, struct mei_cl *cl, in mei_hbm_cl_write()
191 bool mei_hbm_cl_addr_equal(struct mei_cl *cl, struct mei_hbm_cl_cmd *cmd) in mei_hbm_cl_addr_equal()
206 struct mei_cl *mei_hbm_cl_find_by_cmd(struct mei_device *dev, void *buf) in mei_hbm_cl_find_by_cmd()
209 struct mei_cl *cl; in mei_hbm_cl_find_by_cmd()
493 struct mei_cl *cl, u8 start) in mei_hbm_cl_notify_req()
537 struct mei_cl *cl, in mei_hbm_cl_notify_start_res()
563 struct mei_cl *cl, in mei_hbm_cl_notify_stop_res()
590 struct mei_cl *cl; in mei_hbm_cl_notify()
605 int mei_hbm_cl_dma_map_req(struct mei_device *dev, struct mei_cl *cl) in mei_hbm_cl_dma_map_req()
[all …]
Dbus.c34 ssize_t __mei_cl_send(struct mei_cl *cl, const u8 *buf, size_t length, u8 vtag, in __mei_cl_send()
124 ssize_t __mei_cl_recv(struct mei_cl *cl, u8 *buf, size_t length, u8 *vtag, in __mei_cl_recv()
238 struct mei_cl *cl = cldev->cl; in mei_cldev_send_vtag()
260 struct mei_cl *cl = cldev->cl; in mei_cldev_recv_vtag()
282 struct mei_cl *cl = cldev->cl; in mei_cldev_recv_nonblock_vtag()
383 bool mei_cl_bus_notify_event(struct mei_cl *cl) in mei_cl_bus_notify_event()
408 bool mei_cl_bus_rx_event(struct mei_cl *cl) in mei_cl_bus_rx_event()
592 static inline struct mei_cl_vtag *mei_cl_bus_vtag(struct mei_cl *cl) in mei_cl_bus_vtag()
609 struct mei_cl *cl = cldev->cl; in mei_cl_bus_vtag_alloc()
635 struct mei_cl *cl = cldev->cl; in mei_cl_bus_vtag_free()
[all …]
Dmain.c48 struct mei_cl *cl; in mei_open()
88 static void mei_cl_vtag_remove_by_fp(const struct mei_cl *cl, in mei_cl_vtag_remove_by_fp()
112 struct mei_cl *cl = file->private_data; in mei_release()
170 struct mei_cl *cl = file->private_data; in mei_read()
286 static u8 mei_cl_vtag_by_fp(const struct mei_cl *cl, const struct file *fp) in mei_cl_vtag_by_fp()
312 struct mei_cl *cl = file->private_data; in mei_write()
409 struct mei_cl *cl; in mei_ioctl_connect_client()
509 struct mei_cl *cl; in mei_ioctl_connect_vtag()
510 struct mei_cl *pos; in mei_ioctl_connect_vtag()
598 struct mei_cl *cl = file->private_data; in mei_ioctl_client_notify_request()
[all …]
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()
221 static int mei_cl_irq_disconnect_rsp(struct mei_cl *cl, struct mei_cl_cb *cb, in mei_cl_irq_disconnect_rsp()
253 static int mei_cl_irq_read(struct mei_cl *cl, struct mei_cl_cb *cb, in mei_cl_irq_read()
332 struct mei_cl *cl; in mei_irq_read_handler()
478 struct mei_cl *cl; in mei_irq_write_handler()
578 static void mei_connect_timeout(struct mei_cl *cl) in mei_connect_timeout()
613 struct mei_cl *cl; in mei_timer()
Dmei_dev.h179 struct mei_cl;
197 struct mei_cl *cl;
255 struct mei_cl { struct
359 ssize_t __mei_cl_send(struct mei_cl *cl, const u8 *buf, size_t length, u8 vtag,
361 ssize_t __mei_cl_recv(struct mei_cl *cl, u8 *buf, size_t length, u8 *vtag,
363 bool mei_cl_bus_rx_event(struct mei_cl *cl);
364 bool mei_cl_bus_notify_event(struct mei_cl *cl);
Dbus-fixup.c342 static int mei_nfc_if_version(struct mei_cl *cl, in mei_nfc_if_version()
426 struct mei_cl *cl; in mei_nfc()
Ddebugfs.c61 struct mei_cl *cl; in mei_dbgfs_active_show()
/linux-5.19.10/samples/mei/
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-5.19.10/include/linux/
Dmei_cl_bus.h47 struct mei_cl *cl;
/linux-5.19.10/Documentation/driver-api/mei/
Dmei-client-bus.rst92 MODULE_DEVICE_TABLE(mei_cl, contact_mei_cl_tbl);