Home
last modified time | relevance | path

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

/linux-6.12.1/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-6.12.1/drivers/w1/masters/
Dw1-gpio.c22 struct gpio_desc *pullup_gpiod; member
96 ddata->pullup_gpiod = in w1_gpio_probe()
98 if (IS_ERR(ddata->pullup_gpiod)) in w1_gpio_probe()
99 return dev_err_probe(dev, PTR_ERR(ddata->pullup_gpiod), in w1_gpio_probe()
120 gpiod_set_value(ddata->pullup_gpiod, 1); in w1_gpio_probe()
132 gpiod_set_value(ddata->pullup_gpiod, 0); in w1_gpio_remove()