Home
last modified time | relevance | path

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

/kernel/linux/linux-5.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()
1681 u32 hprt0; in dwc2_hcd_start() local
1689 hprt0 = dwc2_read_hprt0(hsotg); in dwc2_hcd_start()
1690 hprt0 |= HPRT0_RST; in dwc2_hcd_start()
1691 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_hcd_start()
1778 u32 hprt0; in dwc2_hcd_disconnect() local
1831 hprt0 = dwc2_readl(hsotg, HPRT0); in dwc2_hcd_disconnect()
1832 if (!(hprt0 & HPRT0_CONNDET) && (hprt0 & HPRT0_CONNSTS)) in dwc2_hcd_disconnect()
[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()
310 u32 hprt0; in dwc2_handle_session_req_intr() local
333 hprt0 = dwc2_read_hprt0(hsotg); in dwc2_handle_session_req_intr()
334 hprt0 |= HPRT0_PWR; in dwc2_handle_session_req_intr()
335 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_handle_session_req_intr()
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 …]
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.h762 u32 hprt0; member