hc
2024-05-10 37f49e37ab4cb5d0bc4c60eb5c6d4dd57db767bb
kernel/drivers/crypto/ccree/cc_request_mgr.h
....@@ -1,5 +1,5 @@
11 /* SPDX-License-Identifier: GPL-2.0 */
2
-/* Copyright (C) 2012-2018 ARM Limited or its affiliates. */
2
+/* Copyright (C) 2012-2019 ARM Limited (or its affiliates). */
33
44 /* \file cc_request_mgr.h
55 * Request Manager
....@@ -12,18 +12,17 @@
1212
1313 int cc_req_mgr_init(struct cc_drvdata *drvdata);
1414
15
-/*!
16
- * Enqueue caller request to crypto hardware.
15
+/**
16
+ * cc_send_request() - Enqueue caller request to crypto hardware.
1717 *
18
- * \param drvdata
19
- * \param cc_req The request to enqueue
20
- * \param desc The crypto sequence
21
- * \param len The crypto sequence length
22
- * \param is_dout If "true": completion is handled by the caller
23
- * If "false": this function adds a dummy descriptor completion
24
- * and waits upon completion signal.
18
+ * @drvdata: Associated device driver context
19
+ * @cc_req: The request to enqueue
20
+ * @desc: The crypto sequence
21
+ * @len: The crypto sequence length
22
+ * @req: Asynchronous crypto request
2523 *
26
- * \return int Returns -EINPROGRESS or error
24
+ * Return:
25
+ * Returns -EINPROGRESS or error
2726 */
2827 int cc_send_request(struct cc_drvdata *drvdata, struct cc_crypto_req *cc_req,
2928 struct cc_hw_desc *desc, unsigned int len,