Home
last modified time | relevance | path

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

/linux-6.1.9/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.1.9/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-6.1.9/include/linux/
Dw1-gpio.h17 struct gpio_desc *pullup_gpiod; member
/linux-6.1.9/drivers/usb/gadget/udc/
Ds3c2410_udc.h87 struct gpio_desc *pullup_gpiod; member
Ds3c2410_udc.c1422 if (udc_info && (udc_info->udc_command || udc->pullup_gpiod)) { in s3c2410_udc_set_pullup()
1512 } else if (udc->pullup_gpiod) { in s3c2410_udc_command()
1526 gpiod_set_value(udc->pullup_gpiod, value); in s3c2410_udc_command()
1834 udc->pullup_gpiod = gpiod_get_optional(dev, "pullup", GPIOD_OUT_LOW); in s3c2410_udc_probe()
1835 if (IS_ERR(udc->pullup_gpiod)) { in s3c2410_udc_probe()
1836 retval = PTR_ERR(udc->pullup_gpiod); in s3c2410_udc_probe()
1839 gpiod_set_consumer_name(udc->pullup_gpiod, "udc pullup"); in s3c2410_udc_probe()