Lines Matching refs:gotgctl
314 if (gr->gotgctl & GOTGCTL_CURMODE_HOST) in dwc2_driver_remove()
657 u32 ggpio, gotgctl; in dwc2_suspend() local
666 gotgctl = dwc2_readl(dwc2, GOTGCTL); in dwc2_suspend()
668 gotgctl |= GOTGCTL_DBNCE_FLTR_BYPASS; in dwc2_suspend()
669 gotgctl |= GOTGCTL_BVALOEN | GOTGCTL_AVALOEN; in dwc2_suspend()
671 if (gotgctl & GOTGCTL_ASESVLD) in dwc2_suspend()
672 gotgctl |= GOTGCTL_AVALOVAL; in dwc2_suspend()
673 if (gotgctl & GOTGCTL_BSESVLD) in dwc2_suspend()
674 gotgctl |= GOTGCTL_BVALOVAL; in dwc2_suspend()
675 dwc2_writel(dwc2, gotgctl, GOTGCTL); in dwc2_suspend()
709 u32 ggpio, gotgctl; in dwc2_resume() local
724 gotgctl = dwc2_readl(dwc2, GOTGCTL); in dwc2_resume()
725 gotgctl &= ~GOTGCTL_DBNCE_FLTR_BYPASS; in dwc2_resume()
726 gotgctl &= ~(GOTGCTL_BVALOEN | GOTGCTL_AVALOEN | in dwc2_resume()
728 dwc2_writel(dwc2, gotgctl, GOTGCTL); in dwc2_resume()