| /linux/arch/arm/mach-pxa/ |
| H A D | mfp-pxa2xx.c | 40 struct gpio_desc { struct 50 static struct gpio_desc gpio_desc[MFP_PIN_GPIO127 + 1]; argument 75 if (is_out ^ gpio_desc[gpio].dir_inverted) in __mfp_config_gpio() 100 if (is_out ^ gpio_desc[gpio].dir_inverted) in __mfp_config_gpio() 108 if ((c & MFP_LPM_CAN_WAKEUP) && !gpio_desc[gpio].can_wakeup) { in __mfp_config_gpio() 125 if ((mfp > MFP_PIN_GPIO127) || !gpio_desc[gpio].valid) { in __mfp_validate() 147 gpio_desc[gpio].config = *c; in pxa2xx_mfp_config() 165 c = gpio_desc[gpio].config; in pxa2xx_mfp_set_lpm() 174 struct gpio_desc *d; in gpio_set_wake() 180 d = &gpio_desc[gpio]; in gpio_set_wake() [all …]
|
| /linux/sound/soc/tegra/ |
| H A D | tegra_asoc_machine.h | 7 struct gpio_desc; 37 struct gpio_desc *gpiod_ext_mic_en; 38 struct gpio_desc *gpiod_int_mic_en; 39 struct gpio_desc *gpiod_spkr_en; 40 struct gpio_desc *gpiod_mic_det; 41 struct gpio_desc *gpiod_ear_sel; 42 struct gpio_desc *gpiod_hp_mute; 43 struct gpio_desc *gpiod_hp_det;
|
| /linux/drivers/gpio/ |
| H A D | gpiolib-devres.c | 47 struct gpio_desc *__must_check devm_gpiod_get(struct device *dev, in devm_gpiod_get() 70 struct gpio_desc *__must_check devm_gpiod_get_optional(struct device *dev, in devm_gpiod_get_optional() 94 struct gpio_desc *__must_check devm_gpiod_get_index(struct device *dev, in devm_gpiod_get_index() 99 struct gpio_desc *desc; in devm_gpiod_get_index() 143 struct gpio_desc *devm_fwnode_gpiod_get_index(struct device *dev, in devm_fwnode_gpiod_get_index() 149 struct gpio_desc *desc; in devm_fwnode_gpiod_get_index() 181 struct gpio_desc *__must_check devm_gpiod_get_index_optional(struct device *dev, in devm_gpiod_get_index_optional() 186 struct gpio_desc *desc; in devm_gpiod_get_index_optional() 271 void devm_gpiod_put(struct device *dev, struct gpio_desc *desc) in devm_gpiod_put() 291 void devm_gpiod_unhinge(struct device *dev, struct gpio_desc *desc) in devm_gpiod_unhinge()
|
| H A D | gpiolib.c | 121 const char *gpiod_get_label(struct gpio_desc *desc) in gpiod_get_label() 145 static int desc_set_label(struct gpio_desc *desc, const char *label) in desc_set_label() 173 struct gpio_desc *gpio_to_desc(unsigned gpio) in gpio_to_desc() 191 struct gpio_desc *gpiochip_get_desc(struct gpio_chip *gc, in gpiochip_get_desc() 213 struct gpio_desc * 233 int desc_to_gpio(const struct gpio_desc *desc) in desc_to_gpio() 247 int gpiod_hwgpio(const struct gpio_desc *desc) in gpiod_hwgpio() 265 struct gpio_chip *gpiod_to_chip(const struct gpio_desc *desc) in gpiod_to_chip() 286 struct gpio_device *gpiod_to_gpio_device(struct gpio_desc *desc) in gpiod_to_gpio_device() 378 static int validate_desc(const struct gpio_desc *des [all...] |
| H A D | gpiolib-of.h | 15 struct gpio_desc; 19 struct gpio_desc *of_find_gpio(struct device_node *np, 28 static inline struct gpio_desc *of_find_gpio(struct device_node *np, in of_find_gpio()
|
| H A D | gpiolib-acpi.h | 20 struct gpio_desc; 30 struct gpio_desc *acpi_find_gpio(struct fwnode_handle *fwnode, 47 static inline struct gpio_desc *
|
| H A D | gpiolib-acpi-core.c | 48 struct gpio_desc *desc; 54 struct gpio_desc *desc; 131 static struct gpio_desc *acpi_get_gpiod(char *path, unsigned int pin) in acpi_get_gpiod() 294 static void acpi_gpio_set_debounce_timeout(struct gpio_desc *desc, in acpi_gpio_set_debounce_timeout() 307 static struct gpio_desc *acpi_request_own_gpiod(struct gpio_chip *chip, in acpi_request_own_gpiod() 315 struct gpio_desc *desc; in acpi_request_own_gpiod() 352 struct gpio_desc *desc; in acpi_gpiochip_alloc_event() 682 struct gpio_desc *desc; 698 struct gpio_desc *desc; in acpi_populate_gpio_lookup() 901 static struct gpio_desc * [all …]
|
| H A D | gpiolib-swnode.h | 7 struct gpio_desc; 9 struct gpio_desc *swnode_find_gpio(struct fwnode_handle *fwnode,
|
| /linux/drivers/input/mouse/ |
| H A D | gpio_mouse.c | 33 struct gpio_desc *up; 34 struct gpio_desc *down; 35 struct gpio_desc *left; 36 struct gpio_desc *right; 37 struct gpio_desc *bleft; 38 struct gpio_desc *bmiddle; 39 struct gpio_desc *bright;
|
| /linux/drivers/fpga/ |
| H A D | lattice-sysconfig.c | 74 static int sysconfig_poll_gpio(struct gpio_desc *gpio, bool is_active) in sysconfig_poll_gpio() 91 struct gpio_desc *program = priv->program; in sysconfig_gpio_refresh() 92 struct gpio_desc *init = priv->init; in sysconfig_gpio_refresh() 93 struct gpio_desc *done = priv->done; in sysconfig_gpio_refresh() 128 struct gpio_desc *program = priv->program; in sysconfig_refresh() 129 struct gpio_desc *init = priv->init; in sysconfig_refresh() 130 struct gpio_desc *done = priv->done; in sysconfig_refresh() 231 struct gpio_desc *done_gpio = priv->done; in sysconfig_isc_finish() 258 struct gpio_desc *done = priv->done; in sysconfig_ops_state() 355 struct gpio_desc *program, *init, *done; in sysconfig_probe()
|
| H A D | lattice-sysconfig.h | 25 struct gpio_desc *program; 26 struct gpio_desc *init; 27 struct gpio_desc *done;
|
| /linux/include/linux/platform_data/x86/ |
| H A D | int3472.h | 119 struct gpio_desc *ena_gpio; 128 struct gpio_desc *gpio; 152 struct gpio_desc *gpio); 157 struct gpio_desc *gpio, 163 int skl_int3472_register_pled(struct int3472_discrete_device *int3472, struct gpio_desc *gpio);
|
| /linux/include/linux/gpio/ |
| H A D | aspeed.h | 6 struct gpio_desc; 13 int aspeed_gpio_copro_grab_gpio(struct gpio_desc *desc, 15 int aspeed_gpio_copro_release_gpio(struct gpio_desc *desc);
|
| /linux/Documentation/driver-api/gpio/ |
| H A D | consumer.rst | 51 struct gpio_desc *gpiod_get(struct device *dev, const char *con_id, 57 struct gpio_desc *gpiod_get_index(struct device *dev, 96 struct gpio_desc *gpiod_get_optional(struct device *dev, 100 struct gpio_desc *gpiod_get_index_optional(struct device *dev, 124 struct gpio_desc *desc[]; 136 struct gpio_desc *devm_gpiod_get(struct device *dev, const char *con_id, 139 struct gpio_desc *devm_gpiod_get_index(struct device *dev, 144 struct gpio_desc *devm_gpiod_get_optional(struct device *dev, 148 struct gpio_desc *devm_gpiod_get_index_optional(struct device *dev, 163 void gpiod_put(struct gpio_desc *desc) [all …]
|
| /linux/drivers/iio/adc/ |
| H A D | ad7606.h | 157 struct gpio_desc *gpio_convst; 158 struct gpio_desc *gpio_reset; 159 struct gpio_desc *gpio_range; 160 struct gpio_desc *gpio_standby; 161 struct gpio_desc *gpio_frstdata;
|
| /linux/drivers/phy/ |
| H A D | phy-can-transceiver.c | 26 struct gpio_desc *silent_gpio; 27 struct gpio_desc *standby_gpio; 28 struct gpio_desc *enable_gpio; 167 struct gpio_desc *silent_gpio; in can_transceiver_phy_probe() 168 struct gpio_desc *standby_gpio; in can_transceiver_phy_probe() 169 struct gpio_desc *enable_gpio; in can_transceiver_phy_probe()
|
| /linux/drivers/input/touchscreen/ |
| H A D | colibri-vf50-ts.c | 40 struct gpio_desc *gpio_xp; 41 struct gpio_desc *gpio_xm; 42 struct gpio_desc *gpio_yp; 43 struct gpio_desc *gpio_ym; 53 struct gpio_desc *plate_p, struct gpio_desc *plate_m) in adc_ts_measure() 239 static int vf50_ts_get_gpiod(struct device *dev, struct gpio_desc **gpio_d, in vf50_ts_get_gpiod()
|
| /linux/drivers/video/fbdev/omap2/omapfb/displays/ |
| H A D | panel-sharp-ls037v7dw01.c | 27 struct gpio_desc *resb_gpio; /* low = reset active min 20 us */ 28 struct gpio_desc *ini_gpio; /* high = power on */ 29 struct gpio_desc *mo_gpio; /* low = 480x640, high = 240x320 */ 30 struct gpio_desc *lr_gpio; /* high = conventional horizontal scanning */ 31 struct gpio_desc *ud_gpio; /* high = conventional vertical scanning */ 191 const char *desc, struct gpio_desc **gpiod) in sharp_ls_get_gpio_of() 193 struct gpio_desc *gd; in sharp_ls_get_gpio_of()
|
| /linux/sound/soc/codecs/ |
| H A D | wm1250-ev1.c | 18 struct gpio_desc *clk_ena; 19 struct gpio_desc *clk_sel0; 20 struct gpio_desc *clk_sel1; 21 struct gpio_desc *osr; 22 struct gpio_desc *master;
|
| /linux/include/pcmcia/ |
| H A D | soc_common.h | 55 struct gpio_desc *desc; 66 struct gpio_desc *gpio_reset; 67 struct gpio_desc *gpio_bus_enable;
|
| /linux/include/drm/ |
| H A D | drm_mipi_dbi.h | 17 struct gpio_desc; 50 struct gpio_desc *reset; 67 struct gpio_desc *dc; 166 struct gpio_desc *dc);
|
| /linux/include/linux/regulator/ |
| H A D | da9121.h | 21 struct gpio_desc; 31 struct gpio_desc *gpiod_ren[DA9121_IDX_MAX];
|
| H A D | da9211.h | 15 struct gpio_desc; 35 struct gpio_desc *gpiod_ren[DA9211_MAX_REGULATORS];
|
| /linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
| H A D | led.h | 20 struct gpio_desc; 24 struct gpio_desc *gpiod;
|
| /linux/drivers/gpu/drm/bridge/ |
| H A D | ti-tpd12s015.c | 27 struct gpio_desc *ct_cp_hpd_gpio; 28 struct gpio_desc *ls_oe_gpio; 29 struct gpio_desc *hpd_gpio; 122 struct gpio_desc *gpio; in tpd12s015_probe()
|