core.h (c033a718f615b6b3ddc83ce3e0a217c30bd09cb5) | core.h (a76edc89b100e4fefb2a5c00cd8cd557437659e7) |
---|---|
1/* 2 * Core private header for the pin control subsystem 3 * 4 * Copyright (C) 2011 ST-Ericsson SA 5 * Written on behalf of Linaro for ST-Ericsson 6 * 7 * Author: Linus Walleij <linus.walleij@linaro.org> 8 * --- 12 unchanged lines hidden (view full) --- 21 * struct pinctrl_dev - pin control class device 22 * @node: node to include this pin controller in the global pin controller list 23 * @desc: the pin controller descriptor supplied when initializing this pin 24 * controller 25 * @pin_desc_tree: each pin descriptor for this pin controller is stored in 26 * this radix tree 27 * @pin_group_tree: optionally each pin group can be stored in this radix tree 28 * @num_groups: optionally number of groups can be kept here | 1/* 2 * Core private header for the pin control subsystem 3 * 4 * Copyright (C) 2011 ST-Ericsson SA 5 * Written on behalf of Linaro for ST-Ericsson 6 * 7 * Author: Linus Walleij <linus.walleij@linaro.org> 8 * --- 12 unchanged lines hidden (view full) --- 21 * struct pinctrl_dev - pin control class device 22 * @node: node to include this pin controller in the global pin controller list 23 * @desc: the pin controller descriptor supplied when initializing this pin 24 * controller 25 * @pin_desc_tree: each pin descriptor for this pin controller is stored in 26 * this radix tree 27 * @pin_group_tree: optionally each pin group can be stored in this radix tree 28 * @num_groups: optionally number of groups can be kept here |
29 * @pin_function_tree: optionally each function can be stored in this radix tree 30 * @num_functions: optionally number of functions can be kept here |
|
29 * @gpio_ranges: a list of GPIO ranges that is handled by this pin controller, 30 * ranges are added to this list at runtime 31 * @dev: the device entry for this pin controller 32 * @owner: module providing the pin controller, used for refcounting 33 * @driver_data: driver data for drivers registering to the pin controller 34 * subsystem 35 * @p: result of pinctrl_get() for this device 36 * @hog_default: default state for pins hogged by this device --- 5 unchanged lines hidden (view full) --- 42struct pinctrl_dev { 43 struct list_head node; 44 struct pinctrl_desc *desc; 45 struct radix_tree_root pin_desc_tree; 46#ifdef CONFIG_GENERIC_PINCTRL_GROUPS 47 struct radix_tree_root pin_group_tree; 48 unsigned int num_groups; 49#endif | 31 * @gpio_ranges: a list of GPIO ranges that is handled by this pin controller, 32 * ranges are added to this list at runtime 33 * @dev: the device entry for this pin controller 34 * @owner: module providing the pin controller, used for refcounting 35 * @driver_data: driver data for drivers registering to the pin controller 36 * subsystem 37 * @p: result of pinctrl_get() for this device 38 * @hog_default: default state for pins hogged by this device --- 5 unchanged lines hidden (view full) --- 44struct pinctrl_dev { 45 struct list_head node; 46 struct pinctrl_desc *desc; 47 struct radix_tree_root pin_desc_tree; 48#ifdef CONFIG_GENERIC_PINCTRL_GROUPS 49 struct radix_tree_root pin_group_tree; 50 unsigned int num_groups; 51#endif |
52#ifdef CONFIG_GENERIC_PINMUX_FUNCTIONS 53 struct radix_tree_root pin_function_tree; 54 unsigned int num_functions; 55#endif |
|
50 struct list_head gpio_ranges; 51 struct device *dev; 52 struct module *owner; 53 void *driver_data; 54 struct pinctrl *p; 55 struct pinctrl_state *hog_default; 56 struct pinctrl_state *hog_sleep; 57 struct delayed_work late_init; --- 199 unchanged lines hidden --- | 56 struct list_head gpio_ranges; 57 struct device *dev; 58 struct module *owner; 59 void *driver_data; 60 struct pinctrl *p; 61 struct pinctrl_state *hog_default; 62 struct pinctrl_state *hog_sleep; 63 struct delayed_work late_init; --- 199 unchanged lines hidden --- |