Lines Matching +full:pin +full:- +full:settings
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
6 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
13 * struct mvebu_mpp_ctrl_data - private data for the mpp ctrl operations
29 * struct mvebu_mpp_ctrl - describe a mpp control
31 * @pid: first pin id handled by this control
38 * A mpp_ctrl describes a muxable unit, e.g. pin, group of pins, or
40 * between two or more different settings, e.g. assign mpp pin 13 to
45 * to allow pin settings with varying gpio pins.
62 * struct mvebu_mpp_ctrl_setting - describe a mpp ctrl setting
64 * @name: ctrl setting name, e.g. uart2, spi0 - unique per mpp_mode
69 * A ctrl_setting describes a specific internal mux function that a mpp pin
71 * register for common mpp pin configuration registers on MVEBU. SoC specific
72 * mpp_get/_set function may use val to distinguish between different settings.
95 * struct mvebu_mpp_mode - link ctrl and settings
96 * @pid: first pin id handled by this mode
97 * @settings: list of settings available for this mode
99 * A mode connects all available settings with the corresponding mpp_ctrl
104 struct mvebu_mpp_ctrl_setting *settings; member
108 * struct mvebu_pinctrl_soc_info - SoC specific info passed to pinctrl-mvebu
137 .npins = _idh - _idl + 1, \
138 .pins = (unsigned[_idh - _idl + 1]) { }, \
149 .npins = _idh - _idl + 1, \
150 .pins = (unsigned[_idh - _idl + 1]) { }, \
175 MPP_VAR_FUNCTION(_val, _name, _subname, (u8)-1)
180 .settings = (struct mvebu_mpp_ctrl_setting[]){ \
186 .name = "mvebu-gpio", \