Home
last modified time | relevance | path

Searched refs:gotgctl (Results 1 – 2 of 2) sorted by relevance

/linux-4.1.27/drivers/usb/dwc2/
Dcore_intr.c117 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()
[all …]
Dhcd.c1356 u32 gotgctl; in dwc2_conn_id_status_change() local
1360 gotgctl = readl(hsotg->regs + GOTGCTL); in dwc2_conn_id_status_change()
1361 dev_dbg(hsotg->dev, "gotgctl=%0x\n", gotgctl); in dwc2_conn_id_status_change()
1363 !!(gotgctl & GOTGCTL_CONID_B)); in dwc2_conn_id_status_change()
1366 if (gotgctl & GOTGCTL_CONID_B) { in dwc2_conn_id_status_change()
1446 u32 gotgctl; in dwc2_port_suspend() local
1453 gotgctl = readl(hsotg->regs + GOTGCTL); in dwc2_port_suspend()
1454 gotgctl |= GOTGCTL_HSTSETHNPEN; in dwc2_port_suspend()
1455 writel(gotgctl, hsotg->regs + GOTGCTL); in dwc2_port_suspend()