Searched refs:vbus_power_supply (Results 1 – 1 of 1) sorted by relevance
151 struct power_supply *vbus_power_supply; member388 if (data->vbus_power_supply) { in sun4i_usb_phy0_get_vbus_det()392 r = power_supply_get_property(data->vbus_power_supply, in sun4i_usb_phy0_get_vbus_det()404 return data->vbus_det_gpio || data->vbus_power_supply; in sun4i_usb_phy0_have_vbus_det()421 data->vbus_power_supply && data->phys[0].regulator_on) in sun4i_usb_phy0_poll()635 if (val == PSY_EVENT_PROP_CHANGED && psy == data->vbus_power_supply) in sun4i_usb_phy0_vbus_notify()715 data->vbus_power_supply = devm_power_supply_get_by_phandle(dev, in sun4i_usb_phy_probe()717 if (IS_ERR(data->vbus_power_supply)) { in sun4i_usb_phy_probe()719 return PTR_ERR(data->vbus_power_supply); in sun4i_usb_phy_probe()722 if (!data->vbus_power_supply) in sun4i_usb_phy_probe()[all …]