/src/sys/external/bsd/dwc2/dist/ |
dwc2_coreintr.c | 97 u32 hprt0 = DWC2_READ_4(hsotg, HPRT0); local in function:dwc2_handle_usb_port_intr 99 if (hprt0 & HPRT0_ENACHG) { 100 hprt0 &= ~HPRT0_ENA; 101 DWC2_WRITE_4(hsotg, HPRT0, hprt0); 572 * The port interrupt occurs while in device mode with HPRT0
|
dwc2_hcd.c | 216 u32 hprt0; local in function:dwc2_hcd_start 224 hprt0 = dwc2_read_hprt0(hsotg); 225 hprt0 |= HPRT0_RST; 226 DWC2_WRITE_4(hsotg, HPRT0, hprt0); 313 u32 hprt0; local in function:dwc2_hcd_disconnect 338 DWC2_WRITE_4(hsotg, HPRT0, 0); 368 hprt0 = DWC2_READ_4(hsotg, HPRT0); 369 if (!(hprt0 & HPRT0_CONNDET) && (hprt0 & HPRT0_CONNSTS) 438 u32 hprt0 = DWC2_READ_4(hsotg, HPRT0); local in function:dwc2_hcd_urb_enqueue 1437 u32 hprt0; local in function:dwc2_wakeup_detected 1463 u32 hprt0; local in function:dwc2_port_suspend 1514 u32 hprt0; local in function:dwc2_port_resume 1556 u32 hprt0; local in function:dwc2_hcd_hub_control 2187 u32 hprt0; local in function:dwc2_hcd_reset_func [all...] |
dwc2_hcdintr.c | 249 static void dwc2_hprt0_enable(struct dwc2_hsotg *hsotg, u32 hprt0, 279 prtspd = (hprt0 & HPRT0_SPD_MASK) >> HPRT0_SPD_SHIFT; 330 DWC2_WRITE_4(hsotg, HPRT0, *hprt0_modify); 348 u32 hprt0; local in function:dwc2_port_intr 353 hprt0 = DWC2_READ_4(hsotg, HPRT0); 354 hprt0_modify = hprt0; 357 * Clear appropriate bits in HPRT0 to clear the interrupt bit in 367 if (hprt0 & HPRT0_CONNDET) { 368 DWC2_WRITE_4(hsotg, HPRT0, hprt0_modify | HPRT0_CONNDET) [all...] |
dwc2_core.c | 91 hr->hprt0 = DWC2_READ_4(hsotg, HPRT0); 127 DWC2_WRITE_4(hsotg, HPRT0, hr->hprt0); 1261 u32 hprt0 = dwc2_read_hprt0(hsotg); local in function:dwc2_core_host_init 1264 !!(hprt0 & HPRT0_PWR)); 1265 if (!(hprt0 & HPRT0_PWR)) { 1266 hprt0 |= HPRT0_PWR; 1267 DWC2_WRITE_4(hsotg, HPRT0, hprt0); 2256 u32 hprt0; local in function:dwc2_calc_frame_interval [all...] |
dwc2_hcd.h | 409 * Reads HPRT0 in preparation to modify. It keeps the WC bits 0 so that if they 414 u32 hprt0 = DWC2_READ_4(hsotg, HPRT0); local in function:dwc2_read_hprt0 416 hprt0 &= ~(HPRT0_ENA | HPRT0_CONNDET | HPRT0_ENACHG | HPRT0_OVRCURRCHG); 417 return hprt0;
|
dwc2_core.h | 549 u32 hprt0; member in struct:dwc2_hregs_backup
|