Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/usb/dwc2/
Dhcd.c364 u32 hprt0; in dwc2_calc_frame_interval() local
368 hprt0 = dwc2_readl(hsotg, HPRT0); in dwc2_calc_frame_interval()
392 if ((hprt0 & HPRT0_SPD_MASK) >> HPRT0_SPD_SHIFT == HPRT0_SPD_HIGH_SPEED) in dwc2_calc_frame_interval()
1680 u32 hprt0; in dwc2_hcd_start() local
1688 hprt0 = dwc2_read_hprt0(hsotg); in dwc2_hcd_start()
1689 hprt0 |= HPRT0_RST; in dwc2_hcd_start()
1690 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_hcd_start()
1777 u32 hprt0; in dwc2_hcd_disconnect() local
1830 hprt0 = dwc2_readl(hsotg, HPRT0); in dwc2_hcd_disconnect()
1831 if (!(hprt0 & HPRT0_CONNDET) && (hprt0 & HPRT0_CONNSTS)) in dwc2_hcd_disconnect()
[all …]
Dhcd_intr.c263 static void dwc2_hprt0_enable(struct dwc2_hsotg *hsotg, u32 hprt0, in dwc2_hprt0_enable() argument
291 prtspd = (hprt0 & HPRT0_SPD_MASK) >> HPRT0_SPD_SHIFT; in dwc2_hprt0_enable()
357 u32 hprt0; in dwc2_port_intr() local
362 hprt0 = dwc2_readl(hsotg, HPRT0); in dwc2_port_intr()
363 hprt0_modify = hprt0; in dwc2_port_intr()
376 if (hprt0 & HPRT0_CONNDET) { in dwc2_port_intr()
381 hprt0); in dwc2_port_intr()
394 if (hprt0 & HPRT0_ENACHG) { in dwc2_port_intr()
398 hprt0, !!(hprt0 & HPRT0_ENA)); in dwc2_port_intr()
399 if (hprt0 & HPRT0_ENA) { in dwc2_port_intr()
[all …]
Dcore_intr.c84 u32 hprt0 = dwc2_readl(hsotg, HPRT0); in dwc2_handle_usb_port_intr() local
86 if (hprt0 & HPRT0_ENACHG) { in dwc2_handle_usb_port_intr()
87 hprt0 &= ~HPRT0_ENA; in dwc2_handle_usb_port_intr()
88 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_handle_usb_port_intr()
Dhcd.h493 u32 hprt0 = dwc2_readl(hsotg, HPRT0); in dwc2_read_hprt0() local
495 hprt0 &= ~(HPRT0_ENA | HPRT0_CONNDET | HPRT0_ENACHG | HPRT0_OVRCURRCHG); in dwc2_read_hprt0()
496 return hprt0; in dwc2_read_hprt0()
Dcore.h760 u32 hprt0; member