Searched refs:hprt0 (Results 1 – 5 of 5) sorted by relevance
/Linux-v4.19/drivers/usb/dwc2/ |
D | hcd.c | 560 u32 hprt0; in dwc2_calc_frame_interval() local 564 hprt0 = dwc2_readl(hsotg, HPRT0); in dwc2_calc_frame_interval() 588 if ((hprt0 & HPRT0_SPD_MASK) >> HPRT0_SPD_SHIFT == HPRT0_SPD_HIGH_SPEED) in dwc2_calc_frame_interval() 1879 u32 hprt0; in dwc2_hcd_start() local 1887 hprt0 = dwc2_read_hprt0(hsotg); in dwc2_hcd_start() 1888 hprt0 |= HPRT0_RST; in dwc2_hcd_start() 1889 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_hcd_start() 1976 u32 hprt0; in dwc2_hcd_disconnect() local 2029 hprt0 = dwc2_readl(hsotg, HPRT0); in dwc2_hcd_disconnect() 2030 if (!(hprt0 & HPRT0_CONNDET) && (hprt0 & HPRT0_CONNSTS)) in dwc2_hcd_disconnect() [all …]
|
D | hcd_intr.c | 263 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 …]
|
D | core_intr.c | 84 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()
|
D | hcd.h | 490 u32 hprt0 = dwc2_readl(hsotg, HPRT0); in dwc2_read_hprt0() local 492 hprt0 &= ~(HPRT0_ENA | HPRT0_CONNDET | HPRT0_ENACHG | HPRT0_OVRCURRCHG); in dwc2_read_hprt0() 493 return hprt0; in dwc2_read_hprt0()
|
D | core.h | 728 u32 hprt0; member
|