Home
last modified time | relevance | path

Searched refs:hprt0 (Results 1 – 5 of 5) sorted by relevance

/drivers/usb/dwc2/
Dhcd.c541 u32 hprt0; in dwc2_calc_frame_interval() local
545 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() local
1864 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() local
2006 hprt0 = dwc2_readl(hsotg->regs + HPRT0); in dwc2_hcd_disconnect()
2007 if (!(hprt0 & HPRT0_CONNDET) && (hprt0 & HPRT0_CONNSTS)) in dwc2_hcd_disconnect()
[all …]
Dcore_intr.c83 u32 hprt0 = dwc2_readl(hsotg->regs + HPRT0); in dwc2_handle_usb_port_intr() local
85 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()
Dhcd_intr.c256 static void dwc2_hprt0_enable(struct dwc2_hsotg *hsotg, u32 hprt0, in dwc2_hprt0_enable() argument
284 prtspd = (hprt0 & HPRT0_SPD_MASK) >> HPRT0_SPD_SHIFT; in dwc2_hprt0_enable()
350 u32 hprt0; in dwc2_port_intr() local
355 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 …]
Dhcd.h479 u32 hprt0 = dwc2_readl(hsotg->regs + HPRT0); in dwc2_read_hprt0() local
481 hprt0 &= ~(HPRT0_ENA | HPRT0_CONNDET | HPRT0_ENACHG | HPRT0_OVRCURRCHG); in dwc2_read_hprt0()
482 return hprt0; in dwc2_read_hprt0()
Dcore.h669 u32 hprt0; member