Searched refs:hprt0 (Results 1 – 6 of 6) sorted by relevance
| /netbsd/src/sys/external/bsd/dwc2/dist/ |
| D | dwc2_hcd.c | 216 u32 hprt0; in dwc2_hcd_start() local 224 hprt0 = dwc2_read_hprt0(hsotg); in dwc2_hcd_start() 225 hprt0 |= HPRT0_RST; in dwc2_hcd_start() 226 DWC2_WRITE_4(hsotg, HPRT0, hprt0); in dwc2_hcd_start() 313 u32 hprt0; in dwc2_hcd_disconnect() local 368 hprt0 = DWC2_READ_4(hsotg, HPRT0); in dwc2_hcd_disconnect() 369 if (!(hprt0 & HPRT0_CONNDET) && (hprt0 & HPRT0_CONNSTS)) in dwc2_hcd_disconnect() 438 u32 hprt0 = DWC2_READ_4(hsotg, HPRT0); in dwc2_hcd_urb_enqueue() local 439 u32 prtspd = (hprt0 & HPRT0_SPD_MASK) >> HPRT0_SPD_SHIFT; in dwc2_hcd_urb_enqueue() 1437 u32 hprt0; in dwc2_wakeup_detected() local [all …]
|
| D | dwc2_coreintr.c | 97 u32 hprt0 = DWC2_READ_4(hsotg, HPRT0); in dwc2_handle_usb_port_intr() local 99 if (hprt0 & HPRT0_ENACHG) { in dwc2_handle_usb_port_intr() 100 hprt0 &= ~HPRT0_ENA; in dwc2_handle_usb_port_intr() 101 DWC2_WRITE_4(hsotg, HPRT0, hprt0); in dwc2_handle_usb_port_intr()
|
| D | dwc2_hcdintr.c | 249 static void dwc2_hprt0_enable(struct dwc2_hsotg *hsotg, u32 hprt0, in dwc2_hprt0_enable() argument 279 prtspd = (hprt0 & HPRT0_SPD_MASK) >> HPRT0_SPD_SHIFT; in dwc2_hprt0_enable() 348 u32 hprt0; in dwc2_port_intr() local 353 hprt0 = DWC2_READ_4(hsotg, HPRT0); in dwc2_port_intr() 354 hprt0_modify = hprt0; in dwc2_port_intr() 367 if (hprt0 & HPRT0_CONNDET) { in dwc2_port_intr() 372 hprt0); in dwc2_port_intr() 385 if (hprt0 & HPRT0_ENACHG) { in dwc2_port_intr() 389 hprt0, !!(hprt0 & HPRT0_ENA)); in dwc2_port_intr() 390 if (hprt0 & HPRT0_ENA) { in dwc2_port_intr() [all …]
|
| D | dwc2_hcd.h | 414 u32 hprt0 = DWC2_READ_4(hsotg, HPRT0); in dwc2_read_hprt0() local 416 hprt0 &= ~(HPRT0_ENA | HPRT0_CONNDET | HPRT0_ENACHG | HPRT0_OVRCURRCHG); in dwc2_read_hprt0() 417 return hprt0; in dwc2_read_hprt0()
|
| D | dwc2_core.c | 91 hr->hprt0 = DWC2_READ_4(hsotg, HPRT0); in dwc2_backup_host_registers() 127 DWC2_WRITE_4(hsotg, HPRT0, hr->hprt0); in dwc2_restore_host_registers() 1261 u32 hprt0 = dwc2_read_hprt0(hsotg); in dwc2_core_host_init() local 1264 !!(hprt0 & HPRT0_PWR)); in dwc2_core_host_init() 1265 if (!(hprt0 & HPRT0_PWR)) { in dwc2_core_host_init() 1266 hprt0 |= HPRT0_PWR; in dwc2_core_host_init() 1267 DWC2_WRITE_4(hsotg, HPRT0, hprt0); in dwc2_core_host_init() 2256 u32 hprt0; in dwc2_calc_frame_interval() local 2260 hprt0 = DWC2_READ_4(hsotg, HPRT0); in dwc2_calc_frame_interval() 2284 if ((hprt0 & HPRT0_SPD_MASK) >> HPRT0_SPD_SHIFT == HPRT0_SPD_HIGH_SPEED) in dwc2_calc_frame_interval()
|
| D | dwc2_core.h | 549 u32 hprt0; member
|