Searched refs:pullup_gpiod (Results 1 – 5 of 5) sorted by relevance
/linux-6.1.9/drivers/usb/phy/ |
D | phy-gpio-vbus-usb.c | 32 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/ |
D | w1-gpio.c | 115 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/ |
D | w1-gpio.h | 17 struct gpio_desc *pullup_gpiod; member
|
/linux-6.1.9/drivers/usb/gadget/udc/ |
D | s3c2410_udc.h | 87 struct gpio_desc *pullup_gpiod; member
|
D | s3c2410_udc.c | 1422 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()
|