aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/misc/mei/client.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/misc/mei/client.c')
-rw-r--r--drivers/misc/mei/client.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/drivers/misc/mei/client.c b/drivers/misc/mei/client.c
index 71892745e2e8..e310ca6ed1a3 100644
--- a/drivers/misc/mei/client.c
+++ b/drivers/misc/mei/client.c
@@ -109,7 +109,7 @@ void mei_io_cb_free(struct mei_cl_cb *cb)
109 * mei_io_cb_init - allocate and initialize io callback 109 * mei_io_cb_init - allocate and initialize io callback
110 * 110 *
111 * @cl - mei client 111 * @cl - mei client
112 * @file: pointer to file structure 112 * @fp: pointer to file structure
113 * 113 *
114 * returns mei_cl_cb pointer or NULL; 114 * returns mei_cl_cb pointer or NULL;
115 */ 115 */
@@ -132,8 +132,8 @@ struct mei_cl_cb *mei_io_cb_init(struct mei_cl *cl, struct file *fp)
132/** 132/**
133 * mei_io_cb_alloc_req_buf - allocate request buffer 133 * mei_io_cb_alloc_req_buf - allocate request buffer
134 * 134 *
135 * @cb - io callback structure 135 * @cb: io callback structure
136 * @size: size of the buffer 136 * @length: size of the buffer
137 * 137 *
138 * returns 0 on success 138 * returns 0 on success
139 * -EINVAL if cb is NULL 139 * -EINVAL if cb is NULL
@@ -154,10 +154,10 @@ int mei_io_cb_alloc_req_buf(struct mei_cl_cb *cb, size_t length)
154 return 0; 154 return 0;
155} 155}
156/** 156/**
157 * mei_io_cb_alloc_req_buf - allocate respose buffer 157 * mei_io_cb_alloc_resp_buf - allocate respose buffer
158 * 158 *
159 * @cb - io callback structure 159 * @cb: io callback structure
160 * @size: size of the buffer 160 * @length: size of the buffer
161 * 161 *
162 * returns 0 on success 162 * returns 0 on success
163 * -EINVAL if cb is NULL 163 * -EINVAL if cb is NULL
@@ -183,7 +183,6 @@ int mei_io_cb_alloc_resp_buf(struct mei_cl_cb *cb, size_t length)
183/** 183/**
184 * mei_cl_flush_queues - flushes queue lists belonging to cl. 184 * mei_cl_flush_queues - flushes queue lists belonging to cl.
185 * 185 *
186 * @dev: the device structure
187 * @cl: host client 186 * @cl: host client
188 */ 187 */
189int mei_cl_flush_queues(struct mei_cl *cl) 188int mei_cl_flush_queues(struct mei_cl *cl)
@@ -244,7 +243,8 @@ struct mei_cl *mei_cl_allocate(struct mei_device *dev)
244/** 243/**
245 * mei_cl_find_read_cb - find this cl's callback in the read list 244 * mei_cl_find_read_cb - find this cl's callback in the read list
246 * 245 *
247 * @dev: device structure 246 * @cl: host client
247 *
248 * returns cb on success, NULL on error 248 * returns cb on success, NULL on error
249 */ 249 */
250struct mei_cl_cb *mei_cl_find_read_cb(struct mei_cl *cl) 250struct mei_cl_cb *mei_cl_find_read_cb(struct mei_cl *cl)
@@ -263,6 +263,7 @@ struct mei_cl_cb *mei_cl_find_read_cb(struct mei_cl *cl)
263 * 263 *
264 * @cl - host client 264 * @cl - host client
265 * @id - fixed host id or -1 for genereting one 265 * @id - fixed host id or -1 for genereting one
266 *
266 * returns 0 on success 267 * returns 0 on success
267 * -EINVAL on incorrect values 268 * -EINVAL on incorrect values
268 * -ENONET if client not found 269 * -ENONET if client not found
@@ -302,7 +303,7 @@ int mei_cl_link(struct mei_cl *cl, int id)
302/** 303/**
303 * mei_cl_unlink - remove me_cl from the list 304 * mei_cl_unlink - remove me_cl from the list
304 * 305 *
305 * @dev: the device structure 306 * @cl: host client
306 */ 307 */
307int mei_cl_unlink(struct mei_cl *cl) 308int mei_cl_unlink(struct mei_cl *cl)
308{ 309{
@@ -538,7 +539,6 @@ out:
538/** 539/**
539 * mei_cl_flow_ctrl_creds - checks flow_control credits for cl. 540 * mei_cl_flow_ctrl_creds - checks flow_control credits for cl.
540 * 541 *
541 * @dev: the device structure
542 * @cl: private data of the file object 542 * @cl: private data of the file object
543 * 543 *
544 * returns 1 if mei_flow_ctrl_creds >0, 0 - otherwise. 544 * returns 1 if mei_flow_ctrl_creds >0, 0 - otherwise.
@@ -579,8 +579,8 @@ int mei_cl_flow_ctrl_creds(struct mei_cl *cl)
579/** 579/**
580 * mei_cl_flow_ctrl_reduce - reduces flow_control. 580 * mei_cl_flow_ctrl_reduce - reduces flow_control.
581 * 581 *
582 * @dev: the device structure
583 * @cl: private data of the file object 582 * @cl: private data of the file object
583 *
584 * @returns 584 * @returns
585 * 0 on success 585 * 0 on success
586 * -ENOENT when me client is not found 586 * -ENOENT when me client is not found
@@ -618,7 +618,7 @@ int mei_cl_flow_ctrl_reduce(struct mei_cl *cl)
618} 618}
619 619
620/** 620/**
621 * mei_cl_start_read - the start read client message function. 621 * mei_cl_read_start - the start read client message function.
622 * 622 *
623 * @cl: host client 623 * @cl: host client
624 * 624 *