.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
---|
1 | 2 | /* |
---|
2 | 3 | * SYSCON GPIO driver |
---|
3 | 4 | * |
---|
4 | 5 | * Copyright (C) 2014 Alexander Shiyan <shc_work@mail.ru> |
---|
5 | | - * |
---|
6 | | - * This program is free software; you can redistribute it and/or modify |
---|
7 | | - * it under the terms of the GNU General Public License as published by |
---|
8 | | - * the Free Software Foundation; either version 2 of the License, or |
---|
9 | | - * (at your option) any later version. |
---|
10 | 6 | */ |
---|
11 | 7 | |
---|
12 | 8 | #include <linux/err.h> |
---|
.. | .. |
---|
28 | 24 | |
---|
29 | 25 | /** |
---|
30 | 26 | * struct syscon_gpio_data - Configuration for the device. |
---|
31 | | - * compatible: SYSCON driver compatible string. |
---|
32 | | - * flags: Set of GPIO_SYSCON_FEAT_ flags: |
---|
| 27 | + * @compatible: SYSCON driver compatible string. |
---|
| 28 | + * @flags: Set of GPIO_SYSCON_FEAT_ flags: |
---|
33 | 29 | * GPIO_SYSCON_FEAT_IN: GPIOs supports input, |
---|
34 | 30 | * GPIO_SYSCON_FEAT_OUT: GPIOs supports output, |
---|
35 | 31 | * GPIO_SYSCON_FEAT_DIR: GPIOs supports switch direction. |
---|
36 | | - * bit_count: Number of bits used as GPIOs. |
---|
37 | | - * dat_bit_offset: Offset (in bits) to the first GPIO bit. |
---|
38 | | - * dir_bit_offset: Optional offset (in bits) to the first bit to switch |
---|
| 32 | + * @bit_count: Number of bits used as GPIOs. |
---|
| 33 | + * @dat_bit_offset: Offset (in bits) to the first GPIO bit. |
---|
| 34 | + * @dir_bit_offset: Optional offset (in bits) to the first bit to switch |
---|
39 | 35 | * GPIO direction (Used with GPIO_SYSCON_FEAT_DIR flag). |
---|
40 | | - * set: HW specific callback to assigns output value |
---|
| 36 | + * @set: HW specific callback to assigns output value |
---|
41 | 37 | * for signal "offset" |
---|
42 | 38 | */ |
---|
43 | 39 | |
---|