Lines Matching defs:phy0
140 /* phy0 / otg related variables */
432 /* For phy0 only turn on Vbus if we don't have an ext. Vbus */
464 * phy0 vbus typically slowly discharges, sometimes this causes the
535 /* Host mode. Route phy0 to EHCI/OHCI */
538 /* Peripheral mode. Route phy0 to MUSB */
548 struct phy *phy0 = data->phys[0].phy;
553 if (!phy0)
556 phy = phy_get_drvdata(phy0);
560 mutex_lock(&phy0->mutex);
563 mutex_unlock(&phy0->mutex);
578 sun4i_usb_phy0_set_vbus_detect(phy0, 0);
580 sun4i_usb_phy0_set_vbus_detect(phy0, 1);
582 sun4i_usb_phy0_set_id_detect(phy0, id_det);
588 sun4i_usb_phy0_set_vbus_detect(phy0, vbus_det);
593 mutex_unlock(&phy0->mutex);
600 mutex_lock(&phy0->mutex);
601 sun4i_usb_phy0_set_vbus_detect(phy0, 0);
603 sun4i_usb_phy0_set_vbus_detect(phy0, 1);
604 mutex_unlock(&phy0->mutex);