Searched refs:hprt0 (Results 1 – 7 of 7) sorted by relevance
| /OK3568_Linux_fs/u-boot/drivers/usb/host/ |
| H A D | dwc2.c | 242 uint32_t hprt0 = 0; in dwc_otg_core_host_init() local 308 hprt0 = readl(®s->hprt0); in dwc_otg_core_host_init() 309 hprt0 &= ~(DWC2_HPRT0_PRTENA | DWC2_HPRT0_PRTCONNDET); in dwc_otg_core_host_init() 310 hprt0 &= ~(DWC2_HPRT0_PRTENCHNG | DWC2_HPRT0_PRTOVRCURRCHNG); in dwc_otg_core_host_init() 311 if (!(hprt0 & DWC2_HPRT0_PRTPWR)) { in dwc_otg_core_host_init() 312 hprt0 |= DWC2_HPRT0_PRTPWR; in dwc_otg_core_host_init() 313 writel(hprt0, ®s->hprt0); in dwc_otg_core_host_init() 529 uint32_t hprt0 = 0; in dwc_otg_submit_rh_msg_in_status() local 550 hprt0 = readl(®s->hprt0); in dwc_otg_submit_rh_msg_in_status() 551 if (hprt0 & DWC2_HPRT0_PRTCONNSTS) in dwc_otg_submit_rh_msg_in_status() [all …]
|
| H A D | dwc2.h | 61 u32 hprt0; /* 0x440 */ member
|
| /OK3568_Linux_fs/kernel/drivers/usb/dwc2/ |
| H A D | hcd.c | 364 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() 1683 u32 hprt0; in dwc2_hcd_start() local 1691 hprt0 = dwc2_read_hprt0(hsotg); in dwc2_hcd_start() 1692 hprt0 |= HPRT0_RST; in dwc2_hcd_start() 1693 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_hcd_start() 1780 u32 hprt0; in dwc2_hcd_disconnect() local 1832 hprt0 = dwc2_readl(hsotg, HPRT0); in dwc2_hcd_disconnect() 1834 if (!force && !(hprt0 & HPRT0_CONNDET) && in dwc2_hcd_disconnect() [all …]
|
| H A D | core_intr.c | 84 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()
|
| H A D | hcd_intr.c | 263 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 …]
|
| H A D | hcd.h | 493 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()
|
| H A D | core.h | 762 u32 hprt0; member
|