Searched refs:hprt0 (Results 1 – 4 of 4) sorted by relevance
203 u32 hprt0; in dwc2_hcd_start() local211 hprt0 = dwc2_read_hprt0(hsotg); in dwc2_hcd_start()212 hprt0 |= HPRT0_RST; in dwc2_hcd_start()213 writel(hprt0, hsotg->regs + HPRT0); in dwc2_hcd_start()1344 u32 hprt0; in dwc2_wakeup_detected() local1352 hprt0 = dwc2_read_hprt0(hsotg); in dwc2_wakeup_detected()1353 dev_dbg(hsotg->dev, "Resume: HPRT0=%0x\n", hprt0); in dwc2_wakeup_detected()1354 hprt0 &= ~HPRT0_RES; in dwc2_wakeup_detected()1355 writel(hprt0, hsotg->regs + HPRT0); in dwc2_wakeup_detected()1376 u32 hprt0; in dwc2_port_suspend() local[all …]
239 static void dwc2_hprt0_enable(struct dwc2_hsotg *hsotg, u32 hprt0, in dwc2_hprt0_enable() argument266 prtspd = hprt0 & HPRT0_SPD_MASK; in dwc2_hprt0_enable()330 u32 hprt0; in dwc2_port_intr() local335 hprt0 = readl(hsotg->regs + HPRT0); in dwc2_port_intr()336 hprt0_modify = hprt0; in dwc2_port_intr()349 if (hprt0 & HPRT0_CONNDET) { in dwc2_port_intr()352 hprt0); in dwc2_port_intr()367 if (hprt0 & HPRT0_ENACHG) { in dwc2_port_intr()370 hprt0, !!(hprt0 & HPRT0_ENA)); in dwc2_port_intr()372 if (hprt0 & HPRT0_ENA) in dwc2_port_intr()[all …]
394 u32 hprt0 = readl(hsotg->regs + HPRT0); in dwc2_read_hprt0() local396 hprt0 &= ~(HPRT0_ENA | HPRT0_CONNDET | HPRT0_ENACHG | HPRT0_OVRCURRCHG); in dwc2_read_hprt0()397 return hprt0; in dwc2_read_hprt0()
683 u32 hprt0 = dwc2_read_hprt0(hsotg); in dwc2_core_host_init() local686 !!(hprt0 & HPRT0_PWR)); in dwc2_core_host_init()687 if (!(hprt0 & HPRT0_PWR)) { in dwc2_core_host_init()688 hprt0 |= HPRT0_PWR; in dwc2_core_host_init()689 writel(hprt0, hsotg->regs + HPRT0); in dwc2_core_host_init()1669 u32 hprt0; in dwc2_calc_frame_interval() local1674 hprt0 = readl(hsotg->regs + HPRT0); in dwc2_calc_frame_interval()1699 if ((hprt0 & HPRT0_SPD_MASK) == 0) in dwc2_calc_frame_interval()