Lines Matching refs:gotgctl
117 u32 gotgctl; in dwc2_handle_otg_intr() local
121 gotgctl = readl(hsotg->regs + GOTGCTL); in dwc2_handle_otg_intr()
129 gotgctl = readl(hsotg->regs + GOTGCTL); in dwc2_handle_otg_intr()
141 if (gotgctl & GOTGCTL_DEVHNPEN) { in dwc2_handle_otg_intr()
155 gotgctl = readl(hsotg->regs + GOTGCTL); in dwc2_handle_otg_intr()
156 gotgctl &= ~GOTGCTL_DEVHNPEN; in dwc2_handle_otg_intr()
157 writel(gotgctl, hsotg->regs + GOTGCTL); in dwc2_handle_otg_intr()
163 gotgctl = readl(hsotg->regs + GOTGCTL); in dwc2_handle_otg_intr()
164 if (gotgctl & GOTGCTL_SESREQSCS) { in dwc2_handle_otg_intr()
171 gotgctl = readl(hsotg->regs + GOTGCTL); in dwc2_handle_otg_intr()
172 gotgctl &= ~GOTGCTL_SESREQ; in dwc2_handle_otg_intr()
173 writel(gotgctl, hsotg->regs + GOTGCTL); in dwc2_handle_otg_intr()
183 gotgctl = readl(hsotg->regs + GOTGCTL); in dwc2_handle_otg_intr()
190 if (gotgctl & GOTGCTL_HSTNEGSCS) { in dwc2_handle_otg_intr()
219 gotgctl = readl(hsotg->regs + GOTGCTL); in dwc2_handle_otg_intr()
220 gotgctl &= ~(GOTGCTL_HNPREQ | GOTGCTL_DEVHNPEN); in dwc2_handle_otg_intr()
221 writel(gotgctl, hsotg->regs + GOTGCTL); in dwc2_handle_otg_intr()