Lines Matching +full:pinctrl +full:- +full:pin +full:- +full:array
1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Core pinctrl/GPIO driver for Intel GPIO controllers
19 #include <linux/pinctrl/pinctrl.h>
26 * struct intel_pingroup - Description about group of pins
27 * @grp: Generic data of the pin group (name and pins)
29 * @modes: If not %NULL this will hold mode for each pin in @pins
38 * struct intel_function - Description about a function
39 * @func: Generic data of the pin function (name and groups of pins)
48 * struct intel_padgroup - Hardware pad group information
50 * @base: Starting pin of this group
67 * enum - Special treatment for GPIO base in pad group
71 * @INTEL_GPIO_BASE_MATCH: matches with starting pin number
74 INTEL_GPIO_BASE_ZERO = -2,
75 INTEL_GPIO_BASE_NOMAP = -1,
80 * struct intel_community - Intel pin community description
87 * is assumed that the host owns the pin (rather than
92 * @pin_base: Starting pin of pins in this community
100 * @pad_map: Optional non-linear mapping of the pads
156 .npins = ((e) - (s) + 1), \
168 * PIN_GROUP - Declare a pin group
170 * @p: An array of pins this group consists
172 * a single integer or an array of integers in which case mode is per
173 * pin.
192 * struct intel_pinctrl_soc_data - Intel pin controller per-SoC configuration
194 * @pins: Array if pins this pinctrl controls
195 * @npins: Number of pins in the array
196 * @groups: Array of pin groups
197 * @ngroups: Number of groups in the array
198 * @functions: Array of functions
199 * @nfunctions: Number of functions in the array
200 * @communities: Array of communities this pinctrl handles
201 * @ncommunities: Number of communities in the array
224 * struct intel_pinctrl_context - context to be saved during suspend-resume
234 * struct intel_pinctrl - Intel pinctrl private structure
237 * @pctldesc: Pin controller description
238 * @pctldev: Pointer to the pin controller device
239 * @chip: GPIO chip in this pin controller
240 * @soc: SoC/PCH specific pin configuration data
241 * @communities: All communities in this pin controller
242 * @ncommunities: Number of communities in this pin controller
244 * @irq: pinctrl/GPIO chip irq number
268 unsigned int pin);