diff options
author | Tomas Winkler <tomas.winkler@intel.com> | 2013-04-08 14:56:37 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-04-08 19:55:57 -0400 |
commit | 4234a6deb5ab04e50cfd6d72761345727bd2de21 (patch) | |
tree | 6da543ec16e78959e5a05055d4b6cee393d2ad47 /drivers/misc/mei/client.h | |
parent | 606f34ad124faeeb77830d7fdfc513084566d2ba (diff) |
mei: add mei_cl_write function
consolidate write code to a specific me client in mei_cl_write function
the function is called from mei device write handler and from
mei_cl bus send function
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/mei/client.h')
-rw-r--r-- | drivers/misc/mei/client.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/misc/mei/client.h b/drivers/misc/mei/client.h index 214b2397ec3e..e890c8bf89d0 100644 --- a/drivers/misc/mei/client.h +++ b/drivers/misc/mei/client.h | |||
@@ -86,17 +86,16 @@ int mei_cl_flow_ctrl_reduce(struct mei_cl *cl); | |||
86 | */ | 86 | */ |
87 | bool mei_cl_is_other_connecting(struct mei_cl *cl); | 87 | bool mei_cl_is_other_connecting(struct mei_cl *cl); |
88 | int mei_cl_disconnect(struct mei_cl *cl); | 88 | int mei_cl_disconnect(struct mei_cl *cl); |
89 | |||
90 | int mei_cl_read_start(struct mei_cl *cl); | ||
91 | |||
92 | int mei_cl_connect(struct mei_cl *cl, struct file *file); | 89 | int mei_cl_connect(struct mei_cl *cl, struct file *file); |
90 | int mei_cl_read_start(struct mei_cl *cl); | ||
91 | int mei_cl_write(struct mei_cl *cl, struct mei_cl_cb *cb, bool blocking); | ||
93 | 92 | ||
94 | void mei_host_client_init(struct work_struct *work); | 93 | void mei_host_client_init(struct work_struct *work); |
95 | 94 | ||
96 | 95 | ||
96 | |||
97 | void mei_cl_all_disconnect(struct mei_device *dev); | 97 | void mei_cl_all_disconnect(struct mei_device *dev); |
98 | void mei_cl_all_read_wakeup(struct mei_device *dev); | 98 | void mei_cl_all_read_wakeup(struct mei_device *dev); |
99 | void mei_cl_all_write_clear(struct mei_device *dev); | 99 | void mei_cl_all_write_clear(struct mei_device *dev); |
100 | 100 | ||
101 | |||
102 | #endif /* _MEI_CLIENT_H_ */ | 101 | #endif /* _MEI_CLIENT_H_ */ |