.. | .. |
---|
1 | 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ |
---|
2 | 2 | /* |
---|
3 | 3 | * |
---|
4 | | - * (C) COPYRIGHT 2015, 2020-2021 ARM Limited. All rights reserved. |
---|
| 4 | + * (C) COPYRIGHT 2015, 2020-2022 ARM Limited. All rights reserved. |
---|
5 | 5 | * |
---|
6 | 6 | * This program is free software and is provided to you under the terms of the |
---|
7 | 7 | * GNU General Public License version 2 as published by the Free Software |
---|
.. | .. |
---|
36 | 36 | |
---|
37 | 37 | |
---|
38 | 38 | /** |
---|
39 | | - * kbase_invoke_smc_fid - Perform a secure monitor call |
---|
40 | | - * @fid: The SMC function to call, see SMC Calling convention. |
---|
41 | | - * @arg0: First argument to the SMC. |
---|
42 | | - * @arg1: Second argument to the SMC. |
---|
43 | | - * @arg2: Third argument to the SMC. |
---|
44 | | - * |
---|
45 | | - * See SMC Calling Convention for details. |
---|
46 | | - * |
---|
47 | | - * Return: the return value from the SMC. |
---|
48 | | - */ |
---|
| 39 | + * kbase_invoke_smc_fid - Perform a secure monitor call |
---|
| 40 | + * @fid: The SMC function to call, see SMC Calling convention. |
---|
| 41 | + * @arg0: First argument to the SMC. |
---|
| 42 | + * @arg1: Second argument to the SMC. |
---|
| 43 | + * @arg2: Third argument to the SMC. |
---|
| 44 | + * |
---|
| 45 | + * See SMC Calling Convention for details. |
---|
| 46 | + * |
---|
| 47 | + * Return: the return value from the SMC. |
---|
| 48 | + */ |
---|
49 | 49 | u64 kbase_invoke_smc_fid(u32 fid, u64 arg0, u64 arg1, u64 arg2); |
---|
50 | 50 | |
---|
51 | 51 | /** |
---|
52 | | - * kbase_invoke_smc_fid - Perform a secure monitor call |
---|
53 | | - * @oen: Owning Entity number (SIP, STD etc). |
---|
54 | | - * @function_number: The function number within the OEN. |
---|
55 | | - * @smc64: use SMC64 calling convention instead of SMC32. |
---|
56 | | - * @arg0: First argument to the SMC. |
---|
57 | | - * @arg1: Second argument to the SMC. |
---|
58 | | - * @arg2: Third argument to the SMC. |
---|
59 | | - * |
---|
60 | | - * See SMC Calling Convention for details. |
---|
61 | | - * |
---|
62 | | - * Return: the return value from the SMC call. |
---|
63 | | - */ |
---|
| 52 | + * kbase_invoke_smc - Perform a secure monitor call |
---|
| 53 | + * @oen: Owning Entity number (SIP, STD etc). |
---|
| 54 | + * @function_number: The function number within the OEN. |
---|
| 55 | + * @smc64: use SMC64 calling convention instead of SMC32. |
---|
| 56 | + * @arg0: First argument to the SMC. |
---|
| 57 | + * @arg1: Second argument to the SMC. |
---|
| 58 | + * @arg2: Third argument to the SMC. |
---|
| 59 | + * |
---|
| 60 | + * See SMC Calling Convention for details. |
---|
| 61 | + * |
---|
| 62 | + * Return: the return value from the SMC call. |
---|
| 63 | + */ |
---|
64 | 64 | u64 kbase_invoke_smc(u32 oen, u16 function_number, bool smc64, |
---|
65 | 65 | u64 arg0, u64 arg1, u64 arg2); |
---|
66 | 66 | |
---|