Home
last modified time | relevance | path

Searched refs:gpio_desc (Results 1 – 25 of 375) sorted by relevance

12345678910>>...15

/Linux-v4.19/include/linux/gpio/
Dconsumer.h18 struct gpio_desc;
26 struct gpio_desc *desc[];
54 struct gpio_desc *__must_check gpiod_get(struct device *dev,
57 struct gpio_desc *__must_check gpiod_get_index(struct device *dev,
61 struct gpio_desc *__must_check gpiod_get_optional(struct device *dev,
64 struct gpio_desc *__must_check gpiod_get_index_optional(struct device *dev,
74 void gpiod_put(struct gpio_desc *desc);
77 struct gpio_desc *__must_check devm_gpiod_get(struct device *dev,
80 struct gpio_desc *__must_check devm_gpiod_get_index(struct device *dev,
84 struct gpio_desc *__must_check devm_gpiod_get_optional(struct device *dev,
[all …]
Daspeed.h9 int aspeed_gpio_copro_grab_gpio(struct gpio_desc *desc,
11 int aspeed_gpio_copro_release_gpio(struct gpio_desc *desc);
/Linux-v4.19/arch/arm/mach-pxa/
Dmfp-pxa2xx.c41 struct gpio_desc { struct
51 static struct gpio_desc gpio_desc[MFP_PIN_GPIO127 + 1]; variable
76 if (is_out ^ gpio_desc[gpio].dir_inverted) in __mfp_config_gpio()
101 if (is_out ^ gpio_desc[gpio].dir_inverted) in __mfp_config_gpio()
109 if ((c & MFP_LPM_CAN_WAKEUP) && !gpio_desc[gpio].can_wakeup) { in __mfp_config_gpio()
126 if ((mfp > MFP_PIN_GPIO127) || !gpio_desc[gpio].valid) { in __mfp_validate()
148 gpio_desc[gpio].config = *c; in pxa2xx_mfp_config()
166 c = gpio_desc[gpio].config; in pxa2xx_mfp_set_lpm()
175 struct gpio_desc *d; in gpio_set_wake()
181 d = &gpio_desc[gpio]; in gpio_set_wake()
[all …]
/Linux-v4.19/drivers/gpio/
Dgpiolib.h58 struct gpio_desc *descs;
98 struct gpio_desc *of_find_gpio(struct device *dev,
102 struct gpio_desc *of_get_named_gpiod_flags(struct device_node *np,
107 static inline struct gpio_desc *of_find_gpio(struct device *dev, in of_find_gpio()
114 static inline struct gpio_desc *of_get_named_gpiod_flags(struct device_node *np, in of_get_named_gpiod_flags()
133 struct gpio_desc *acpi_find_gpio(struct device *dev,
138 struct gpio_desc *acpi_node_get_gpiod(struct fwnode_handle *fwnode,
161 static inline struct gpio_desc *
168 static inline struct gpio_desc *
186 struct gpio_desc *gpiochip_get_desc(struct gpio_chip *chip, u16 hwnum);
[all …]
Ddevres.c28 struct gpio_desc **desc = res; in devm_gpiod_release()
35 struct gpio_desc **this = res, **gpio = data; in devm_gpiod_match()
64 struct gpio_desc *__must_check devm_gpiod_get(struct device *dev, in devm_gpiod_get()
82 struct gpio_desc *__must_check devm_gpiod_get_optional(struct device *dev, in devm_gpiod_get_optional()
101 struct gpio_desc *__must_check devm_gpiod_get_index(struct device *dev, in devm_gpiod_get_index()
106 struct gpio_desc **dr; in devm_gpiod_get_index()
107 struct gpio_desc *desc; in devm_gpiod_get_index()
109 dr = devres_alloc(devm_gpiod_release, sizeof(struct gpio_desc *), in devm_gpiod_get_index()
142 struct gpio_desc *devm_gpiod_get_from_of_node(struct device *dev, in devm_gpiod_get_from_of_node()
148 struct gpio_desc **dr; in devm_gpiod_get_from_of_node()
[all …]
Dgpiolib.c92 static inline void desc_set_label(struct gpio_desc *d, const char *label) in desc_set_label()
105 struct gpio_desc *gpio_to_desc(unsigned gpio) in gpio_to_desc()
139 struct gpio_desc *gpiochip_get_desc(struct gpio_chip *chip, in gpiochip_get_desc()
160 int desc_to_gpio(const struct gpio_desc *desc) in desc_to_gpio()
171 struct gpio_chip *gpiod_to_chip(const struct gpio_desc *desc) in gpiod_to_chip()
211 int gpiod_get_direction(struct gpio_desc *desc) in gpiod_get_direction()
288 static struct gpio_desc *gpio_name_to_desc(const char * const name) in gpio_name_to_desc()
299 struct gpio_desc *desc = &gdev->descs[i]; in gpio_name_to_desc()
332 struct gpio_desc *gpio; in gpiochip_set_desc_names()
413 struct gpio_desc *descs[GPIOHANDLES_MAX];
[all …]
Dgpiolib-of.c44 static struct gpio_desc *of_xlate_and_get_gpiod_flags(struct gpio_chip *chip, in of_xlate_and_get_gpiod_flags()
108 struct gpio_desc *of_get_named_gpiod_flags(struct device_node *np, in of_get_named_gpiod_flags()
113 struct gpio_desc *desc; in of_get_named_gpiod_flags()
150 struct gpio_desc *desc; in of_get_named_gpio_flags()
166 static struct gpio_desc *of_find_spi_gpio(struct device *dev, const char *con_id, in of_find_spi_gpio()
171 struct gpio_desc *desc; in of_find_spi_gpio()
196 static struct gpio_desc *of_find_regulator_gpio(struct device *dev, const char *con_id, in of_find_regulator_gpio()
206 struct gpio_desc *desc; in of_find_regulator_gpio()
223 struct gpio_desc *of_find_gpio(struct device *dev, const char *con_id, in of_find_gpio()
229 struct gpio_desc *desc; in of_find_gpio()
[all …]
Dgpiolib-sysfs.c21 struct gpio_desc *desc;
62 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()
127 struct gpio_desc *desc = data->desc; in value_store()
167 struct gpio_desc *desc = data->desc; in gpio_sysfs_request_irq()
223 struct gpio_desc *desc = data->desc; in gpio_sysfs_free_irq()
307 struct gpio_desc *desc = data->desc; in gpio_sysfs_set_active_low()
333 struct gpio_desc *desc = data->desc; in active_low_show()
370 struct gpio_desc *desc = data->desc; in gpio_is_visible()
[all …]
/Linux-v4.19/drivers/staging/iio/adc/
Dad7606.h43 struct gpio_desc *gpio_convst;
44 struct gpio_desc *gpio_reset;
45 struct gpio_desc *gpio_range;
46 struct gpio_desc *gpio_standby;
47 struct gpio_desc *gpio_frstdata;
/Linux-v4.19/drivers/input/mouse/
Dgpio_mouse.c36 struct gpio_desc *up;
37 struct gpio_desc *down;
38 struct gpio_desc *left;
39 struct gpio_desc *right;
40 struct gpio_desc *bleft;
41 struct gpio_desc *bmiddle;
42 struct gpio_desc *bright;
/Linux-v4.19/include/linux/
Dw1-gpio.h13 struct gpio_desc;
19 struct gpio_desc *gpiod;
20 struct gpio_desc *pullup_gpiod;
/Linux-v4.19/Documentation/driver-api/gpio/
Dconsumer.rst49 struct gpio_desc *gpiod_get(struct device *dev, const char *con_id,
55 struct gpio_desc *gpiod_get_index(struct device *dev,
90 struct gpio_desc *gpiod_get_optional(struct device *dev,
94 struct gpio_desc *gpiod_get_index_optional(struct device *dev,
116 struct gpio_desc *desc[];
128 struct gpio_desc *devm_gpiod_get(struct device *dev, const char *con_id,
131 struct gpio_desc *devm_gpiod_get_index(struct device *dev,
136 struct gpio_desc *devm_gpiod_get_optional(struct device *dev,
140 struct gpio_desc *devm_gpiod_get_index_optional(struct device *dev,
155 void gpiod_put(struct gpio_desc *desc)
[all …]
/Linux-v4.19/drivers/phy/motorola/
Dphy-mapphone-mdm6600.c92 struct gpio_desc *ctrl_gpios[PHY_MDM6600_NR_CTRL_LINES];
109 struct gpio_desc *enable_gpio = ddata->ctrl_gpios[PHY_MDM6600_ENABLE]; in phy_mdm6600_init()
122 struct gpio_desc *enable_gpio = ddata->ctrl_gpios[PHY_MDM6600_ENABLE]; in phy_mdm6600_power_on()
135 struct gpio_desc *enable_gpio = ddata->ctrl_gpios[PHY_MDM6600_ENABLE]; in phy_mdm6600_power_off()
226 struct gpio_desc *mode_gpio1; in phy_mdm6600_wakeirq_thread()
246 struct gpio_desc *gpio = ddata->status_gpios->desc[i]; in phy_mdm6600_init_irq()
290 struct gpio_desc **gpio = &ddata->ctrl_gpios[i]; in phy_mdm6600_init_lines()
342 struct gpio_desc *mode_gpio0, *mode_gpio1, *reset_gpio, *power_gpio; in phy_mdm6600_device_power_on()
422 struct gpio_desc *reset_gpio = in phy_mdm6600_device_power_off()
462 struct gpio_desc *mode_gpio0; in phy_mdm6600_wake_modem()
[all …]
/Linux-v4.19/include/drm/tinydrm/
Dmipi-dbi.h18 struct gpio_desc;
47 struct gpio_desc *dc;
52 struct gpio_desc *reset;
65 struct gpio_desc *dc);
/Linux-v4.19/drivers/clk/
Dclk-gpio.c96 const char * const *parent_names, u8 num_parents, struct gpio_desc *gpiod, in clk_register_gpio()
147 const char *parent_name, struct gpio_desc *gpiod, in clk_hw_register_gpio_gate()
158 const char *parent_name, struct gpio_desc *gpiod, in clk_register_gpio_gate()
180 const char * const *parent_names, u8 num_parents, struct gpio_desc *gpiod, in clk_hw_register_gpio_mux()
194 const char * const *parent_names, u8 num_parents, struct gpio_desc *gpiod, in clk_register_gpio_mux()
212 struct gpio_desc *gpiod; in gpio_clk_driver_probe()
/Linux-v4.19/drivers/gpu/drm/omapdrm/displays/
Dpanel-sharp-ls037v7dw01.c29 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 */
208 const char *desc, struct gpio_desc **gpiod) in sharp_ls_get_gpio_of()
210 struct gpio_desc *gd; in sharp_ls_get_gpio_of()
/Linux-v4.19/drivers/pcmcia/
Dsoc_common.h21 struct gpio_desc;
63 struct gpio_desc *desc;
74 struct gpio_desc *gpio_reset;
75 struct gpio_desc *gpio_bus_enable;
/Linux-v4.19/drivers/input/touchscreen/
Dcolibri-vf50-ts.c45 struct gpio_desc *gpio_xp;
46 struct gpio_desc *gpio_xm;
47 struct gpio_desc *gpio_yp;
48 struct gpio_desc *gpio_ym;
58 struct gpio_desc *plate_p, struct gpio_desc *plate_m) in adc_ts_measure()
244 static int vf50_ts_get_gpiod(struct device *dev, struct gpio_desc **gpio_d, in vf50_ts_get_gpiod()
/Linux-v4.19/drivers/video/fbdev/omap2/omapfb/displays/
Dpanel-sharp-ls037v7dw01.c31 struct gpio_desc *resb_gpio; /* low = reset active min 20 us */
32 struct gpio_desc *ini_gpio; /* high = power on */
33 struct gpio_desc *mo_gpio; /* low = 480x640, high = 240x320 */
34 struct gpio_desc *lr_gpio; /* high = conventional horizontal scanning */
35 struct gpio_desc *ud_gpio; /* high = conventional vertical scanning */
200 const char *desc, struct gpio_desc **gpiod) in sharp_ls_get_gpio_of()
202 struct gpio_desc *gd; in sharp_ls_get_gpio_of()
/Linux-v4.19/drivers/siox/
Dsiox-bus-gpio.c18 struct gpio_desc *din;
19 struct gpio_desc *dout;
20 struct gpio_desc *dclk;
21 struct gpio_desc *dld;
/Linux-v4.19/include/linux/regulator/
Dda9211.h24 struct gpio_desc;
44 struct gpio_desc *gpiod_ren[DA9211_MAX_REGULATORS];
/Linux-v4.19/include/linux/mfd/madera/
Dpdata.h25 struct gpio_desc;
45 struct gpio_desc *reset;
/Linux-v4.19/include/linux/mfd/da9055/
Dpdata.h15 struct gpio_desc;
52 struct gpio_desc **ena_gpiods;
/Linux-v4.19/drivers/i2c/muxes/
Di2c-mux-gpio.c24 struct gpio_desc **gpios;
212 struct gpio_desc *gpio_desc; in i2c_mux_gpio_probe() local
231 gpio_desc = gpio_to_desc(gpio_base + mux->data.gpios[i]); in i2c_mux_gpio_probe()
232 mux->gpios[i] = gpio_desc; in i2c_mux_gpio_probe()
237 gpio_dev = &gpio_desc->gdev->dev; in i2c_mux_gpio_probe()
/Linux-v4.19/arch/arm/plat-orion/include/plat/
Dorion-gpio.h18 struct gpio_desc;
25 int orion_gpio_led_blink_set(struct gpio_desc *desc, int state,

12345678910>>...15