Lines Matching refs:gotgctl
314 if (gr->gotgctl & GOTGCTL_CURMODE_HOST) in dwc2_driver_remove()
662 u32 ggpio, gotgctl; in dwc2_suspend() local
671 gotgctl = dwc2_readl(dwc2, GOTGCTL); in dwc2_suspend()
673 gotgctl |= GOTGCTL_DBNCE_FLTR_BYPASS; in dwc2_suspend()
674 gotgctl |= GOTGCTL_BVALOEN | GOTGCTL_AVALOEN; in dwc2_suspend()
676 if (gotgctl & GOTGCTL_ASESVLD) in dwc2_suspend()
677 gotgctl |= GOTGCTL_AVALOVAL; in dwc2_suspend()
678 if (gotgctl & GOTGCTL_BSESVLD) in dwc2_suspend()
679 gotgctl |= GOTGCTL_BVALOVAL; in dwc2_suspend()
680 dwc2_writel(dwc2, gotgctl, GOTGCTL); in dwc2_suspend()
752 u32 ggpio, gotgctl; in dwc2_resume() local
767 gotgctl = dwc2_readl(dwc2, GOTGCTL); in dwc2_resume()
768 gotgctl &= ~GOTGCTL_DBNCE_FLTR_BYPASS; in dwc2_resume()
769 gotgctl &= ~(GOTGCTL_BVALOEN | GOTGCTL_AVALOEN | in dwc2_resume()
771 dwc2_writel(dwc2, gotgctl, GOTGCTL); in dwc2_resume()