Lines Matching refs:otgctl
774 u32 usbcfg, otgctl; in dwc2_core_init() local
818 otgctl = dwc2_readl(hsotg->regs + GOTGCTL); in dwc2_core_init()
819 otgctl &= ~GOTGCTL_OTGVER; in dwc2_core_init()
821 otgctl |= GOTGCTL_OTGVER; in dwc2_core_init()
822 dwc2_writel(otgctl, hsotg->regs + GOTGCTL); in dwc2_core_init()
1023 u32 hcfg, hfir, otgctl; in dwc2_core_host_init() local
1073 otgctl = dwc2_readl(hsotg->regs + GOTGCTL); in dwc2_core_host_init()
1074 otgctl &= ~GOTGCTL_HSTSETHNPEN; in dwc2_core_host_init()
1075 dwc2_writel(otgctl, hsotg->regs + GOTGCTL); in dwc2_core_host_init()
1082 otgctl = dwc2_readl(hsotg->regs + GOTGCTL); in dwc2_core_host_init()
1083 otgctl &= ~GOTGCTL_HSTSETHNPEN; in dwc2_core_host_init()
1084 dwc2_writel(otgctl, hsotg->regs + GOTGCTL); in dwc2_core_host_init()