Lines Matching refs:gotgctl
326 if (gr->gotgctl & GOTGCTL_CURMODE_HOST) in dwc2_driver_remove()
676 u32 ggpio, gotgctl; in dwc2_suspend() local
685 gotgctl = dwc2_readl(dwc2, GOTGCTL); in dwc2_suspend()
687 gotgctl |= GOTGCTL_DBNCE_FLTR_BYPASS; in dwc2_suspend()
688 gotgctl |= GOTGCTL_BVALOEN | GOTGCTL_AVALOEN; in dwc2_suspend()
690 if (gotgctl & GOTGCTL_ASESVLD) in dwc2_suspend()
691 gotgctl |= GOTGCTL_AVALOVAL; in dwc2_suspend()
692 if (gotgctl & GOTGCTL_BSESVLD) in dwc2_suspend()
693 gotgctl |= GOTGCTL_BVALOVAL; in dwc2_suspend()
694 dwc2_writel(dwc2, gotgctl, GOTGCTL); in dwc2_suspend()
728 u32 ggpio, gotgctl; in dwc2_resume() local
743 gotgctl = dwc2_readl(dwc2, GOTGCTL); in dwc2_resume()
744 gotgctl &= ~GOTGCTL_DBNCE_FLTR_BYPASS; in dwc2_resume()
745 gotgctl &= ~(GOTGCTL_BVALOEN | GOTGCTL_AVALOEN | in dwc2_resume()
747 dwc2_writel(dwc2, gotgctl, GOTGCTL); in dwc2_resume()