Lines Matching refs:phy0
548 struct phy *phy0 = data->phys[0].phy; in sun4i_usb_phy0_id_vbus_det_scan() local
552 if (phy0 == NULL) in sun4i_usb_phy0_id_vbus_det_scan()
558 mutex_lock(&phy0->mutex); in sun4i_usb_phy0_id_vbus_det_scan()
561 mutex_unlock(&phy0->mutex); in sun4i_usb_phy0_id_vbus_det_scan()
576 sun4i_usb_phy0_set_vbus_detect(phy0, 0); in sun4i_usb_phy0_id_vbus_det_scan()
578 sun4i_usb_phy0_set_vbus_detect(phy0, 1); in sun4i_usb_phy0_id_vbus_det_scan()
580 sun4i_usb_phy0_set_id_detect(phy0, id_det); in sun4i_usb_phy0_id_vbus_det_scan()
586 sun4i_usb_phy0_set_vbus_detect(phy0, vbus_det); in sun4i_usb_phy0_id_vbus_det_scan()
591 mutex_unlock(&phy0->mutex); in sun4i_usb_phy0_id_vbus_det_scan()
598 mutex_lock(&phy0->mutex); in sun4i_usb_phy0_id_vbus_det_scan()
599 sun4i_usb_phy0_set_vbus_detect(phy0, 0); in sun4i_usb_phy0_id_vbus_det_scan()
601 sun4i_usb_phy0_set_vbus_detect(phy0, 1); in sun4i_usb_phy0_id_vbus_det_scan()
602 mutex_unlock(&phy0->mutex); in sun4i_usb_phy0_id_vbus_det_scan()