Home
last modified time | relevance | path

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

/kernel/linux/linux-5.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;
45 int mei_hbm_cl_flow_control_req(struct mei_device *dev, struct mei_cl *cl);
46 int mei_hbm_cl_disconnect_req(struct mei_device *dev, struct mei_cl *cl);
47 int mei_hbm_cl_disconnect_rsp(struct mei_device *dev, struct mei_cl *cl);
48 int mei_hbm_cl_connect_req(struct mei_device *dev, struct mei_cl *cl);
53 struct mei_cl *cl, u8 request);
Dclient.c365 static void mei_cl_set_read_by_fp(const struct mei_cl *cl, in mei_cl_set_read_by_fp()
387 static struct mei_cl_cb *mei_io_cb_init(struct mei_cl *cl, in mei_io_cb_init()
414 const struct mei_cl *cl) in mei_io_list_flush_cl()
435 const struct mei_cl *cl, in mei_io_tx_list_free_cl()
466 static void mei_cl_free_pending(struct mei_cl *cl) in mei_cl_free_pending()
484 struct mei_cl_cb *mei_cl_alloc_cb(struct mei_cl *cl, size_t length, in mei_cl_alloc_cb()
519 struct mei_cl_cb *mei_cl_enqueue_ctrl_wr_cb(struct mei_cl *cl, size_t length, in mei_cl_enqueue_ctrl_wr_cb()
546 struct mei_cl_cb *mei_cl_read_cb(struct mei_cl *cl, const struct file *fp) in mei_cl_read_cb()
569 int mei_cl_flush_queues(struct mei_cl *cl, const struct file *fp) in mei_cl_flush_queues()
600 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()
491 struct mei_cl *cl, u8 start) in mei_hbm_cl_notify_req()
535 struct mei_cl *cl, in mei_hbm_cl_notify_start_res()
561 struct mei_cl *cl, in mei_hbm_cl_notify_stop_res()
588 struct mei_cl *cl; in mei_hbm_cl_notify()
698 int mei_hbm_cl_flow_control_req(struct mei_device *dev, struct mei_cl *cl) in mei_hbm_cl_flow_control_req()
[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()
486 struct mei_cl *cl; in mei_irq_write_handler()
576 static void mei_connect_timeout(struct mei_cl *cl) in mei_connect_timeout()
611 struct mei_cl *cl; in mei_timer()
Dmain.c48 struct mei_cl *cl; in mei_open()
90 static void mei_cl_vtag_remove_by_fp(const struct mei_cl *cl, in mei_cl_vtag_remove_by_fp()
114 struct mei_cl *cl = file->private_data; in mei_release()
172 struct mei_cl *cl = file->private_data; in mei_read()
288 static u8 mei_cl_vtag_by_fp(const struct mei_cl *cl, const struct file *fp) in mei_cl_vtag_by_fp()
314 struct mei_cl *cl = file->private_data; in mei_write()
411 struct mei_cl *cl; in mei_ioctl_connect_client()
511 struct mei_cl *cl; in mei_ioctl_connect_vtag()
512 struct mei_cl *pos; in mei_ioctl_connect_vtag()
600 struct mei_cl *cl = file->private_data; in mei_ioctl_client_notify_request()
[all …]
Dbus.c33 ssize_t __mei_cl_send(struct mei_cl *cl, u8 *buf, size_t length, in __mei_cl_send()
113 ssize_t __mei_cl_recv(struct mei_cl *cl, u8 *buf, size_t length, in __mei_cl_recv()
219 struct mei_cl *cl = cldev->cl; in mei_cldev_send()
238 struct mei_cl *cl = cldev->cl; in mei_cldev_recv_nonblock()
255 struct mei_cl *cl = cldev->cl; in mei_cldev_recv()
306 bool mei_cl_bus_notify_event(struct mei_cl *cl) in mei_cl_bus_notify_event()
331 bool mei_cl_bus_rx_event(struct mei_cl *cl) in mei_cl_bus_rx_event()
506 static inline struct mei_cl_vtag *mei_cl_bus_vtag(struct mei_cl *cl) in mei_cl_bus_vtag()
523 struct mei_cl *cl = cldev->cl; in mei_cl_bus_vtag_alloc()
549 struct mei_cl *cl = cldev->cl; in mei_cl_bus_vtag_free()
[all …]
Dmei_dev.h167 struct mei_cl;
185 struct mei_cl *cl;
241 struct mei_cl { struct
343 ssize_t __mei_cl_send(struct mei_cl *cl, u8 *buf, size_t length,
345 ssize_t __mei_cl_recv(struct mei_cl *cl, u8 *buf, size_t length,
347 bool mei_cl_bus_rx_event(struct mei_cl *cl);
348 bool mei_cl_bus_notify_event(struct mei_cl *cl);
Dbus-fixup.c316 static int mei_nfc_if_version(struct mei_cl *cl, in mei_nfc_if_version()
397 struct mei_cl *cl; in mei_nfc()
Ddebugfs.c61 struct mei_cl *cl; in mei_dbgfs_active_show()
/kernel/linux/linux-5.10/samples/mei/
Dmei-amt-version.c288 struct mei mei_cl; member
298 acmd->initialized = mei_init(&acmd->mei_cl, &MEI_IAMTHIF, 0, verbose); in amt_host_if_init()
304 mei_deinit(&acmd->mei_cl); in amt_host_if_deinit()
378 in_buf_sz = acmd->mei_cl.buf_size; in amt_host_if_call()
385 written = mei_send_msg(&acmd->mei_cl, in amt_host_if_call()
390 out_buf_sz = mei_recv_msg(&acmd->mei_cl, *read_buf, in_buf_sz, 2000); in amt_host_if_call()
/kernel/linux/linux-5.10/include/linux/
Dmei_cl_bus.h47 struct mei_cl *cl;
/kernel/linux/linux-5.10/Documentation/driver-api/mei/
Dmei-client-bus.rst92 MODULE_DEVICE_TABLE(mei_cl, contact_mei_cl_tbl);