Searched refs:hprt0 (Results 1 – 5 of 5) sorted by relevance
541 u32 hprt0; in dwc2_calc_frame_interval() local545 hprt0 = dwc2_readl(hsotg->regs + HPRT0); in dwc2_calc_frame_interval()569 if ((hprt0 & HPRT0_SPD_MASK) >> HPRT0_SPD_SHIFT == HPRT0_SPD_HIGH_SPEED) in dwc2_calc_frame_interval()1856 u32 hprt0; in dwc2_hcd_start() local1864 hprt0 = dwc2_read_hprt0(hsotg); in dwc2_hcd_start()1865 hprt0 |= HPRT0_RST; in dwc2_hcd_start()1866 dwc2_writel(hprt0, hsotg->regs + HPRT0); in dwc2_hcd_start()1953 u32 hprt0; in dwc2_hcd_disconnect() local2006 hprt0 = dwc2_readl(hsotg->regs + HPRT0); in dwc2_hcd_disconnect()2007 if (!(hprt0 & HPRT0_CONNDET) && (hprt0 & HPRT0_CONNSTS)) in dwc2_hcd_disconnect()[all …]
83 u32 hprt0 = dwc2_readl(hsotg->regs + HPRT0); in dwc2_handle_usb_port_intr() local85 if (hprt0 & HPRT0_ENACHG) { in dwc2_handle_usb_port_intr()86 hprt0 &= ~HPRT0_ENA; in dwc2_handle_usb_port_intr()87 dwc2_writel(hprt0, hsotg->regs + HPRT0); in dwc2_handle_usb_port_intr()
256 static void dwc2_hprt0_enable(struct dwc2_hsotg *hsotg, u32 hprt0, in dwc2_hprt0_enable() argument284 prtspd = (hprt0 & HPRT0_SPD_MASK) >> HPRT0_SPD_SHIFT; in dwc2_hprt0_enable()350 u32 hprt0; in dwc2_port_intr() local355 hprt0 = dwc2_readl(hsotg->regs + HPRT0); in dwc2_port_intr()356 hprt0_modify = hprt0; in dwc2_port_intr()369 if (hprt0 & HPRT0_CONNDET) { in dwc2_port_intr()374 hprt0); in dwc2_port_intr()387 if (hprt0 & HPRT0_ENACHG) { in dwc2_port_intr()391 hprt0, !!(hprt0 & HPRT0_ENA)); in dwc2_port_intr()392 if (hprt0 & HPRT0_ENA) { in dwc2_port_intr()[all …]
479 u32 hprt0 = dwc2_readl(hsotg->regs + HPRT0); in dwc2_read_hprt0() local481 hprt0 &= ~(HPRT0_ENA | HPRT0_CONNDET | HPRT0_ENACHG | HPRT0_OVRCURRCHG); in dwc2_read_hprt0()482 return hprt0; in dwc2_read_hprt0()
669 u32 hprt0; member