Lines Matching refs:hprt0
246 uint32_t hprt0 = 0; in dwc_otg_core_host_init() local
312 hprt0 = readl(®s->hprt0); in dwc_otg_core_host_init()
313 hprt0 &= ~(DWC2_HPRT0_PRTENA | DWC2_HPRT0_PRTCONNDET); in dwc_otg_core_host_init()
314 hprt0 &= ~(DWC2_HPRT0_PRTENCHNG | DWC2_HPRT0_PRTOVRCURRCHNG); in dwc_otg_core_host_init()
315 if (!(hprt0 & DWC2_HPRT0_PRTPWR)) { in dwc_otg_core_host_init()
316 hprt0 |= DWC2_HPRT0_PRTPWR; in dwc_otg_core_host_init()
317 writel(hprt0, ®s->hprt0); in dwc_otg_core_host_init()
541 uint32_t hprt0 = 0; in dwc_otg_submit_rh_msg_in_status() local
562 hprt0 = readl(®s->hprt0); in dwc_otg_submit_rh_msg_in_status()
563 if (hprt0 & DWC2_HPRT0_PRTCONNSTS) in dwc_otg_submit_rh_msg_in_status()
565 if (hprt0 & DWC2_HPRT0_PRTENA) in dwc_otg_submit_rh_msg_in_status()
567 if (hprt0 & DWC2_HPRT0_PRTSUSP) in dwc_otg_submit_rh_msg_in_status()
569 if (hprt0 & DWC2_HPRT0_PRTOVRCURRACT) in dwc_otg_submit_rh_msg_in_status()
571 if (hprt0 & DWC2_HPRT0_PRTRST) in dwc_otg_submit_rh_msg_in_status()
573 if (hprt0 & DWC2_HPRT0_PRTPWR) in dwc_otg_submit_rh_msg_in_status()
576 if ((hprt0 & DWC2_HPRT0_PRTSPD_MASK) == DWC2_HPRT0_PRTSPD_LOW) in dwc_otg_submit_rh_msg_in_status()
578 else if ((hprt0 & DWC2_HPRT0_PRTSPD_MASK) == in dwc_otg_submit_rh_msg_in_status()
582 if (hprt0 & DWC2_HPRT0_PRTENCHNG) in dwc_otg_submit_rh_msg_in_status()
584 if (hprt0 & DWC2_HPRT0_PRTCONNDET) in dwc_otg_submit_rh_msg_in_status()
586 if (hprt0 & DWC2_HPRT0_PRTOVRCURRCHNG) in dwc_otg_submit_rh_msg_in_status()
752 setbits_le32(®s->hprt0, DWC2_HPRT0_PRTCONNDET); in dwc_otg_submit_rh_msg_out()
763 clrsetbits_le32(®s->hprt0, DWC2_HPRT0_PRTENA | in dwc_otg_submit_rh_msg_out()
769 clrbits_le32(®s->hprt0, DWC2_HPRT0_PRTRST); in dwc_otg_submit_rh_msg_out()
773 clrsetbits_le32(®s->hprt0, DWC2_HPRT0_PRTENA | in dwc_otg_submit_rh_msg_out()
961 uint32_t hprt0 = readl(®s->hprt0); in chunk_msg() local
962 if ((hprt0 & DWC2_HPRT0_PRTSPD_MASK) == in chunk_msg()
1206 clrsetbits_le32(®s->hprt0, DWC2_HPRT0_PRTENA | in dwc2_init_common()
1211 clrbits_le32(®s->hprt0, DWC2_HPRT0_PRTENA | DWC2_HPRT0_PRTCONNDET | in dwc2_init_common()
1239 clrsetbits_le32(®s->hprt0, DWC2_HPRT0_PRTENA | in dwc2_uninit_common()