Home
last modified time | relevance | path

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

1234567

/drivers/gpio/
Dgpiolib.h58 struct gpio_desc *descs;
91 struct gpio_desc *of_find_gpio(struct device *dev,
95 struct gpio_desc *of_get_named_gpiod_flags(struct device_node *np,
100 static inline struct gpio_desc *of_find_gpio(struct device *dev, in of_find_gpio()
107 static inline struct gpio_desc *of_get_named_gpiod_flags(struct device_node *np, in of_get_named_gpiod_flags()
123 struct gpio_desc *acpi_find_gpio(struct device *dev,
128 struct gpio_desc *acpi_node_get_gpiod(struct fwnode_handle *fwnode,
145 static inline struct gpio_desc *
152 static inline struct gpio_desc *
170 struct gpio_desc *gpiochip_get_desc(struct gpio_chip *chip, u16 hwnum);
[all …]
Ddevres.c26 struct gpio_desc **desc = res; in devm_gpiod_release()
33 struct gpio_desc **this = res, **gpio = data; in devm_gpiod_match()
62 struct gpio_desc *__must_check devm_gpiod_get(struct device *dev, in devm_gpiod_get()
80 struct gpio_desc *__must_check devm_gpiod_get_optional(struct device *dev, in devm_gpiod_get_optional()
99 struct gpio_desc *__must_check devm_gpiod_get_index(struct device *dev, in devm_gpiod_get_index()
104 struct gpio_desc **dr; in devm_gpiod_get_index()
105 struct gpio_desc *desc; in devm_gpiod_get_index()
107 dr = devres_alloc(devm_gpiod_release, sizeof(struct gpio_desc *), in devm_gpiod_get_index()
134 struct gpio_desc *devm_get_gpiod_from_child(struct device *dev, in devm_get_gpiod_from_child()
140 struct gpio_desc **dr; in devm_get_gpiod_from_child()
[all …]
Dgpiolib.c80 static inline void desc_set_label(struct gpio_desc *d, const char *label) in desc_set_label()
88 struct gpio_desc *gpio_to_desc(unsigned gpio) in gpio_to_desc()
115 struct gpio_desc *gpiochip_get_desc(struct gpio_chip *chip, in gpiochip_get_desc()
131 int desc_to_gpio(const struct gpio_desc *desc) in desc_to_gpio()
142 struct gpio_chip *gpiod_to_chip(const struct gpio_desc *desc) in gpiod_to_chip()
182 int gpiod_get_direction(struct gpio_desc *desc) in gpiod_get_direction()
259 static struct gpio_desc *gpio_name_to_desc(const char * const name) in gpio_name_to_desc()
270 struct gpio_desc *desc = &gdev->descs[i]; in gpio_name_to_desc()
303 struct gpio_desc *gpio; in gpiochip_set_desc_names()
333 struct gpio_desc *descs[GPIOHANDLES_MAX];
[all …]
Dgpiolib-sysfs.c19 struct gpio_desc *desc;
60 struct gpio_desc *desc = data->desc; in direction_show()
79 struct gpio_desc *desc = data->desc; in direction_store()
103 struct gpio_desc *desc = data->desc; in value_show()
119 struct gpio_desc *desc = data->desc; in value_store()
155 struct gpio_desc *desc = data->desc; in gpio_sysfs_request_irq()
211 struct gpio_desc *desc = data->desc; in gpio_sysfs_free_irq()
295 struct gpio_desc *desc = data->desc; in gpio_sysfs_set_active_low()
321 struct gpio_desc *desc = data->desc; in active_low_show()
358 struct gpio_desc *desc = data->desc; in gpio_is_visible()
[all …]
Dgpiolib-of.c43 static struct gpio_desc *of_xlate_and_get_gpiod_flags(struct gpio_chip *chip, in of_xlate_and_get_gpiod_flags()
70 struct gpio_desc *of_get_named_gpiod_flags(struct device_node *np, in of_get_named_gpiod_flags()
75 struct gpio_desc *desc; in of_get_named_gpiod_flags()
109 struct gpio_desc *desc; in of_get_named_gpio_flags()
120 struct gpio_desc *of_find_gpio(struct device *dev, const char *con_id, in of_find_gpio()
126 struct gpio_desc *desc; in of_find_gpio()
171 static struct gpio_desc *of_parse_own_gpio(struct device_node *np, in of_parse_own_gpio()
180 struct gpio_desc *desc; in of_parse_own_gpio()
283 struct gpio_desc *desc = NULL; in of_gpiochip_scan_gpios()
Dgpiolib-acpi.c31 struct gpio_desc *desc;
37 struct gpio_desc *desc;
123 static struct gpio_desc *acpi_get_gpiod(char *path, int pin) in acpi_get_gpiod()
177 struct gpio_desc *desc; in acpi_gpiochip_request_interrupt()
340 struct gpio_desc *desc; in acpi_gpiochip_free_interrupts()
395 struct gpio_desc *desc;
518 static struct gpio_desc *acpi_get_gpiod_by_index(struct acpi_device *adev, in acpi_get_gpiod_by_index()
551 struct gpio_desc *acpi_find_gpio(struct device *dev, in acpi_find_gpio()
559 struct gpio_desc *desc; in acpi_find_gpio()
614 struct gpio_desc *acpi_node_get_gpiod(struct fwnode_handle *fwnode, in acpi_node_get_gpiod()
[all …]
Dgpiolib-legacy.c22 struct gpio_desc *desc; in gpio_request_one()
69 struct gpio_desc *desc = gpio_to_desc(gpio); in gpio_request()
/drivers/input/touchscreen/
Dcolibri-vf50-ts.c46 struct gpio_desc *gpio_xp;
47 struct gpio_desc *gpio_xm;
48 struct gpio_desc *gpio_yp;
49 struct gpio_desc *gpio_ym;
59 struct gpio_desc *plate_p, struct gpio_desc *plate_m) in adc_ts_measure()
245 static int vf50_ts_get_gpiod(struct device *dev, struct gpio_desc **gpio_d, in vf50_ts_get_gpiod()
/drivers/gpu/drm/omapdrm/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()
Dencoder-tpd12s015.c25 struct gpio_desc *ct_cp_hpd_gpio;
26 struct gpio_desc *ls_oe_gpio;
27 struct gpio_desc *hpd_gpio;
222 struct gpio_desc *gpio; in tpd_probe()
/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()
Dencoder-tpd12s015.c25 struct gpio_desc *ct_cp_hpd_gpio;
26 struct gpio_desc *ls_oe_gpio;
27 struct gpio_desc *hpd_gpio;
224 struct gpio_desc *gpio; in tpd_probe()
/drivers/pcmcia/
Dsoc_common.h20 struct gpio_desc;
62 struct gpio_desc *desc;
73 struct gpio_desc *gpio_reset;
74 struct gpio_desc *gpio_bus_enable;
/drivers/video/fbdev/
Damba-clcd-nomadik.c13 static struct gpio_desc *grestb;
14 static struct gpio_desc *scen;
15 static struct gpio_desc *scl;
16 static struct gpio_desc *sda;
/drivers/extcon/
Dextcon-max3355.c21 struct gpio_desc *id_gpiod;
22 struct gpio_desc *shdn_gpiod;
60 struct gpio_desc *gpiod; in max3355_probe()
/drivers/mmc/core/
Dslot-gpio.c24 struct gpio_desc *ro_gpio;
25 struct gpio_desc *cd_gpio;
235 struct gpio_desc *desc; in mmc_gpiod_request_cd()
281 struct gpio_desc *desc; in mmc_gpiod_request_ro()
/drivers/usb/phy/
Dphy-generic.h13 struct gpio_desc *gpiod_reset;
14 struct gpio_desc *gpiod_vbus;
/drivers/usb/isp1760/
Disp1760-core.h25 struct gpio_desc;
46 struct gpio_desc *rst_gpio;
/drivers/usb/host/
Dbcma-hcd.c45 struct gpio_desc *gpio_desc; member
289 if (IS_ERR_OR_NULL(usb_dev->gpio_desc)) in bcma_hci_platform_power_gpio()
292 gpiod_set_value(usb_dev->gpio_desc, val); in bcma_hci_platform_power_gpio()
411 usb_dev->gpio_desc = devm_gpiod_get(&core->dev, "vcc", in bcma_hcd_probe()
/drivers/hwmon/
Dnsa320-hwmon.c52 struct gpio_desc *act;
53 struct gpio_desc *clk;
54 struct gpio_desc *data;
/drivers/i2c/muxes/
Di2c-mux-gpio.c203 struct gpio_desc *gpio_desc; in i2c_mux_gpio_probe() local
225 gpio_desc = gpio_to_desc(gpio_base + mux->data.gpios[i]); in i2c_mux_gpio_probe()
226 gpio_dev = &gpio_desc->gdev->dev; in i2c_mux_gpio_probe()
/drivers/tty/serial/
Dserial_mctrl_gpio.h66 struct gpio_desc *mctrl_gpio_to_gpiod(struct mctrl_gpios *gpios,
124 struct gpio_desc *mctrl_gpio_to_gpiod(struct mctrl_gpios *gpios, in mctrl_gpio_to_gpiod()
Dserial_mctrl_gpio.c29 struct gpio_desc *gpio[UART_GPIO_MAX];
51 struct gpio_desc *desc_array[UART_GPIO_MAX]; in mctrl_gpio_set()
68 struct gpio_desc *mctrl_gpio_to_gpiod(struct mctrl_gpios *gpios, in mctrl_gpio_to_gpiod()
/drivers/power/reset/
Dltc2952-poweroff.c77 struct gpio_desc *gpio_trigger;
78 struct gpio_desc *gpio_watchdog;
79 struct gpio_desc *gpio_kill;
/drivers/phy/
Dphy-tusb1210.c26 struct gpio_desc *gpio_reset;
27 struct gpio_desc *gpio_cs;

1234567