.. | .. |
---|
1 | 1 | /* 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). */ |
---|
3 | 3 | |
---|
4 | 4 | /* \file cc_request_mgr.h |
---|
5 | 5 | * Request Manager |
---|
.. | .. |
---|
12 | 12 | |
---|
13 | 13 | int cc_req_mgr_init(struct cc_drvdata *drvdata); |
---|
14 | 14 | |
---|
15 | | -/*! |
---|
16 | | - * Enqueue caller request to crypto hardware. |
---|
| 15 | +/** |
---|
| 16 | + * cc_send_request() - Enqueue caller request to crypto hardware. |
---|
17 | 17 | * |
---|
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 |
---|
25 | 23 | * |
---|
26 | | - * \return int Returns -EINPROGRESS or error |
---|
| 24 | + * Return: |
---|
| 25 | + * Returns -EINPROGRESS or error |
---|
27 | 26 | */ |
---|
28 | 27 | int cc_send_request(struct cc_drvdata *drvdata, struct cc_crypto_req *cc_req, |
---|
29 | 28 | struct cc_hw_desc *desc, unsigned int len, |
---|