aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/misc/mei/mei_dev.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/misc/mei/mei_dev.h')
-rw-r--r--drivers/misc/mei/mei_dev.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/misc/mei/mei_dev.h b/drivers/misc/mei/mei_dev.h
index 3dad74a8d496..6c6ce9381535 100644
--- a/drivers/misc/mei/mei_dev.h
+++ b/drivers/misc/mei/mei_dev.h
@@ -172,12 +172,14 @@ struct mei_fw_status {
172 * struct mei_me_client - representation of me (fw) client 172 * struct mei_me_client - representation of me (fw) client
173 * 173 *
174 * @list: link in me client list 174 * @list: link in me client list
175 * @refcnt: struct reference count
175 * @props: client properties 176 * @props: client properties
176 * @client_id: me client id 177 * @client_id: me client id
177 * @mei_flow_ctrl_creds: flow control credits 178 * @mei_flow_ctrl_creds: flow control credits
178 */ 179 */
179struct mei_me_client { 180struct mei_me_client {
180 struct list_head list; 181 struct list_head list;
182 struct kref refcnt;
181 struct mei_client_properties props; 183 struct mei_client_properties props;
182 u8 client_id; 184 u8 client_id;
183 u8 mei_flow_ctrl_creds; 185 u8 mei_flow_ctrl_creds;
@@ -345,9 +347,9 @@ struct mei_cl_device *mei_cl_add_device(struct mei_device *dev,
345 struct mei_cl_ops *ops); 347 struct mei_cl_ops *ops);
346void mei_cl_remove_device(struct mei_cl_device *device); 348void mei_cl_remove_device(struct mei_cl_device *device);
347 349
348int __mei_cl_async_send(struct mei_cl *cl, u8 *buf, size_t length); 350ssize_t __mei_cl_async_send(struct mei_cl *cl, u8 *buf, size_t length);
349int __mei_cl_send(struct mei_cl *cl, u8 *buf, size_t length); 351ssize_t __mei_cl_send(struct mei_cl *cl, u8 *buf, size_t length);
350int __mei_cl_recv(struct mei_cl *cl, u8 *buf, size_t length); 352ssize_t __mei_cl_recv(struct mei_cl *cl, u8 *buf, size_t length);
351void mei_cl_bus_rx_event(struct mei_cl *cl); 353void mei_cl_bus_rx_event(struct mei_cl *cl);
352void mei_cl_bus_remove_devices(struct mei_device *dev); 354void mei_cl_bus_remove_devices(struct mei_device *dev);
353int mei_cl_bus_init(void); 355int mei_cl_bus_init(void);