Lines Matching refs:gotgctl
85 u32 gotgctl; in dwc2_handle_otg_intr() local
89 gotgctl = dwc2_readl(hsotg, GOTGCTL); in dwc2_handle_otg_intr()
97 gotgctl = dwc2_readl(hsotg, GOTGCTL); in dwc2_handle_otg_intr()
109 if (gotgctl & GOTGCTL_DEVHNPEN) { in dwc2_handle_otg_intr()
123 gotgctl = dwc2_readl(hsotg, GOTGCTL); in dwc2_handle_otg_intr()
124 gotgctl &= ~GOTGCTL_DEVHNPEN; in dwc2_handle_otg_intr()
125 dwc2_writel(hsotg, gotgctl, GOTGCTL); in dwc2_handle_otg_intr()
131 gotgctl = dwc2_readl(hsotg, GOTGCTL); in dwc2_handle_otg_intr()
132 if (gotgctl & GOTGCTL_SESREQSCS) { in dwc2_handle_otg_intr()
138 gotgctl = dwc2_readl(hsotg, GOTGCTL); in dwc2_handle_otg_intr()
139 gotgctl &= ~GOTGCTL_SESREQ; in dwc2_handle_otg_intr()
140 dwc2_writel(hsotg, gotgctl, GOTGCTL); in dwc2_handle_otg_intr()
150 gotgctl = dwc2_readl(hsotg, GOTGCTL); in dwc2_handle_otg_intr()
157 if (gotgctl & GOTGCTL_HSTNEGSCS) { in dwc2_handle_otg_intr()
186 gotgctl = dwc2_readl(hsotg, GOTGCTL); in dwc2_handle_otg_intr()
187 gotgctl &= ~(GOTGCTL_HNPREQ | GOTGCTL_DEVHNPEN); in dwc2_handle_otg_intr()
188 dwc2_writel(hsotg, gotgctl, GOTGCTL); in dwc2_handle_otg_intr()