.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /* |
---|
2 | 3 | * Copyright (c) 2015 Pengutronix, Sascha Hauer <kernel@pengutronix.de> |
---|
3 | | - * |
---|
4 | | - * This program is free software; you can redistribute it and/or modify |
---|
5 | | - * it under the terms of the GNU General Public License version 2 as |
---|
6 | | - * published by the Free Software Foundation. |
---|
7 | | - * |
---|
8 | | - * This program is distributed in the hope that it will be useful, |
---|
9 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
10 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
11 | | - * GNU General Public License for more details. |
---|
12 | 4 | */ |
---|
13 | 5 | |
---|
14 | 6 | #include <linux/export.h> |
---|
.. | .. |
---|
27 | 19 | |
---|
28 | 20 | /** |
---|
29 | 21 | * mtk_infracfg_set_bus_protection - enable bus protection |
---|
30 | | - * @regmap: The infracfg regmap |
---|
| 22 | + * @infracfg: The infracfg regmap |
---|
31 | 23 | * @mask: The mask containing the protection bits to be enabled. |
---|
32 | 24 | * @reg_update: The boolean flag determines to set the protection bits |
---|
33 | 25 | * by regmap_update_bits with enable register(PROTECTEN) or |
---|
.. | .. |
---|
58 | 50 | |
---|
59 | 51 | /** |
---|
60 | 52 | * mtk_infracfg_clear_bus_protection - disable bus protection |
---|
61 | | - * @regmap: The infracfg regmap |
---|
| 53 | + * @infracfg: The infracfg regmap |
---|
62 | 54 | * @mask: The mask containing the protection bits to be disabled. |
---|
63 | 55 | * @reg_update: The boolean flag determines to clear the protection bits |
---|
64 | 56 | * by regmap_update_bits with enable register(PROTECTEN) or |
---|