Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/misc/mei/
Dclient.h86 struct mei_cl_cb *mei_io_cb_init(struct mei_cl *cl, enum mei_cb_file_ops type,
101 void mei_io_list_flush(struct mei_cl_cb *list, struct mei_cl *cl);
107 struct mei_cl *mei_cl_allocate(struct mei_device *dev);
108 void mei_cl_init(struct mei_cl *cl, struct mei_device *dev);
111 int mei_cl_link(struct mei_cl *cl, int id);
112 int mei_cl_unlink(struct mei_cl *cl);
114 struct mei_cl *mei_cl_alloc_linked(struct mei_device *dev, int id);
116 struct mei_cl_cb *mei_cl_read_cb(const struct mei_cl *cl,
118 void mei_cl_read_cb_flush(const struct mei_cl *cl, const struct file *fp);
119 struct mei_cl_cb *mei_cl_alloc_cb(struct mei_cl *cl, size_t length,
[all …]
Dhbm.h22 struct mei_cl;
51 int mei_hbm_cl_flow_control_req(struct mei_device *dev, struct mei_cl *cl);
52 int mei_hbm_cl_disconnect_req(struct mei_device *dev, struct mei_cl *cl);
53 int mei_hbm_cl_disconnect_rsp(struct mei_device *dev, struct mei_cl *cl);
54 int mei_hbm_cl_connect_req(struct mei_device *dev, struct mei_cl *cl);
59 struct mei_cl *cl, u8 request);
Dclient.c329 static inline bool mei_cl_cmp_id(const struct mei_cl *cl1, in mei_cl_cmp_id()
330 const struct mei_cl *cl2) in mei_cl_cmp_id()
361 struct mei_cl_cb *mei_io_cb_init(struct mei_cl *cl, enum mei_cb_file_ops type, in mei_io_cb_init()
386 struct mei_cl *cl, bool free) in __mei_io_list_flush()
406 void mei_io_list_flush(struct mei_cl_cb *list, struct mei_cl *cl) in mei_io_list_flush()
417 static inline void mei_io_list_free(struct mei_cl_cb *list, struct mei_cl *cl) in mei_io_list_free()
457 struct mei_cl_cb *mei_cl_alloc_cb(struct mei_cl *cl, size_t length, in mei_cl_alloc_cb()
483 struct mei_cl_cb *mei_cl_read_cb(const struct mei_cl *cl, const struct file *fp) in mei_cl_read_cb()
501 void mei_cl_read_cb_flush(const struct mei_cl *cl, const struct file *fp) in mei_cl_read_cb_flush()
523 int mei_cl_flush_queues(struct mei_cl *cl, const struct file *fp) in mei_cl_flush_queues()
[all …]
Dmei_dev.h199 struct mei_cl;
217 struct mei_cl *cl;
254 struct mei_cl { struct
345 ssize_t __mei_cl_send(struct mei_cl *cl, u8 *buf, size_t length,
347 ssize_t __mei_cl_recv(struct mei_cl *cl, u8 *buf, size_t length);
348 void mei_cl_bus_rx_event(struct mei_cl *cl);
349 void mei_cl_bus_notify_event(struct mei_cl *cl);
534 struct mei_cl wd_cl;
546 struct mei_cl iamthif_cl;
641 int mei_amthif_write(struct mei_cl *cl, struct mei_cl_cb *cb);
[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()
171 struct mei_cl *cl, u8 hbm_cmd, size_t len) 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()
417 struct mei_cl *cl, u8 start) in mei_hbm_cl_notify_req()
463 struct mei_cl *cl, in mei_hbm_cl_notify_start_res()
489 struct mei_cl *cl, in mei_hbm_cl_notify_stop_res()
516 struct mei_cl *cl; in mei_hbm_cl_notify()
635 int mei_hbm_cl_flow_control_req(struct mei_device *dev, struct mei_cl *cl) in mei_hbm_cl_flow_control_req()
[all …]
Damthif.c68 struct mei_cl *cl = &dev->iamthif_cl; in mei_amthif_host_init()
127 struct mei_cl *cl = file->private_data; in mei_amthif_read()
232 static int mei_amthif_read_start(struct mei_cl *cl, struct file *file) in mei_amthif_read_start()
268 static int mei_amthif_send_cmd(struct mei_cl *cl, struct mei_cl_cb *cb) in mei_amthif_send_cmd()
302 struct mei_cl *cl = &dev->iamthif_cl; in mei_amthif_run_next_cmd()
329 int mei_amthif_write(struct mei_cl *cl, struct mei_cl_cb *cb) in mei_amthif_write()
386 int mei_amthif_irq_write(struct mei_cl *cl, struct mei_cl_cb *cb, in mei_amthif_irq_write()
411 int mei_amthif_irq_read_msg(struct mei_cl *cl, in mei_amthif_irq_read_msg()
495 struct mei_cl *cl = &dev->iamthif_cl; in mei_clear_list()
Dinterrupt.c43 struct mei_cl *cl; in mei_irq_compl_handler()
66 static inline int mei_cl_hbm_equal(struct mei_cl *cl, in mei_cl_hbm_equal()
99 int mei_cl_irq_read_msg(struct mei_cl *cl, in mei_cl_irq_read_msg()
171 static int mei_cl_irq_disconnect_rsp(struct mei_cl *cl, struct mei_cl_cb *cb, in mei_cl_irq_disconnect_rsp()
201 static int mei_cl_irq_read(struct mei_cl *cl, struct mei_cl_cb *cb, in mei_cl_irq_read()
242 struct mei_cl *cl; in mei_irq_read_handler()
332 struct mei_cl *cl; in mei_irq_write_handler()
439 static void mei_connect_timeout(struct mei_cl *cl) in mei_connect_timeout()
462 struct mei_cl *cl; in mei_timer()
Dwd.c61 struct mei_cl *cl = &dev->wd_cl; in mei_wd_host_init()
102 struct mei_cl *cl = &dev->wd_cl; in mei_wd_send()
149 struct mei_cl *cl = &dev->wd_cl; in mei_wd_stop()
202 struct mei_cl *cl; in mei_wd_ops_start()
264 struct mei_cl *cl; in mei_wd_ops_ping()
Dmain.c51 struct mei_cl *cl; in mei_open()
95 struct mei_cl *cl = file->private_data; in mei_release()
138 struct mei_cl *cl = file->private_data; in mei_read()
277 struct mei_cl *cl = file->private_data; in mei_write()
381 struct mei_cl *cl; in mei_ioctl_connect_client()
459 struct mei_cl *cl = file->private_data; in mei_ioctl_client_notify_request()
478 struct mei_cl *cl = file->private_data; in mei_ioctl_client_notify_get()
503 struct mei_cl *cl = file->private_data; in mei_ioctl()
612 struct mei_cl *cl = file->private_data; in mei_poll()
671 struct mei_cl *cl = file->private_data; in mei_fasync()
Dbus.c43 ssize_t __mei_cl_send(struct mei_cl *cl, u8 *buf, size_t length, in __mei_cl_send()
104 ssize_t __mei_cl_recv(struct mei_cl *cl, u8 *buf, size_t length) in __mei_cl_recv()
187 struct mei_cl *cl = cldev->cl; in mei_cldev_send()
207 struct mei_cl *cl = cldev->cl; in mei_cldev_recv()
249 void mei_cl_bus_notify_event(struct mei_cl *cl) in mei_cl_bus_notify_event()
274 void mei_cl_bus_rx_event(struct mei_cl *cl) in mei_cl_bus_rx_event()
412 struct mei_cl *cl; in mei_cldev_enable()
462 struct mei_cl *cl; in mei_cldev_disable()
Dbus-fixup.c121 static int mei_nfc_if_version(struct mei_cl *cl, in mei_nfc_if_version()
203 struct mei_cl *cl; in mei_nfc()
Ddebugfs.c92 struct mei_cl *cl; in mei_dbgfs_read_active()
/linux-4.4.14/Documentation/misc-devices/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()
Dmei-client-bus.txt72 MODULE_DEVICE_TABLE(mei_cl, contact_mei_cl_tbl);
/linux-4.4.14/include/linux/
Dmei_cl_bus.h44 struct mei_cl *cl;