Lines Matching refs:hprt0
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()
553 if (hprt0 & DWC2_HPRT0_PRTENA) in dwc_otg_submit_rh_msg_in_status()
555 if (hprt0 & DWC2_HPRT0_PRTSUSP) in dwc_otg_submit_rh_msg_in_status()
557 if (hprt0 & DWC2_HPRT0_PRTOVRCURRACT) in dwc_otg_submit_rh_msg_in_status()
559 if (hprt0 & DWC2_HPRT0_PRTRST) in dwc_otg_submit_rh_msg_in_status()
561 if (hprt0 & DWC2_HPRT0_PRTPWR) in dwc_otg_submit_rh_msg_in_status()
564 if ((hprt0 & DWC2_HPRT0_PRTSPD_MASK) == DWC2_HPRT0_PRTSPD_LOW) in dwc_otg_submit_rh_msg_in_status()
566 else if ((hprt0 & DWC2_HPRT0_PRTSPD_MASK) == in dwc_otg_submit_rh_msg_in_status()
570 if (hprt0 & DWC2_HPRT0_PRTENCHNG) in dwc_otg_submit_rh_msg_in_status()
572 if (hprt0 & DWC2_HPRT0_PRTCONNDET) in dwc_otg_submit_rh_msg_in_status()
574 if (hprt0 & DWC2_HPRT0_PRTOVRCURRCHNG) in dwc_otg_submit_rh_msg_in_status()
740 setbits_le32(®s->hprt0, DWC2_HPRT0_PRTCONNDET); in dwc_otg_submit_rh_msg_out()
751 clrsetbits_le32(®s->hprt0, DWC2_HPRT0_PRTENA | in dwc_otg_submit_rh_msg_out()
757 clrbits_le32(®s->hprt0, DWC2_HPRT0_PRTRST); in dwc_otg_submit_rh_msg_out()
761 clrsetbits_le32(®s->hprt0, DWC2_HPRT0_PRTENA | in dwc_otg_submit_rh_msg_out()
949 uint32_t hprt0 = readl(®s->hprt0); in chunk_msg() local
950 if ((hprt0 & DWC2_HPRT0_PRTSPD_MASK) == in chunk_msg()
1192 clrsetbits_le32(®s->hprt0, DWC2_HPRT0_PRTENA | in dwc2_init_common()
1197 clrbits_le32(®s->hprt0, DWC2_HPRT0_PRTENA | DWC2_HPRT0_PRTCONNDET | in dwc2_init_common()
1223 clrsetbits_le32(®s->hprt0, DWC2_HPRT0_PRTENA | in dwc2_uninit_common()