Searched refs:gotgctl (Results 1 – 4 of 4) sorted by relevance
117 u32 gotgctl; in dwc2_handle_otg_intr() local121 gotgctl = dwc2_readl(hsotg->regs + GOTGCTL); in dwc2_handle_otg_intr()129 gotgctl = dwc2_readl(hsotg->regs + GOTGCTL); in dwc2_handle_otg_intr()141 if (gotgctl & GOTGCTL_DEVHNPEN) { in dwc2_handle_otg_intr()155 gotgctl = dwc2_readl(hsotg->regs + GOTGCTL); in dwc2_handle_otg_intr()156 gotgctl &= ~GOTGCTL_DEVHNPEN; in dwc2_handle_otg_intr()157 dwc2_writel(gotgctl, hsotg->regs + GOTGCTL); in dwc2_handle_otg_intr()163 gotgctl = dwc2_readl(hsotg->regs + GOTGCTL); in dwc2_handle_otg_intr()164 if (gotgctl & GOTGCTL_SESREQSCS) { in dwc2_handle_otg_intr()171 gotgctl = dwc2_readl(hsotg->regs + GOTGCTL); in dwc2_handle_otg_intr()[all …]
1358 u32 gotgctl; in dwc2_conn_id_status_change() local1363 gotgctl = dwc2_readl(hsotg->regs + GOTGCTL); in dwc2_conn_id_status_change()1364 dev_dbg(hsotg->dev, "gotgctl=%0x\n", gotgctl); in dwc2_conn_id_status_change()1366 !!(gotgctl & GOTGCTL_CONID_B)); in dwc2_conn_id_status_change()1369 if (gotgctl & GOTGCTL_CONID_B) { in dwc2_conn_id_status_change()1452 u32 gotgctl; in dwc2_port_suspend() local1459 gotgctl = dwc2_readl(hsotg->regs + GOTGCTL); in dwc2_port_suspend()1460 gotgctl |= GOTGCTL_HSTSETHNPEN; in dwc2_port_suspend()1461 dwc2_writel(gotgctl, hsotg->regs + GOTGCTL); in dwc2_port_suspend()
500 u32 gotgctl; member
257 gr->gotgctl = dwc2_readl(hsotg->regs + GOTGCTL); in dwc2_backup_global_registers()296 dwc2_writel(gr->gotgctl, hsotg->regs + GOTGCTL); in dwc2_restore_global_registers()