Lines Matching refs:gotgctl
115 u32 gotgctl; in dwc2_handle_otg_intr() local
119 gotgctl = dwc2_readl(hsotg, GOTGCTL); in dwc2_handle_otg_intr()
127 gotgctl = dwc2_readl(hsotg, GOTGCTL); in dwc2_handle_otg_intr()
139 if (gotgctl & GOTGCTL_DEVHNPEN) { in dwc2_handle_otg_intr()
153 gotgctl = dwc2_readl(hsotg, GOTGCTL); in dwc2_handle_otg_intr()
154 gotgctl &= ~GOTGCTL_DEVHNPEN; in dwc2_handle_otg_intr()
155 dwc2_writel(hsotg, gotgctl, GOTGCTL); in dwc2_handle_otg_intr()
161 gotgctl = dwc2_readl(hsotg, GOTGCTL); in dwc2_handle_otg_intr()
162 if (gotgctl & GOTGCTL_SESREQSCS) { in dwc2_handle_otg_intr()
168 gotgctl = dwc2_readl(hsotg, GOTGCTL); in dwc2_handle_otg_intr()
169 gotgctl &= ~GOTGCTL_SESREQ; in dwc2_handle_otg_intr()
170 dwc2_writel(hsotg, gotgctl, GOTGCTL); in dwc2_handle_otg_intr()
180 gotgctl = dwc2_readl(hsotg, GOTGCTL); in dwc2_handle_otg_intr()
187 if (gotgctl & GOTGCTL_HSTNEGSCS) { in dwc2_handle_otg_intr()
216 gotgctl = dwc2_readl(hsotg, GOTGCTL); in dwc2_handle_otg_intr()
217 gotgctl &= ~(GOTGCTL_HNPREQ | GOTGCTL_DEVHNPEN); in dwc2_handle_otg_intr()
218 dwc2_writel(hsotg, gotgctl, GOTGCTL); in dwc2_handle_otg_intr()