Lines Matching refs:gotgctl
310 if (gr->gotgctl & GOTGCTL_CURMODE_HOST) in dwc2_driver_remove()
658 u32 ggpio, gotgctl; in dwc2_suspend() local
667 gotgctl = dwc2_readl(dwc2, GOTGCTL); in dwc2_suspend()
669 gotgctl |= GOTGCTL_DBNCE_FLTR_BYPASS; in dwc2_suspend()
670 gotgctl |= GOTGCTL_BVALOEN | GOTGCTL_AVALOEN; in dwc2_suspend()
672 if (gotgctl & GOTGCTL_ASESVLD) in dwc2_suspend()
673 gotgctl |= GOTGCTL_AVALOVAL; in dwc2_suspend()
674 if (gotgctl & GOTGCTL_BSESVLD) in dwc2_suspend()
675 gotgctl |= GOTGCTL_BVALOVAL; in dwc2_suspend()
676 dwc2_writel(dwc2, gotgctl, GOTGCTL); in dwc2_suspend()
710 u32 ggpio, gotgctl; in dwc2_resume() local
725 gotgctl = dwc2_readl(dwc2, GOTGCTL); in dwc2_resume()
726 gotgctl &= ~GOTGCTL_DBNCE_FLTR_BYPASS; in dwc2_resume()
727 gotgctl &= ~(GOTGCTL_BVALOEN | GOTGCTL_AVALOEN | in dwc2_resume()
729 dwc2_writel(dwc2, gotgctl, GOTGCTL); in dwc2_resume()