aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/misc/mei/hbm.c
diff options
context:
space:
mode:
authorAlexander Usyskin <alexander.usyskin@intel.com>2014-09-29 09:31:49 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-09-29 11:56:02 -0400
commita8605ea2c20c2b97a54d7746c16ebef5ba29632a (patch)
tree5381189bc33345ce3c89c36c733b50c73ab37419 /drivers/misc/mei/hbm.c
parent764c065a65c31a09340e71d2c41652e7e05bf083 (diff)
mei: fix KDoc documentation formatting
Fix Kdoc documentation formatting warnings genertaed by ./scripts/kernel-doc Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com> Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/mei/hbm.c')
-rw-r--r--drivers/misc/mei/hbm.c43
1 files changed, 21 insertions, 22 deletions
diff --git a/drivers/misc/mei/hbm.c b/drivers/misc/mei/hbm.c
index 92d0739cca85..da476e8cac84 100644
--- a/drivers/misc/mei/hbm.c
+++ b/drivers/misc/mei/hbm.c
@@ -79,7 +79,7 @@ const char *mei_hbm_state_str(enum mei_hbm_state state)
79 * 79 *
80 * @status: client connect response status 80 * @status: client connect response status
81 * 81 *
82 * returns corresponding error code 82 * Return: corresponding error code
83 */ 83 */
84static int mei_cl_conn_status_to_errno(enum mei_cl_connect_status status) 84static int mei_cl_conn_status_to_errno(enum mei_cl_connect_status status)
85{ 85{
@@ -196,7 +196,7 @@ int mei_hbm_cl_write(struct mei_device *dev,
196 * @cl: client 196 * @cl: client
197 * @cmd: hbm client message 197 * @cmd: hbm client message
198 * 198 *
199 * returns true if addresses are the same 199 * Return: true if addresses are the same
200 */ 200 */
201static inline 201static inline
202bool mei_hbm_cl_addr_equal(struct mei_cl *cl, struct mei_hbm_cl_cmd *cmd) 202bool mei_hbm_cl_addr_equal(struct mei_cl *cl, struct mei_hbm_cl_cmd *cmd)
@@ -211,7 +211,7 @@ bool mei_hbm_cl_addr_equal(struct mei_cl *cl, struct mei_hbm_cl_cmd *cmd)
211 * @dev: the device structure 211 * @dev: the device structure
212 * @buf: a buffer with hbm cl command 212 * @buf: a buffer with hbm cl command
213 * 213 *
214 * returns the recipient client or NULL if not found 214 * Return: the recipient client or NULL if not found
215 */ 215 */
216static inline 216static inline
217struct mei_cl *mei_hbm_cl_find_by_cmd(struct mei_device *dev, void *buf) 217struct mei_cl *mei_hbm_cl_find_by_cmd(struct mei_device *dev, void *buf)
@@ -231,7 +231,7 @@ struct mei_cl *mei_hbm_cl_find_by_cmd(struct mei_device *dev, void *buf)
231 * 231 *
232 * @dev: the device structure 232 * @dev: the device structure
233 * 233 *
234 * returns 0 on success and < 0 on failure 234 * Return: 0 on success and < 0 on failure
235 */ 235 */
236int mei_hbm_start_wait(struct mei_device *dev) 236int mei_hbm_start_wait(struct mei_device *dev)
237{ 237{
@@ -259,7 +259,7 @@ int mei_hbm_start_wait(struct mei_device *dev)
259 * 259 *
260 * @dev: the device structure 260 * @dev: the device structure
261 * 261 *
262 * returns 0 on success and < 0 on failure 262 * Return: 0 on success and < 0 on failure
263 */ 263 */
264int mei_hbm_start_req(struct mei_device *dev) 264int mei_hbm_start_req(struct mei_device *dev)
265{ 265{
@@ -297,7 +297,7 @@ int mei_hbm_start_req(struct mei_device *dev)
297 * 297 *
298 * @dev: the device structure 298 * @dev: the device structure
299 * 299 *
300 * returns 0 on success and < 0 on failure 300 * Return: 0 on success and < 0 on failure
301 */ 301 */
302static int mei_hbm_enum_clients_req(struct mei_device *dev) 302static int mei_hbm_enum_clients_req(struct mei_device *dev)
303{ 303{
@@ -330,7 +330,7 @@ static int mei_hbm_enum_clients_req(struct mei_device *dev)
330 * @dev: the device structure 330 * @dev: the device structure
331 * @res: hbm property response 331 * @res: hbm property response
332 * 332 *
333 * returns 0 on success and -ENOMEM on allocation failure 333 * Return: 0 on success and -ENOMEM on allocation failure
334 */ 334 */
335 335
336static int mei_hbm_me_cl_add(struct mei_device *dev, 336static int mei_hbm_me_cl_add(struct mei_device *dev,
@@ -355,7 +355,7 @@ static int mei_hbm_me_cl_add(struct mei_device *dev,
355 * 355 *
356 * @dev: the device structure 356 * @dev: the device structure
357 * 357 *
358 * returns 0 on success and < 0 on failure 358 * Return: 0 on success and < 0 on failure
359 */ 359 */
360 360
361static int mei_hbm_prop_req(struct mei_device *dev) 361static int mei_hbm_prop_req(struct mei_device *dev)
@@ -405,7 +405,7 @@ static int mei_hbm_prop_req(struct mei_device *dev)
405 * @dev: the device structure 405 * @dev: the device structure
406 * @pg_cmd: the pg command code 406 * @pg_cmd: the pg command code
407 * 407 *
408 * returns -EIO on write failure 408 * Return: -EIO on write failure
409 * -EOPNOTSUPP if the operation is not supported by the protocol 409 * -EOPNOTSUPP if the operation is not supported by the protocol
410 */ 410 */
411int mei_hbm_pg(struct mei_device *dev, u8 pg_cmd) 411int mei_hbm_pg(struct mei_device *dev, u8 pg_cmd)
@@ -434,10 +434,9 @@ EXPORT_SYMBOL_GPL(mei_hbm_pg);
434/** 434/**
435 * mei_hbm_stop_req - send stop request message 435 * mei_hbm_stop_req - send stop request message
436 * 436 *
437 * @dev - mei device 437 * @dev: mei device
438 * @cl: client info
439 * 438 *
440 * This function returns -EIO on write failure 439 * Return: -EIO on write failure
441 */ 440 */
442static int mei_hbm_stop_req(struct mei_device *dev) 441static int mei_hbm_stop_req(struct mei_device *dev)
443{ 442{
@@ -461,7 +460,7 @@ static int mei_hbm_stop_req(struct mei_device *dev)
461 * @dev: the device structure 460 * @dev: the device structure
462 * @cl: client info 461 * @cl: client info
463 * 462 *
464 * This function returns -EIO on write failure 463 * Return: -EIO on write failure
465 */ 464 */
466int mei_hbm_cl_flow_control_req(struct mei_device *dev, struct mei_cl *cl) 465int mei_hbm_cl_flow_control_req(struct mei_device *dev, struct mei_cl *cl)
467{ 466{
@@ -477,7 +476,7 @@ int mei_hbm_cl_flow_control_req(struct mei_device *dev, struct mei_cl *cl)
477 * @dev: the device structure 476 * @dev: the device structure
478 * @flow: flow control. 477 * @flow: flow control.
479 * 478 *
480 * return 0 on success, < 0 otherwise 479 * Return: 0 on success, < 0 otherwise
481 */ 480 */
482static int mei_hbm_add_single_flow_creds(struct mei_device *dev, 481static int mei_hbm_add_single_flow_creds(struct mei_device *dev,
483 struct hbm_flow_control *flow) 482 struct hbm_flow_control *flow)
@@ -533,7 +532,7 @@ static void mei_hbm_cl_flow_control_res(struct mei_device *dev,
533 * @dev: the device structure 532 * @dev: the device structure
534 * @cl: a client to disconnect from 533 * @cl: a client to disconnect from
535 * 534 *
536 * This function returns -EIO on write failure 535 * Return: -EIO on write failure
537 */ 536 */
538int mei_hbm_cl_disconnect_req(struct mei_device *dev, struct mei_cl *cl) 537int mei_hbm_cl_disconnect_req(struct mei_device *dev, struct mei_cl *cl)
539{ 538{
@@ -548,7 +547,7 @@ int mei_hbm_cl_disconnect_req(struct mei_device *dev, struct mei_cl *cl)
548 * @dev: the device structure 547 * @dev: the device structure
549 * @cl: a client to disconnect from 548 * @cl: a client to disconnect from
550 * 549 *
551 * This function returns -EIO on write failure 550 * Return: -EIO on write failure
552 */ 551 */
553int mei_hbm_cl_disconnect_rsp(struct mei_device *dev, struct mei_cl *cl) 552int mei_hbm_cl_disconnect_rsp(struct mei_device *dev, struct mei_cl *cl)
554{ 553{
@@ -584,7 +583,7 @@ static void mei_hbm_cl_disconnect_res(struct mei_cl *cl,
584 * @dev: the device structure 583 * @dev: the device structure
585 * @cl: a client to connect to 584 * @cl: a client to connect to
586 * 585 *
587 * returns -EIO on write failure 586 * Return: -EIO on write failure
588 */ 587 */
589int mei_hbm_cl_connect_req(struct mei_device *dev, struct mei_cl *cl) 588int mei_hbm_cl_connect_req(struct mei_device *dev, struct mei_cl *cl)
590{ 589{
@@ -677,7 +676,7 @@ static void mei_hbm_cl_res(struct mei_device *dev,
677 * @dev: the device structure. 676 * @dev: the device structure.
678 * @disconnect_req: disconnect request bus message from the me 677 * @disconnect_req: disconnect request bus message from the me
679 * 678 *
680 * returns -ENOMEM on allocation failure 679 * Return: -ENOMEM on allocation failure
681 */ 680 */
682static int mei_hbm_fw_disconnect_req(struct mei_device *dev, 681static int mei_hbm_fw_disconnect_req(struct mei_device *dev,
683 struct hbm_client_connect_request *disconnect_req) 682 struct hbm_client_connect_request *disconnect_req)
@@ -702,7 +701,7 @@ static int mei_hbm_fw_disconnect_req(struct mei_device *dev,
702} 701}
703 702
704/** 703/**
705 * mei_hbm_config_features: check what hbm features and commands 704 * mei_hbm_config_features - check what hbm features and commands
706 * are supported by the fw 705 * are supported by the fw
707 * 706 *
708 * @dev: the device structure 707 * @dev: the device structure
@@ -724,7 +723,7 @@ static void mei_hbm_config_features(struct mei_device *dev)
724 * support the hbm version of the device 723 * support the hbm version of the device
725 * 724 *
726 * @dev: the device structure 725 * @dev: the device structure
727 * returns true if driver can support hbm version of the device 726 * Return: true if driver can support hbm version of the device
728 */ 727 */
729bool mei_hbm_version_is_supported(struct mei_device *dev) 728bool mei_hbm_version_is_supported(struct mei_device *dev)
730{ 729{
@@ -738,9 +737,9 @@ bool mei_hbm_version_is_supported(struct mei_device *dev)
738 * handle the read bus message cmd processing. 737 * handle the read bus message cmd processing.
739 * 738 *
740 * @dev: the device structure 739 * @dev: the device structure
741 * @mei_hdr: header of bus message 740 * @hdr: header of bus message
742 * 741 *
743 * returns 0 on success and < 0 on failure 742 * Return: 0 on success and < 0 on failure
744 */ 743 */
745int mei_hbm_dispatch(struct mei_device *dev, struct mei_msg_hdr *hdr) 744int mei_hbm_dispatch(struct mei_device *dev, struct mei_msg_hdr *hdr)
746{ 745{