Searched refs:hprt0 (Results 1 – 5 of 5) sorted by relevance
| /openbsd/src/sys/dev/usb/dwc2/ |
| D | dwc2_hcd.c | 379 u32 hprt0; in dwc2_calc_frame_interval() local 383 hprt0 = dwc2_readl(hsotg, HPRT0); in dwc2_calc_frame_interval() 407 if ((hprt0 & HPRT0_SPD_MASK) >> HPRT0_SPD_SHIFT == HPRT0_SPD_HIGH_SPEED) in dwc2_calc_frame_interval() 1716 u32 hprt0; in dwc2_hcd_start() local 1724 hprt0 = dwc2_read_hprt0(hsotg); in dwc2_hcd_start() 1725 hprt0 |= HPRT0_RST; in dwc2_hcd_start() 1726 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_hcd_start() 1813 u32 hprt0; in dwc2_hcd_disconnect() local 1868 hprt0 = dwc2_readl(hsotg, HPRT0); in dwc2_hcd_disconnect() 1869 if (!(hprt0 & HPRT0_CONNDET) && (hprt0 & HPRT0_CONNSTS)) in dwc2_hcd_disconnect() [all …]
|
| D | dwc2_coreintr.c | 92 u32 hprt0 = dwc2_readl(hsotg, HPRT0); in dwc2_handle_usb_port_intr() local 94 if (hprt0 & HPRT0_ENACHG) { in dwc2_handle_usb_port_intr() 95 hprt0 &= ~HPRT0_ENA; in dwc2_handle_usb_port_intr() 96 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_handle_usb_port_intr() 318 u32 hprt0; in dwc2_handle_session_req_intr() local 349 hprt0 = dwc2_read_hprt0(hsotg); in dwc2_handle_session_req_intr() 350 hprt0 |= HPRT0_PWR; in dwc2_handle_session_req_intr() 351 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_handle_session_req_intr()
|
| D | dwc2_hcdintr.c | 272 STATIC void dwc2_hprt0_enable(struct dwc2_hsotg *hsotg, u32 hprt0, in dwc2_hprt0_enable() argument 302 prtspd = (hprt0 & HPRT0_SPD_MASK) >> HPRT0_SPD_SHIFT; in dwc2_hprt0_enable() 369 u32 hprt0; in dwc2_port_intr() local 374 hprt0 = dwc2_readl(hsotg, HPRT0); in dwc2_port_intr() 375 hprt0_modify = hprt0; in dwc2_port_intr() 388 if (hprt0 & HPRT0_CONNDET) { in dwc2_port_intr() 393 hprt0); in dwc2_port_intr() 406 if (hprt0 & HPRT0_ENACHG) { in dwc2_port_intr() 410 hprt0, !!(hprt0 & HPRT0_ENA)); in dwc2_port_intr() 411 if (hprt0 & HPRT0_ENA) { in dwc2_port_intr() [all …]
|
| D | dwc2_hcd.h | 504 u32 hprt0 = dwc2_readl(hsotg, HPRT0); in dwc2_read_hprt0() local 506 hprt0 &= ~(HPRT0_ENA | HPRT0_CONNDET | HPRT0_ENACHG | HPRT0_OVRCURRCHG); in dwc2_read_hprt0() 507 return hprt0; in dwc2_read_hprt0()
|
| D | dwc2_core.h | 805 u32 hprt0; member
|