Home
last modified time | relevance | path

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

/drivers/usb/dwc2/
Dhcd.c329 u32 hprt0; in dwc2_calc_frame_interval() local
333 hprt0 = dwc2_readl(hsotg, HPRT0); in dwc2_calc_frame_interval()
357 if ((hprt0 & HPRT0_SPD_MASK) >> HPRT0_SPD_SHIFT == HPRT0_SPD_HIGH_SPEED) in dwc2_calc_frame_interval()
1646 u32 hprt0; in dwc2_hcd_start() local
1654 hprt0 = dwc2_read_hprt0(hsotg); in dwc2_hcd_start()
1655 hprt0 |= HPRT0_RST; in dwc2_hcd_start()
1656 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_hcd_start()
1743 u32 hprt0; in dwc2_hcd_disconnect() local
1796 hprt0 = dwc2_readl(hsotg, HPRT0); in dwc2_hcd_disconnect()
1797 if (!(hprt0 & HPRT0_CONNDET) && (hprt0 & HPRT0_CONNSTS)) in dwc2_hcd_disconnect()
[all …]
Dcore_intr.c54 u32 hprt0 = dwc2_readl(hsotg, HPRT0); in dwc2_handle_usb_port_intr() local
56 if (hprt0 & HPRT0_ENACHG) { in dwc2_handle_usb_port_intr()
57 hprt0 &= ~HPRT0_ENA; in dwc2_handle_usb_port_intr()
58 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_handle_usb_port_intr()
280 u32 hprt0; in dwc2_handle_session_req_intr() local
312 hprt0 = dwc2_read_hprt0(hsotg); in dwc2_handle_session_req_intr()
313 hprt0 |= HPRT0_PWR; in dwc2_handle_session_req_intr()
314 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_handle_session_req_intr()
Dhcd_intr.c233 static void dwc2_hprt0_enable(struct dwc2_hsotg *hsotg, u32 hprt0, in dwc2_hprt0_enable() argument
261 prtspd = (hprt0 & HPRT0_SPD_MASK) >> HPRT0_SPD_SHIFT; in dwc2_hprt0_enable()
327 u32 hprt0; in dwc2_port_intr() local
332 hprt0 = dwc2_readl(hsotg, HPRT0); in dwc2_port_intr()
333 hprt0_modify = hprt0; in dwc2_port_intr()
346 if (hprt0 & HPRT0_CONNDET) { in dwc2_port_intr()
351 hprt0); in dwc2_port_intr()
364 if (hprt0 & HPRT0_ENACHG) { in dwc2_port_intr()
368 hprt0, !!(hprt0 & HPRT0_ENA)); in dwc2_port_intr()
369 if (hprt0 & HPRT0_ENA) { in dwc2_port_intr()
[all …]
Dhcd.h464 u32 hprt0 = dwc2_readl(hsotg, HPRT0); in dwc2_read_hprt0() local
466 hprt0 &= ~(HPRT0_ENA | HPRT0_CONNDET | HPRT0_ENACHG | HPRT0_OVRCURRCHG); in dwc2_read_hprt0()
467 return hprt0; in dwc2_read_hprt0()
Dcore.h755 u32 hprt0; member