Searched refs:switch_gpio (Results 1 – 3 of 3) sorted by relevance
| /linux-4.4.14/drivers/usb/phy/ |
| D | phy-qcom-8x16-usb.c | 77 struct gpio_desc *switch_gpio; member 163 gpiod_set_value_cansleep(qphy->switch_gpio, 0); in phy_8x16_vbus_on() 173 gpiod_set_value_cansleep(qphy->switch_gpio, 1); in phy_8x16_vbus_off() 292 qphy->switch_gpio = devm_gpiod_get_optional(dev, "switch", in phy_8x16_read_devicetree() 294 if (IS_ERR(qphy->switch_gpio)) in phy_8x16_read_devicetree() 295 return PTR_ERR(qphy->switch_gpio); in phy_8x16_read_devicetree() 311 gpiod_set_value_cansleep(qphy->switch_gpio, 0); in phy_8x16_reboot_notify() 410 gpiod_set_value_cansleep(qphy->switch_gpio, 0); in phy_8x16_remove()
|
| D | phy-msm-usb.c | 1478 gpiod_set_value_cansleep(motg->switch_gpio, 0); in msm_otg_vbus_notifier() 1481 gpiod_set_value_cansleep(motg->switch_gpio, 1); in msm_otg_vbus_notifier() 1559 motg->switch_gpio = devm_gpiod_get_optional(&pdev->dev, "switch", in msm_otg_read_dt() 1561 if (IS_ERR(motg->switch_gpio)) in msm_otg_read_dt() 1562 return PTR_ERR(motg->switch_gpio); in msm_otg_read_dt() 1646 gpiod_set_value_cansleep(motg->switch_gpio, 0); in msm_otg_reboot_notify() 1819 gpiod_set_value_cansleep(motg->switch_gpio, 0); in msm_otg_probe() 1822 gpiod_set_value_cansleep(motg->switch_gpio, 1); in msm_otg_probe() 1866 gpiod_set_value_cansleep(motg->switch_gpio, 0); in msm_otg_remove()
|
| /linux-4.4.14/include/linux/usb/ |
| D | msm_hsusb.h | 196 struct gpio_desc *switch_gpio; member
|