Home
last modified time | relevance | path

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

12345678910>>...34

/linux-6.3-rc2/include/linux/gpio/
A Dconsumer.h11 struct gpio_desc;
25 struct gpio_desc *desc[];
95 struct gpio_desc *__must_check
118 struct gpio_desc **desc_array,
123 struct gpio_desc **desc_array,
248 struct gpio_desc *desc) in devm_gpiod_unhinge()
272 struct gpio_desc *__must_check
370 struct gpio_desc **desc_array, in gpiod_get_array_value()
384 struct gpio_desc **desc_array, in gpiod_set_array_value()
651 struct gpio_desc *desc);
[all …]
A Daspeed.h6 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-6.3-rc2/arch/arm/mach-pxa/
A Dmfp-pxa2xx.c39 struct gpio_desc { struct
49 static struct gpio_desc gpio_desc[MFP_PIN_GPIO127 + 1]; argument
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()
231 gpio_desc[i].valid = 1; in pxa25x_mfp_init()
234 gpio_desc[i].can_wakeup = 1; in pxa25x_mfp_init()
257 struct gpio_desc *d; in keypad_set_wake()
262 d = &gpio_desc[gpio]; in keypad_set_wake()
[all …]
/linux-6.3-rc2/sound/soc/tegra/
A Dtegra_asoc_machine.h7 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.3-rc2/drivers/gpio/
A Dgpiolib-devres.c20 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()
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_fwnode_gpiod_get_index(struct device *dev, in devm_fwnode_gpiod_get_index()
153 struct gpio_desc **dr; in devm_fwnode_gpiod_get_index()
154 struct gpio_desc *desc; in devm_fwnode_gpiod_get_index()
191 struct gpio_desc *desc; in devm_gpiod_get_index_optional()
[all …]
A Dgpiolib.h60 struct gpio_desc *descs;
113 struct gpio_desc **desc;
121 struct gpio_desc *gpiochip_get_desc(struct gpio_chip *gc, unsigned int hwnum);
134 struct gpio_desc **desc_array,
139 struct gpio_desc **desc_array,
163 struct gpio_desc { struct
201 int gpiod_request(struct gpio_desc *desc, const char *label); argument
202 void gpiod_free(struct gpio_desc *desc);
215 int gpiod_configure_flags(struct gpio_desc *desc, const char *con_id,
218 int gpiod_hog(struct gpio_desc *desc, const char *name,
[all …]
A Dgpiolib.c313 struct gpio_desc *desc; in gpio_name_to_desc()
343 struct gpio_desc *gpio; in gpiochip_set_desc_names()
620 struct gpio_desc *desc; in gpiochip_machine_hog()
2161 struct gpio_desc *desc; in gpiochip_is_requested()
3337 struct gpio_desc *desc; in gpiochip_lock_as_irq()
3391 struct gpio_desc *desc; in gpiochip_unlock_as_irq()
4177 struct gpio_desc *desc; in gpiod_get_index_optional()
4199 struct gpio_desc *local_desc; in gpiod_hog()
4232 struct gpio_desc *desc; in gpiochip_free_hogs()
4254 struct gpio_desc *desc; in gpiod_get_array()
[all …]
A Dgpiolib-sysfs.c23 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()
434 struct gpio_desc *desc; in export_store()
486 struct gpio_desc *desc; in unexport_store()
651 struct gpio_desc *desc) in gpiod_export_link()
[all …]
A Dgpiolib-of.c349 struct gpio_desc *desc; in of_get_named_gpiod_flags()
395 struct gpio_desc *desc; in of_get_named_gpio()
436 static struct gpio_desc *of_find_gpio_rename(struct device_node *np, in of_find_gpio_rename()
537 struct gpio_desc *desc; in of_find_gpio_rename()
564 static struct gpio_desc *of_find_mt2701_gpio(struct device_node *np, in of_find_mt2701_gpio()
569 struct gpio_desc *desc; in of_find_mt2701_gpio()
612 struct gpio_desc *desc; in of_find_gpio()
655 static struct gpio_desc *of_parse_own_gpio(struct device_node *np, in of_parse_own_gpio()
664 struct gpio_desc *desc; in of_parse_own_gpio()
725 struct gpio_desc *desc; in of_gpiochip_add_hog()
[all …]
A Dgpiolib-of.h15 struct gpio_desc;
19 struct gpio_desc *of_find_gpio(struct device_node *np,
27 static inline struct gpio_desc *of_find_gpio(struct device_node *np, in of_find_gpio()
A Dgpiolib-acpi.h21 struct gpio_desc;
31 struct gpio_desc *acpi_find_gpio(struct fwnode_handle *fwnode,
48 static inline struct gpio_desc *
/linux-6.3-rc2/drivers/input/mouse/
A Dgpio_mouse.c33 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.3-rc2/drivers/iio/adc/
A Dad7606.h107 struct gpio_desc *gpio_convst;
108 struct gpio_desc *gpio_reset;
109 struct gpio_desc *gpio_range;
110 struct gpio_desc *gpio_standby;
111 struct gpio_desc *gpio_frstdata;
/linux-6.3-rc2/drivers/fpga/
A Dlattice-sysconfig.c74 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()
A Dlattice-sysconfig.h25 struct gpio_desc *program;
26 struct gpio_desc *init;
27 struct gpio_desc *done;
/linux-6.3-rc2/include/linux/
A Dw1-gpio.h10 struct gpio_desc;
16 struct gpio_desc *gpiod;
17 struct gpio_desc *pullup_gpiod;
/linux-6.3-rc2/drivers/staging/fbtft/
A Dfbtft.h30 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.3-rc2/drivers/staging/greybus/
A Darche-apb-ctrl.c26 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.3-rc2/Documentation/driver-api/gpio/
A Dconsumer.rst122 struct gpio_desc *desc[];
161 void gpiod_put(struct gpio_desc *desc)
333 struct gpio_desc **desc_array,
337 struct gpio_desc **desc_array,
341 struct gpio_desc **desc_array,
345 struct gpio_desc **desc_array,
350 struct gpio_desc **desc_array,
354 struct gpio_desc **desc_array,
358 struct gpio_desc **desc_array,
362 struct gpio_desc **desc_array,
[all …]
/linux-6.3-rc2/drivers/net/can/m_can/
A Dtcan4x5x.h38 struct gpio_desc *reset_gpio;
39 struct gpio_desc *device_wake_gpio;
40 struct gpio_desc *device_state_gpio;
/linux-6.3-rc2/drivers/phy/motorola/
A Dphy-mapphone-mdm6600.c94 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.3-rc2/drivers/input/touchscreen/
A Dcolibri-vf50-ts.c40 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.3-rc2/drivers/video/fbdev/omap2/omapfb/displays/
A Dpanel-sharp-ls037v7dw01.c27 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-6.3-rc2/drivers/clk/
A Dclk-gpio.c46 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.3-rc2/drivers/gpu/drm/panel/
A 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 */

Completed in 51 milliseconds

12345678910>>...34