Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/usb/dwc2/
Dhcd.c362 u32 hprt0; in dwc2_calc_frame_interval() local
366 hprt0 = dwc2_readl(hsotg, HPRT0); in dwc2_calc_frame_interval()
390 if ((hprt0 & HPRT0_SPD_MASK) >> HPRT0_SPD_SHIFT == HPRT0_SPD_HIGH_SPEED) in dwc2_calc_frame_interval()
1679 u32 hprt0; in dwc2_hcd_start() local
1687 hprt0 = dwc2_read_hprt0(hsotg); in dwc2_hcd_start()
1688 hprt0 |= HPRT0_RST; in dwc2_hcd_start()
1689 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_hcd_start()
1776 u32 hprt0; in dwc2_hcd_disconnect() local
1829 hprt0 = dwc2_readl(hsotg, HPRT0); in dwc2_hcd_disconnect()
1830 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
341 hprt0 = dwc2_read_hprt0(hsotg); in dwc2_handle_session_req_intr()
342 hprt0 |= HPRT0_PWR; in dwc2_handle_session_req_intr()
343 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.h769 u32 hprt0; member