Lines Matching +full:controller +full:- +full:data

1 /* SPDX-License-Identifier: GPL-2.0-only */
5 * Copyright (C) 2011 ST-Ericsson SA
6 * Written on behalf of Linaro for ST-Ericsson
14 #include <linux/radix-tree.h>
30 * struct pinctrl_dev - pin control class device
31 * @node: node to include this pin controller in the global pin controller list
32 * @desc: the pin controller descriptor supplied when initializing this pin
33 * controller
34 * @pin_desc_tree: each pin descriptor for this pin controller is stored in
40 * @gpio_ranges: a list of GPIO ranges that is handled by this pin controller,
42 * @dev: the device entry for this pin controller
43 * @owner: module providing the pin controller, used for refcounting
44 * @driver_data: driver data for drivers registering to the pin controller
49 * @mutex: mutex taken on each pin controller specific action
78 * struct pinctrl - per-device pin control state holder
97 * struct pinctrl_state - a pinctrl state for a device
109 * struct pinctrl_setting_mux - setting data for MAP_TYPE_MUX_GROUP
119 * struct pinctrl_setting_configs - setting data for MAP_TYPE_CONFIGS_*
122 * hardware. Each individual pin controller defines the format and meaning
133 * struct pinctrl_setting - an individual mux or config setting
139 * @data: Data specific to the setting type
149 } data; member
153 * struct pin_desc - pin descriptor for each physical pin in the arch
158 * @drv_data: driver-defined per-pin data. pinctrl core does not touch this
160 * If non-zero, this pin is claimed by @owner. This field is an integer
184 * struct pinctrl_maps - a list item containing part of the mapping table
200 * struct group_desc - generic pin group descriptor
201 * @grp: generic data of the pin group (name and pins)
202 * @data: pin controller driver specific data
206 void *data; member
213 .data = _data, \
230 const unsigned int *pins, int num_pins, void *data);
247 return radix_tree_lookup(&pctldev->pin_desc_tree, pin); in pin_desc_get()
263 __i < _maps_node_->num_maps && (_map_ = &_maps_node_->maps[__i]); \