Lines Matching refs:gotgctl
720 u32 ggpio, gotgctl; in dwc2_suspend() local
729 gotgctl = dwc2_readl(dwc2, GOTGCTL); in dwc2_suspend()
731 gotgctl |= GOTGCTL_DBNCE_FLTR_BYPASS; in dwc2_suspend()
732 gotgctl |= GOTGCTL_BVALOEN | GOTGCTL_AVALOEN; in dwc2_suspend()
734 if (gotgctl & GOTGCTL_ASESVLD) in dwc2_suspend()
735 gotgctl |= GOTGCTL_AVALOVAL; in dwc2_suspend()
736 if (gotgctl & GOTGCTL_BSESVLD) in dwc2_suspend()
737 gotgctl |= GOTGCTL_BVALOVAL; in dwc2_suspend()
738 dwc2_writel(dwc2, gotgctl, GOTGCTL); in dwc2_suspend()
773 u32 ggpio, gotgctl; in dwc2_resume() local
788 gotgctl = dwc2_readl(dwc2, GOTGCTL); in dwc2_resume()
789 gotgctl &= ~GOTGCTL_DBNCE_FLTR_BYPASS; in dwc2_resume()
790 gotgctl &= ~(GOTGCTL_BVALOEN | GOTGCTL_AVALOEN | in dwc2_resume()
792 dwc2_writel(dwc2, gotgctl, GOTGCTL); in dwc2_resume()