Lines Matching refs:gotgctl
280 if (gr->gotgctl & GOTGCTL_CURMODE_HOST) in dwc2_driver_remove()
628 u32 ggpio, gotgctl; in dwc2_suspend() local
637 gotgctl = dwc2_readl(dwc2, GOTGCTL); in dwc2_suspend()
639 gotgctl |= GOTGCTL_DBNCE_FLTR_BYPASS; in dwc2_suspend()
640 gotgctl |= GOTGCTL_BVALOEN | GOTGCTL_AVALOEN; in dwc2_suspend()
642 if (gotgctl & GOTGCTL_ASESVLD) in dwc2_suspend()
643 gotgctl |= GOTGCTL_AVALOVAL; in dwc2_suspend()
644 if (gotgctl & GOTGCTL_BSESVLD) in dwc2_suspend()
645 gotgctl |= GOTGCTL_BVALOVAL; in dwc2_suspend()
646 dwc2_writel(dwc2, gotgctl, GOTGCTL); in dwc2_suspend()
680 u32 ggpio, gotgctl; in dwc2_resume() local
695 gotgctl = dwc2_readl(dwc2, GOTGCTL); in dwc2_resume()
696 gotgctl &= ~GOTGCTL_DBNCE_FLTR_BYPASS; in dwc2_resume()
697 gotgctl &= ~(GOTGCTL_BVALOEN | GOTGCTL_AVALOEN | in dwc2_resume()
699 dwc2_writel(dwc2, gotgctl, GOTGCTL); in dwc2_resume()