/linux-6.1.9/include/linux/gpio/ |
D | consumer.h | 11 struct gpio_desc; 25 struct gpio_desc *desc[]; 62 struct gpio_desc *__must_check gpiod_get(struct device *dev, 65 struct gpio_desc *__must_check gpiod_get_index(struct device *dev, 69 struct gpio_desc *__must_check gpiod_get_optional(struct device *dev, 72 struct gpio_desc *__must_check gpiod_get_index_optional(struct device *dev, 82 void gpiod_put(struct gpio_desc *desc); 85 struct gpio_desc *__must_check devm_gpiod_get(struct device *dev, 88 struct gpio_desc *__must_check devm_gpiod_get_index(struct device *dev, 92 struct gpio_desc *__must_check devm_gpiod_get_optional(struct device *dev, [all …]
|
/linux-6.1.9/arch/arm/mach-pxa/ |
D | mfp-pxa2xx.c | 39 struct gpio_desc { struct 49 static struct gpio_desc gpio_desc[MFP_PIN_GPIO127 + 1]; variable 74 if (is_out ^ gpio_desc[gpio].dir_inverted) in __mfp_config_gpio() 99 if (is_out ^ gpio_desc[gpio].dir_inverted) in __mfp_config_gpio() 107 if ((c & MFP_LPM_CAN_WAKEUP) && !gpio_desc[gpio].can_wakeup) { in __mfp_config_gpio() 124 if ((mfp > MFP_PIN_GPIO127) || !gpio_desc[gpio].valid) { in __mfp_validate() 146 gpio_desc[gpio].config = *c; in pxa2xx_mfp_config() 164 c = gpio_desc[gpio].config; in pxa2xx_mfp_set_lpm() 173 struct gpio_desc *d; in gpio_set_wake() 179 d = &gpio_desc[gpio]; in gpio_set_wake() [all …]
|
/linux-6.1.9/drivers/gpio/ |
D | gpiolib-devres.c | 20 struct gpio_desc **desc = res; in devm_gpiod_release() 27 struct gpio_desc **this = res, **gpio = data; in devm_gpiod_match() 56 struct gpio_desc *__must_check devm_gpiod_get(struct device *dev, in devm_gpiod_get() 74 struct gpio_desc *__must_check devm_gpiod_get_optional(struct device *dev, in devm_gpiod_get_optional() 93 struct gpio_desc *__must_check devm_gpiod_get_index(struct device *dev, in devm_gpiod_get_index() 98 struct gpio_desc **dr; in devm_gpiod_get_index() 99 struct gpio_desc *desc; in devm_gpiod_get_index() 118 dr = devres_alloc(devm_gpiod_release, sizeof(struct gpio_desc *), in devm_gpiod_get_index() 147 struct gpio_desc *devm_gpiod_get_from_of_node(struct device *dev, in devm_gpiod_get_from_of_node() 153 struct gpio_desc **dr; in devm_gpiod_get_from_of_node() [all …]
|
D | gpiolib.h | 60 struct gpio_desc *descs; 98 struct gpio_desc **desc; 106 struct gpio_desc *gpiochip_get_desc(struct gpio_chip *gc, unsigned int hwnum); 119 struct gpio_desc **desc_array, 124 struct gpio_desc **desc_array, 148 struct gpio_desc { struct 186 int gpiod_request(struct gpio_desc *desc, const char *label); argument 187 void gpiod_free(struct gpio_desc *desc); 189 static inline int gpiod_request_user(struct gpio_desc *desc, const char *label) in gpiod_request_user() 200 int gpiod_configure_flags(struct gpio_desc *desc, const char *con_id, [all …]
|
D | gpiolib.c | 94 static inline void desc_set_label(struct gpio_desc *d, const char *label) in desc_set_label() 107 struct gpio_desc *gpio_to_desc(unsigned gpio) in gpio_to_desc() 141 struct gpio_desc *gpiochip_get_desc(struct gpio_chip *gc, in gpiochip_get_desc() 163 int desc_to_gpio(const struct gpio_desc *desc) in desc_to_gpio() 174 struct gpio_chip *gpiod_to_chip(const struct gpio_desc *desc) in gpiod_to_chip() 213 int gpiod_get_direction(struct gpio_desc *desc) in gpiod_get_direction() 300 static struct gpio_desc *gpio_name_to_desc(const char * const name) in gpio_name_to_desc() 311 struct gpio_desc *desc; in gpio_name_to_desc() 341 struct gpio_desc *gpio; in gpiochip_set_desc_names() 548 struct gpio_desc *desc; in gpiochip_machine_hog() [all …]
|
D | gpiolib-of.c | 99 static struct gpio_desc *of_xlate_and_get_gpiod_flags(struct gpio_chip *chip, in of_xlate_and_get_gpiod_flags() 239 static struct gpio_desc *of_get_named_gpiod_flags(const struct device_node *np, in of_get_named_gpiod_flags() 244 struct gpio_desc *desc; in of_get_named_gpiod_flags() 281 struct gpio_desc *desc; in of_get_named_gpio_flags() 336 struct gpio_desc *gpiod_get_from_of_node(const struct device_node *node, in gpiod_get_from_of_node() 342 struct gpio_desc *desc; in gpiod_get_from_of_node() 373 static struct gpio_desc *of_find_spi_gpio(struct device_node *np, in of_find_spi_gpio() 402 static struct gpio_desc *of_find_spi_cs_gpio(struct device_node *np, in of_find_spi_cs_gpio() 432 static struct gpio_desc *of_find_regulator_gpio(struct device_node *np, in of_find_regulator_gpio() 458 static struct gpio_desc *of_find_arizona_gpio(struct device_node *np, in of_find_arizona_gpio() [all …]
|
D | gpiolib-sysfs.c | 23 struct gpio_desc *desc; 64 struct gpio_desc *desc = data->desc; in direction_show() 81 struct gpio_desc *desc = data->desc; in direction_store() 105 struct gpio_desc *desc = data->desc; in value_show() 124 struct gpio_desc *desc = data->desc; in value_store() 158 struct gpio_desc *desc = data->desc; in gpio_sysfs_request_irq() 214 struct gpio_desc *desc = data->desc; in gpio_sysfs_free_irq() 285 struct gpio_desc *desc = data->desc; in gpio_sysfs_set_active_low() 308 struct gpio_desc *desc = data->desc; in active_low_show() 346 struct gpio_desc *desc = data->desc; in gpio_is_visible() [all …]
|
D | gpiolib-acpi.h | 51 struct gpio_desc *acpi_find_gpio(struct device *dev, 56 struct gpio_desc *acpi_node_get_gpiod(struct fwnode_handle *fwnode, 85 static inline struct gpio_desc * 92 static inline struct gpio_desc *
|
/linux-6.1.9/sound/soc/tegra/ |
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-6.1.9/drivers/input/mouse/ |
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-6.1.9/drivers/iio/adc/ |
D | ad7606.h | 109 struct gpio_desc *gpio_convst; 110 struct gpio_desc *gpio_reset; 111 struct gpio_desc *gpio_range; 112 struct gpio_desc *gpio_standby; 113 struct gpio_desc *gpio_frstdata;
|
/linux-6.1.9/include/linux/ |
D | w1-gpio.h | 10 struct gpio_desc; 16 struct gpio_desc *gpiod; 17 struct gpio_desc *pullup_gpiod;
|
D | phy_fixed.h | 16 struct gpio_desc; 30 struct gpio_desc *gpiod); 52 struct gpio_desc *gpiod) in fixed_phy_register_with_gpiod()
|
/linux-6.1.9/drivers/staging/fbtft/ |
D | fbtft.h | 30 struct gpio_desc *gpio; 209 struct gpio_desc *reset; 210 struct gpio_desc *dc; 211 struct gpio_desc *rd; 212 struct gpio_desc *wr; 213 struct gpio_desc *latch; 214 struct gpio_desc *cs; 215 struct gpio_desc *db[16]; 216 struct gpio_desc *led[16]; 217 struct gpio_desc *aux[16];
|
/linux-6.1.9/drivers/staging/greybus/ |
D | arche-apb-ctrl.c | 26 struct gpio_desc *resetn; 27 struct gpio_desc *boot_ret; 28 struct gpio_desc *pwroff; 29 struct gpio_desc *wake_in; 30 struct gpio_desc *wake_out; 31 struct gpio_desc *pwrdn; 39 struct gpio_desc *clk_en; 46 struct gpio_desc *spi_en; 53 static inline void deassert_reset(struct gpio_desc *gpio) in deassert_reset() 58 static inline void assert_reset(struct gpio_desc *gpio) in assert_reset()
|
/linux-6.1.9/Documentation/driver-api/gpio/ |
D | consumer.rst | 49 struct gpio_desc *gpiod_get(struct device *dev, const char *con_id, 55 struct gpio_desc *gpiod_get_index(struct device *dev, 94 struct gpio_desc *gpiod_get_optional(struct device *dev, 98 struct gpio_desc *gpiod_get_index_optional(struct device *dev, 122 struct gpio_desc *desc[]; 134 struct gpio_desc *devm_gpiod_get(struct device *dev, const char *con_id, 137 struct gpio_desc *devm_gpiod_get_index(struct device *dev, 142 struct gpio_desc *devm_gpiod_get_optional(struct device *dev, 146 struct gpio_desc *devm_gpiod_get_index_optional(struct device *dev, 161 void gpiod_put(struct gpio_desc *desc) [all …]
|
/linux-6.1.9/drivers/net/can/m_can/ |
D | tcan4x5x.h | 38 struct gpio_desc *reset_gpio; 39 struct gpio_desc *device_wake_gpio; 40 struct gpio_desc *device_state_gpio;
|
/linux-6.1.9/drivers/phy/motorola/ |
D | phy-mapphone-mdm6600.c | 94 struct gpio_desc *ctrl_gpios[PHY_MDM6600_NR_CTRL_LINES]; 111 struct gpio_desc *enable_gpio = ddata->ctrl_gpios[PHY_MDM6600_ENABLE]; in phy_mdm6600_init() 124 struct gpio_desc *enable_gpio = ddata->ctrl_gpios[PHY_MDM6600_ENABLE]; in phy_mdm6600_power_on() 147 struct gpio_desc *enable_gpio = ddata->ctrl_gpios[PHY_MDM6600_ENABLE]; in phy_mdm6600_power_off() 247 struct gpio_desc *mode_gpio1; in phy_mdm6600_wakeirq_thread() 281 struct gpio_desc *gpio = ddata->status_gpios->desc[i]; in phy_mdm6600_init_irq() 325 struct gpio_desc **gpio = &ddata->ctrl_gpios[i]; in phy_mdm6600_init_lines() 377 struct gpio_desc *mode_gpio0, *mode_gpio1, *reset_gpio, *power_gpio; in phy_mdm6600_device_power_on() 457 struct gpio_desc *reset_gpio = in phy_mdm6600_device_power_off() 497 struct gpio_desc *mode_gpio0; in phy_mdm6600_wake_modem() [all …]
|
/linux-6.1.9/drivers/video/fbdev/omap2/omapfb/displays/ |
D | panel-sharp-ls037v7dw01.c | 28 struct gpio_desc *resb_gpio; /* low = reset active min 20 us */ 29 struct gpio_desc *ini_gpio; /* high = power on */ 30 struct gpio_desc *mo_gpio; /* low = 480x640, high = 240x320 */ 31 struct gpio_desc *lr_gpio; /* high = conventional horizontal scanning */ 32 struct gpio_desc *ud_gpio; /* high = conventional vertical scanning */ 192 const char *desc, struct gpio_desc **gpiod) in sharp_ls_get_gpio_of() 194 struct gpio_desc *gd; in sharp_ls_get_gpio_of()
|
/linux-6.1.9/drivers/input/touchscreen/ |
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-6.1.9/drivers/clk/ |
D | clk-gpio.c | 46 struct gpio_desc *gpiod; 140 struct gpio_desc *gpiod, in clk_register_gpio() 175 struct gpio_desc *gpiod) in clk_hw_register_gpio_gate() 188 struct gpio_desc *gpiod) in clk_hw_register_gpio_mux() 199 struct gpio_desc *gpiod; in gpio_clk_driver_probe()
|
/linux-6.1.9/drivers/gpu/drm/panel/ |
D | panel-sharp-ls037v7dw01.c | 29 struct gpio_desc *resb_gpio; /* low = reset active min 20 us */ 30 struct gpio_desc *ini_gpio; /* high = power on */ 31 struct gpio_desc *mo_gpio; /* low = 480x640, high = 240x320 */ 32 struct gpio_desc *lr_gpio; /* high = conventional horizontal scanning */ 33 struct gpio_desc *ud_gpio; /* high = conventional vertical scanning */
|
/linux-6.1.9/include/drm/ |
D | drm_mipi_dbi.h | 17 struct gpio_desc; 48 struct gpio_desc *reset; 60 struct gpio_desc *dc; 149 struct gpio_desc *dc);
|
/linux-6.1.9/include/pcmcia/ |
D | soc_common.h | 55 struct gpio_desc *desc; 66 struct gpio_desc *gpio_reset; 67 struct gpio_desc *gpio_bus_enable;
|
/linux-6.1.9/drivers/net/phy/ |
D | fixed_phy.c | 40 struct gpio_desc *link_gpiod; 135 struct gpio_desc *gpiod) in fixed_phy_add_gpiod() 190 static struct gpio_desc *fixed_phy_get_gpiod(struct device_node *np) in fixed_phy_get_gpiod() 193 struct gpio_desc *gpiod; in fixed_phy_get_gpiod() 220 static struct gpio_desc *fixed_phy_get_gpiod(struct device_node *np) in fixed_phy_get_gpiod() 229 struct gpio_desc *gpiod) in __fixed_phy_register() 321 struct gpio_desc *gpiod) in fixed_phy_register_with_gpiod()
|