Lines Matching defs:phy0
129 /* phy0 / otg related variables */
471 /* For phy0 only turn on Vbus if we don't have an ext. Vbus */
503 * phy0 vbus typically slowly discharges, sometimes this causes the
574 /* Host mode. Route phy0 to EHCI/OHCI */
577 /* Peripheral mode. Route phy0 to MUSB */
587 struct phy *phy0 = data->phys[0].phy;
592 if (!phy0)
595 phy = phy_get_drvdata(phy0);
599 mutex_lock(&phy0->mutex);
602 mutex_unlock(&phy0->mutex);
617 sun4i_usb_phy0_set_vbus_detect(phy0, 0);
619 sun4i_usb_phy0_set_vbus_detect(phy0, 1);
621 sun4i_usb_phy0_set_id_detect(phy0, id_det);
627 sun4i_usb_phy0_set_vbus_detect(phy0, vbus_det);
632 mutex_unlock(&phy0->mutex);
639 mutex_lock(&phy0->mutex);
640 sun4i_usb_phy0_set_vbus_detect(phy0, 0);
642 sun4i_usb_phy0_set_vbus_detect(phy0, 1);
643 mutex_unlock(&phy0->mutex);