Home
last modified time | relevance | path

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

12345678910>>...29

/drivers/gpio/
Dgpiolib.h64 struct gpio_desc *descs;
109 struct gpio_desc **desc;
118 struct gpio_desc *gpiochip_get_desc(struct gpio_chip *gc, unsigned int hwnum);
131 struct gpio_desc **desc_array,
136 struct gpio_desc **desc_array,
143 void gpiod_line_state_notify(struct gpio_desc *desc, unsigned long action);
161 struct gpio_desc { struct
200 int gpiod_request(struct gpio_desc *desc, const char *label); argument
201 void gpiod_free(struct gpio_desc *desc);
203 static inline int gpiod_request_user(struct gpio_desc *desc, const char *label) in gpiod_request_user()
[all …]
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()
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_fwnode_gpiod_get_index(struct device *dev, in devm_fwnode_gpiod_get_index()
153 struct gpio_desc **dr; in devm_fwnode_gpiod_get_index()
[all …]
Dgpiolib.c113 static inline void desc_set_label(struct gpio_desc *d, const char *label) in desc_set_label()
126 struct gpio_desc *gpio_to_desc(unsigned gpio) in gpio_to_desc()
160 struct gpio_desc *gpiochip_get_desc(struct gpio_chip *gc, in gpiochip_get_desc()
182 int desc_to_gpio(const struct gpio_desc *desc) in desc_to_gpio()
193 struct gpio_chip *gpiod_to_chip(const struct gpio_desc *desc) in gpiod_to_chip()
234 int gpiod_get_direction(struct gpio_desc *desc) in gpiod_get_direction()
321 static struct gpio_desc *gpio_name_to_desc(const char * const name) in gpio_name_to_desc()
332 struct gpio_desc *desc; in gpio_name_to_desc()
362 struct gpio_desc *gpio; in gpiochip_set_desc_names()
640 struct gpio_desc *desc; in gpiochip_machine_hog()
[all …]
Dgpiolib-sysfs.c35 struct gpio_desc *desc;
76 struct gpio_desc *desc = data->desc; in direction_show()
93 struct gpio_desc *desc = data->desc; in direction_store()
117 struct gpio_desc *desc = data->desc; in value_show()
136 struct gpio_desc *desc = data->desc; in value_store()
170 struct gpio_desc *desc = data->desc; in gpio_sysfs_request_irq()
226 struct gpio_desc *desc = data->desc; in gpio_sysfs_free_irq()
297 struct gpio_desc *desc = data->desc; in gpio_sysfs_set_active_low()
320 struct gpio_desc *desc = data->desc; in active_low_show()
358 struct gpio_desc *desc = data->desc; in gpio_is_visible()
[all …]
Dgpiolib-of.c136 static struct gpio_desc *of_xlate_and_get_gpiod_flags(struct gpio_chip *chip, in of_xlate_and_get_gpiod_flags()
380 static struct gpio_desc *of_get_named_gpiod_flags(const struct device_node *np, in of_get_named_gpiod_flags()
385 struct gpio_desc *desc; in of_get_named_gpiod_flags()
431 struct gpio_desc *desc; in of_get_named_gpio()
472 static struct gpio_desc *of_find_gpio_rename(struct device_node *np, in of_find_gpio_rename()
578 struct gpio_desc *desc; in of_find_gpio_rename()
605 static struct gpio_desc *of_find_mt2701_gpio(struct device_node *np, in of_find_mt2701_gpio()
610 struct gpio_desc *desc; in of_find_mt2701_gpio()
637 typedef struct gpio_desc *(*of_find_gpio_quirk)(struct device_node *np,
647 struct gpio_desc *of_find_gpio(struct device_node *np, const char *con_id, in of_find_gpio()
[all …]
Dgpiolib-of.h14 struct gpio_desc;
18 struct gpio_desc *of_find_gpio(struct device_node *np,
26 static inline struct gpio_desc *of_find_gpio(struct device_node *np, in of_find_gpio()
Dgpiolib-acpi.h20 struct gpio_desc;
30 struct gpio_desc *acpi_find_gpio(struct fwnode_handle *fwnode,
47 static inline struct gpio_desc *
Dgpiolib-acpi.c71 struct gpio_desc *desc;
77 struct gpio_desc *desc;
161 static struct gpio_desc *acpi_get_gpiod(char *path, unsigned int pin) in acpi_get_gpiod()
189 struct gpio_desc *acpi_get_and_request_gpiod(char *path, unsigned int pin, char *label) in acpi_get_and_request_gpiod()
191 struct gpio_desc *gpio; in acpi_get_and_request_gpiod()
345 static struct gpio_desc *acpi_request_own_gpiod(struct gpio_chip *chip, in acpi_request_own_gpiod()
353 struct gpio_desc *desc; in acpi_request_own_gpiod()
432 struct gpio_desc *desc; in acpi_gpiochip_alloc_event()
767 struct gpio_desc *desc;
781 struct gpio_desc *desc; in acpi_populate_gpio_lookup()
[all …]
/drivers/input/mouse/
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;
/drivers/fpga/
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()
Dlattice-sysconfig.h25 struct gpio_desc *program;
26 struct gpio_desc *init;
27 struct gpio_desc *done;
/drivers/staging/greybus/
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()
/drivers/staging/fbtft/
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];
/drivers/iio/adc/
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;
/drivers/phy/motorola/
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()
141 struct gpio_desc *enable_gpio = ddata->ctrl_gpios[PHY_MDM6600_ENABLE]; in phy_mdm6600_power_off()
236 struct gpio_desc *mode_gpio1; in phy_mdm6600_wakeirq_thread()
270 struct gpio_desc *gpio = ddata->status_gpios->desc[i]; in phy_mdm6600_init_irq()
314 struct gpio_desc **gpio = &ddata->ctrl_gpios[i]; in phy_mdm6600_init_lines()
366 struct gpio_desc *mode_gpio0, *mode_gpio1, *reset_gpio, *power_gpio; in phy_mdm6600_device_power_on()
446 struct gpio_desc *reset_gpio = in phy_mdm6600_device_power_off()
498 struct gpio_desc *mode_gpio0; in phy_mdm6600_wake_modem()
[all …]
/drivers/video/fbdev/omap2/omapfb/displays/
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()
/drivers/input/touchscreen/
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()
/drivers/gpu/drm/panel/
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 */
/drivers/clk/
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()
/drivers/net/can/m_can/
Dtcan4x5x.h38 struct gpio_desc *reset_gpio;
39 struct gpio_desc *device_wake_gpio;
40 struct gpio_desc *device_state_gpio;
/drivers/power/supply/
Dmax8903_charger.c27 struct gpio_desc *cen; /* Charger Enable input */
28 struct gpio_desc *dok; /* DC (Adapter) Power OK output */
29 struct gpio_desc *uok; /* USB Power OK output */
30 struct gpio_desc *chg; /* Charger status output */
31 struct gpio_desc *flt; /* Fault output */
32 struct gpio_desc *dcm; /* Current-Limit Mode input (1: DC, 2: USB) */
33 struct gpio_desc *usus; /* USB Suspend Input (1: suspended) */
/drivers/net/phy/
Dfixed_phy.c40 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()
/drivers/usb/host/
Dbcma-hcd.c44 struct gpio_desc *gpio_desc; member
288 if (!usb_dev->gpio_desc) in bcma_hci_platform_power_gpio()
291 gpiod_set_value(usb_dev->gpio_desc, val); in bcma_hci_platform_power_gpio()
409 usb_dev->gpio_desc = devm_gpiod_get_optional(&core->dev, "vcc", in bcma_hcd_probe()
411 if (IS_ERR(usb_dev->gpio_desc)) in bcma_hcd_probe()
412 return dev_err_probe(&core->dev, PTR_ERR(usb_dev->gpio_desc), in bcma_hcd_probe()
/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;
/drivers/phy/
Dphy-can-transceiver.c24 struct gpio_desc *standby_gpio;
25 struct gpio_desc *enable_gpio;
104 struct gpio_desc *standby_gpio; in can_transceiver_phy_probe()
105 struct gpio_desc *enable_gpio; in can_transceiver_phy_probe()

12345678910>>...29