Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/misc/mei/
Dclient.h50 struct mei_cl_cb *mei_io_cb_init(struct mei_cl *cl, enum mei_cb_file_ops type,
65 void mei_io_list_flush(struct mei_cl_cb *list, struct mei_cl *cl);
71 struct mei_cl *mei_cl_allocate(struct mei_device *dev);
72 void mei_cl_init(struct mei_cl *cl, struct mei_device *dev);
75 int mei_cl_link(struct mei_cl *cl, int id);
76 int mei_cl_unlink(struct mei_cl *cl);
78 struct mei_cl *mei_cl_alloc_linked(struct mei_device *dev, int id);
80 struct mei_cl_cb *mei_cl_read_cb(const struct mei_cl *cl,
82 void mei_cl_read_cb_flush(const struct mei_cl *cl, const struct file *fp);
83 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);
Dclient.c315 static inline bool mei_cl_cmp_id(const struct mei_cl *cl1, in mei_cl_cmp_id()
316 const struct mei_cl *cl2) in mei_cl_cmp_id()
347 struct mei_cl_cb *mei_io_cb_init(struct mei_cl *cl, enum mei_cb_file_ops type, in mei_io_cb_init()
372 struct mei_cl *cl, bool free) in __mei_io_list_flush()
392 void mei_io_list_flush(struct mei_cl_cb *list, struct mei_cl *cl) in mei_io_list_flush()
403 static inline void mei_io_list_free(struct mei_cl_cb *list, struct mei_cl *cl) in mei_io_list_free()
443 struct mei_cl_cb *mei_cl_alloc_cb(struct mei_cl *cl, size_t length, in mei_cl_alloc_cb()
469 struct mei_cl_cb *mei_cl_read_cb(const struct mei_cl *cl, const struct file *fp) in mei_cl_read_cb()
487 void mei_cl_read_cb_flush(const struct mei_cl *cl, const struct file *fp) in mei_cl_read_cb_flush()
509 int mei_cl_flush_queues(struct mei_cl *cl, const struct file *fp) in mei_cl_flush_queues()
[all …]
Dmei_dev.h189 struct mei_cl;
207 struct mei_cl *cl;
241 struct mei_cl { struct
354 ssize_t __mei_cl_async_send(struct mei_cl *cl, u8 *buf, size_t length);
355 ssize_t __mei_cl_send(struct mei_cl *cl, u8 *buf, size_t length);
356 ssize_t __mei_cl_recv(struct mei_cl *cl, u8 *buf, size_t length);
357 void mei_cl_bus_rx_event(struct mei_cl *cl);
361 struct mei_cl *mei_cl_bus_find_cl_by_uuid(struct mei_device *dev, uuid_le uuid);
384 struct mei_cl *cl;
567 struct mei_cl wd_cl;
[all …]
Dbus.c143 struct mei_cl *mei_cl_bus_find_cl_by_uuid(struct mei_device *dev, in mei_cl_bus_find_cl_by_uuid()
146 struct mei_cl *cl; in mei_cl_bus_find_cl_by_uuid()
160 struct mei_cl *cl; in mei_cl_add_device()
227 static ssize_t ___mei_cl_send(struct mei_cl *cl, u8 *buf, size_t length, in ___mei_cl_send()
277 ssize_t __mei_cl_recv(struct mei_cl *cl, u8 *buf, size_t length) in __mei_cl_recv()
344 inline ssize_t __mei_cl_async_send(struct mei_cl *cl, u8 *buf, size_t length) in __mei_cl_async_send()
349 inline ssize_t __mei_cl_send(struct mei_cl *cl, u8 *buf, size_t length) in __mei_cl_send()
356 struct mei_cl *cl = device->cl; in mei_cl_send()
370 struct mei_cl *cl = device->cl; in mei_cl_recv()
430 struct mei_cl *cl = device->cl; in mei_cl_enable_device()
[all …]
Dhbm.c146 void mei_hbm_cl_hdr(struct mei_cl *cl, u8 hbm_cmd, void *buf, size_t len) in mei_hbm_cl_hdr()
169 struct mei_cl *cl, u8 hbm_cmd, size_t len) in mei_hbm_cl_write()
189 bool mei_hbm_cl_addr_equal(struct mei_cl *cl, struct mei_hbm_cl_cmd *cmd) in mei_hbm_cl_addr_equal()
204 struct mei_cl *mei_hbm_cl_find_by_cmd(struct mei_device *dev, void *buf) in mei_hbm_cl_find_by_cmd()
207 struct mei_cl *cl; in mei_hbm_cl_find_by_cmd()
458 int mei_hbm_cl_flow_control_req(struct mei_device *dev, struct mei_cl *cl) in mei_hbm_cl_flow_control_req()
511 struct mei_cl *cl; in mei_hbm_cl_flow_control_res()
536 int mei_hbm_cl_disconnect_req(struct mei_device *dev, struct mei_cl *cl) in mei_hbm_cl_disconnect_req()
551 int mei_hbm_cl_disconnect_rsp(struct mei_device *dev, struct mei_cl *cl) in mei_hbm_cl_disconnect_rsp()
566 static void mei_hbm_cl_disconnect_res(struct mei_device *dev, struct mei_cl *cl, in mei_hbm_cl_disconnect_res()
[all …]
Damthif.c67 struct mei_cl *cl = &dev->iamthif_cl; in mei_amthif_host_init()
144 struct mei_cl *cl = file->private_data; in mei_amthif_read()
249 static int mei_amthif_read_start(struct mei_cl *cl, struct file *file) in mei_amthif_read_start()
286 static int mei_amthif_send_cmd(struct mei_cl *cl, struct mei_cl_cb *cb) in mei_amthif_send_cmd()
320 struct mei_cl *cl = &dev->iamthif_cl; in mei_amthif_run_next_cmd()
347 int mei_amthif_write(struct mei_cl *cl, struct mei_cl_cb *cb) in mei_amthif_write()
404 int mei_amthif_irq_write(struct mei_cl *cl, struct mei_cl_cb *cb, in mei_amthif_irq_write()
429 int mei_amthif_irq_read_msg(struct mei_cl *cl, in mei_amthif_irq_read_msg()
511 struct mei_cl *cl = &dev->iamthif_cl; in mei_clear_list()
Dinterrupt.c42 struct mei_cl *cl; in mei_irq_compl_handler()
65 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()
168 static int mei_cl_irq_disconnect_rsp(struct mei_cl *cl, struct mei_cl_cb *cb, in mei_cl_irq_disconnect_rsp()
203 static int mei_cl_irq_disconnect(struct mei_cl *cl, struct mei_cl_cb *cb, in mei_cl_irq_disconnect()
243 static int mei_cl_irq_read(struct mei_cl *cl, struct mei_cl_cb *cb, in mei_cl_irq_read()
280 static int mei_cl_irq_connect(struct mei_cl *cl, struct mei_cl_cb *cb, in mei_cl_irq_connect()
327 struct mei_cl *cl; in mei_irq_read_handler()
417 struct mei_cl *cl; in mei_irq_write_handler()
522 struct mei_cl *cl; in mei_timer()
Dwd.c60 struct mei_cl *cl = &dev->wd_cl; in mei_wd_host_init()
116 struct mei_cl *cl = &dev->wd_cl; in mei_wd_send()
163 struct mei_cl *cl = &dev->wd_cl; in mei_wd_stop()
216 struct mei_cl *cl; in mei_wd_ops_start()
278 struct mei_cl *cl; in mei_wd_ops_ping()
Dnfc.c107 struct mei_cl *cl;
108 struct mei_cl *cl_info;
205 struct mei_cl *cl; in mei_nfc_connect()
272 struct mei_cl *cl; in mei_nfc_if_version()
419 struct mei_cl *cl_info; in mei_nfc_init()
485 struct mei_cl *cl_info, *cl; in mei_nfc_host_init()
567 struct mei_cl *cl; in mei_nfc_host_exit()
Dmain.c51 struct mei_cl *cl; in mei_open()
95 struct mei_cl *cl = file->private_data; in mei_release()
141 struct mei_cl *cl = file->private_data; in mei_read()
276 struct mei_cl *cl = file->private_data; in mei_write()
383 struct mei_cl *cl; in mei_ioctl_connect_client()
463 struct mei_cl *cl = file->private_data; in mei_ioctl()
544 struct mei_cl *cl = file->private_data; in mei_poll()
Ddebugfs.c92 struct mei_cl *cl; in mei_dbgfs_read_active()
/linux-4.1.27/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);