diff options
Diffstat (limited to 'drivers/misc/mei/client.h')
-rw-r--r-- | drivers/misc/mei/client.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/drivers/misc/mei/client.h b/drivers/misc/mei/client.h index d430a6e09ae8..f7d0285b5f57 100644 --- a/drivers/misc/mei/client.h +++ b/drivers/misc/mei/client.h | |||
@@ -47,7 +47,8 @@ void mei_me_cl_rm_all(struct mei_device *dev); | |||
47 | /* | 47 | /* |
48 | * MEI IO Functions | 48 | * MEI IO Functions |
49 | */ | 49 | */ |
50 | struct mei_cl_cb *mei_io_cb_init(struct mei_cl *cl, struct file *fp); | 50 | struct mei_cl_cb *mei_io_cb_init(struct mei_cl *cl, enum mei_cb_file_ops type, |
51 | struct file *fp); | ||
51 | void mei_io_cb_free(struct mei_cl_cb *priv_cb); | 52 | void mei_io_cb_free(struct mei_cl_cb *priv_cb); |
52 | int mei_io_cb_alloc_buf(struct mei_cl_cb *cb, size_t length); | 53 | int mei_io_cb_alloc_buf(struct mei_cl_cb *cb, size_t length); |
53 | 54 | ||
@@ -77,6 +78,8 @@ int mei_cl_unlink(struct mei_cl *cl); | |||
77 | int mei_cl_flush_queues(struct mei_cl *cl); | 78 | int mei_cl_flush_queues(struct mei_cl *cl); |
78 | struct mei_cl_cb *mei_cl_find_read_cb(struct mei_cl *cl); | 79 | struct mei_cl_cb *mei_cl_find_read_cb(struct mei_cl *cl); |
79 | 80 | ||
81 | struct mei_cl_cb *mei_cl_alloc_cb(struct mei_cl *cl, size_t length, | ||
82 | enum mei_cb_file_ops type, struct file *fp); | ||
80 | 83 | ||
81 | int mei_cl_flow_ctrl_creds(struct mei_cl *cl); | 84 | int mei_cl_flow_ctrl_creds(struct mei_cl *cl); |
82 | 85 | ||
@@ -100,7 +103,7 @@ static inline bool mei_cl_is_transitioning(struct mei_cl *cl) | |||
100 | bool mei_cl_is_other_connecting(struct mei_cl *cl); | 103 | bool mei_cl_is_other_connecting(struct mei_cl *cl); |
101 | int mei_cl_disconnect(struct mei_cl *cl); | 104 | int mei_cl_disconnect(struct mei_cl *cl); |
102 | int mei_cl_connect(struct mei_cl *cl, struct file *file); | 105 | int mei_cl_connect(struct mei_cl *cl, struct file *file); |
103 | int mei_cl_read_start(struct mei_cl *cl, size_t length); | 106 | int mei_cl_read_start(struct mei_cl *cl, size_t length, struct file *fp); |
104 | int mei_cl_irq_read_msg(struct mei_cl *cl, struct mei_msg_hdr *hdr, | 107 | int mei_cl_irq_read_msg(struct mei_cl *cl, struct mei_msg_hdr *hdr, |
105 | struct mei_cl_cb *cmpl_list); | 108 | struct mei_cl_cb *cmpl_list); |
106 | int mei_cl_write(struct mei_cl *cl, struct mei_cl_cb *cb, bool blocking); | 109 | int mei_cl_write(struct mei_cl *cl, struct mei_cl_cb *cb, bool blocking); |