Home
last modified time | relevance | path

Searched refs:pullup_gpiod (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.10/drivers/usb/phy/
Dphy-gpio-vbus-usb.c32 struct gpio_desc *pullup_gpiod; member
122 if (gpio_vbus->pullup_gpiod) in gpio_vbus_work()
123 gpiod_set_value(gpio_vbus->pullup_gpiod, 1); in gpio_vbus_work()
130 if (gpio_vbus->pullup_gpiod) in gpio_vbus_work()
131 gpiod_set_value(gpio_vbus->pullup_gpiod, 0); in gpio_vbus_work()
180 if (gpio_vbus->pullup_gpiod) in gpio_vbus_set_peripheral()
181 gpiod_set_value(gpio_vbus->pullup_gpiod, 0); in gpio_vbus_set_peripheral()
287 gpio_vbus->pullup_gpiod = devm_gpiod_get_optional(dev, "pullup", in gpio_vbus_probe()
289 if (IS_ERR(gpio_vbus->pullup_gpiod)) { in gpio_vbus_probe()
290 err = PTR_ERR(gpio_vbus->pullup_gpiod); in gpio_vbus_probe()
[all …]
/Linux-v5.10/drivers/w1/masters/
Dw1-gpio.c115 pdata->pullup_gpiod = in w1_gpio_probe()
117 if (IS_ERR(pdata->pullup_gpiod)) { in w1_gpio_probe()
120 return PTR_ERR(pdata->pullup_gpiod); in w1_gpio_probe()
146 if (pdata->pullup_gpiod) in w1_gpio_probe()
147 gpiod_set_value(pdata->pullup_gpiod, 1); in w1_gpio_probe()
162 if (pdata->pullup_gpiod) in w1_gpio_remove()
163 gpiod_set_value(pdata->pullup_gpiod, 0); in w1_gpio_remove()
/Linux-v5.10/include/linux/
Dw1-gpio.h17 struct gpio_desc *pullup_gpiod; member