Searched refs:vbus_power_supply (Results 1 – 1 of 1) sorted by relevance
146 struct power_supply *vbus_power_supply; member386 if (data->vbus_power_supply) { in sun4i_usb_phy0_get_vbus_det()390 r = power_supply_get_property(data->vbus_power_supply, in sun4i_usb_phy0_get_vbus_det()402 return data->vbus_det_gpio || data->vbus_power_supply; in sun4i_usb_phy0_have_vbus_det()419 data->vbus_power_supply && data->phys[0].regulator_on) in sun4i_usb_phy0_poll()642 if (val == PSY_EVENT_PROP_CHANGED && psy == data->vbus_power_supply) in sun4i_usb_phy0_vbus_notify()723 data->vbus_power_supply = devm_power_supply_get_by_phandle(dev, in sun4i_usb_phy_probe()725 if (IS_ERR(data->vbus_power_supply)) { in sun4i_usb_phy_probe()727 return PTR_ERR(data->vbus_power_supply); in sun4i_usb_phy_probe()730 if (!data->vbus_power_supply) in sun4i_usb_phy_probe()[all …]