Searched refs:hprt0 (Results 1 – 6 of 6) sorted by relevance
200 u32 hprt0; in dwc2_hcd_start() local208 hprt0 = dwc2_read_hprt0(hsotg); in dwc2_hcd_start()209 hprt0 |= HPRT0_RST; in dwc2_hcd_start()210 dwc2_writel(hprt0, hsotg->regs + HPRT0); in dwc2_hcd_start()382 u32 hprt0 = dwc2_readl(hsotg->regs + HPRT0); in dwc2_hcd_urb_enqueue() local383 u32 prtspd = (hprt0 & HPRT0_SPD_MASK) >> HPRT0_SPD_SHIFT; in dwc2_hcd_urb_enqueue()1417 u32 hprt0; in dwc2_wakeup_detected() local1425 hprt0 = dwc2_read_hprt0(hsotg); in dwc2_wakeup_detected()1426 dev_dbg(hsotg->dev, "Resume: HPRT0=%0x\n", hprt0); in dwc2_wakeup_detected()1427 hprt0 &= ~HPRT0_RES; in dwc2_wakeup_detected()[all …]
83 u32 hprt0 = dwc2_readl(hsotg->regs + HPRT0); in dwc2_handle_usb_port_intr() local85 if (hprt0 & HPRT0_ENACHG) { in dwc2_handle_usb_port_intr()86 hprt0 &= ~HPRT0_ENA; in dwc2_handle_usb_port_intr()87 dwc2_writel(hprt0, hsotg->regs + HPRT0); in dwc2_handle_usb_port_intr()
236 static void dwc2_hprt0_enable(struct dwc2_hsotg *hsotg, u32 hprt0, in dwc2_hprt0_enable() argument264 prtspd = (hprt0 & HPRT0_SPD_MASK) >> HPRT0_SPD_SHIFT; in dwc2_hprt0_enable()330 u32 hprt0; in dwc2_port_intr() local335 hprt0 = dwc2_readl(hsotg->regs + HPRT0); in dwc2_port_intr()336 hprt0_modify = hprt0; in dwc2_port_intr()349 if (hprt0 & HPRT0_CONNDET) { in dwc2_port_intr()352 hprt0); in dwc2_port_intr()370 if (hprt0 & HPRT0_ENACHG) { in dwc2_port_intr()373 hprt0, !!(hprt0 & HPRT0_ENA)); in dwc2_port_intr()375 if (hprt0 & HPRT0_ENA) in dwc2_port_intr()[all …]
398 u32 hprt0 = dwc2_readl(hsotg->regs + HPRT0); in dwc2_read_hprt0() local400 hprt0 &= ~(HPRT0_ENA | HPRT0_CONNDET | HPRT0_ENACHG | HPRT0_OVRCURRCHG); in dwc2_read_hprt0()401 return hprt0; in dwc2_read_hprt0()
81 hr->hprt0 = dwc2_read_hprt0(hsotg); in dwc2_backup_host_registers()117 dwc2_writel(hr->hprt0, hsotg->regs + HPRT0); in dwc2_restore_host_registers()1126 u32 hprt0 = dwc2_read_hprt0(hsotg); in dwc2_core_host_init() local1129 !!(hprt0 & HPRT0_PWR)); in dwc2_core_host_init()1130 if (!(hprt0 & HPRT0_PWR)) { in dwc2_core_host_init()1131 hprt0 |= HPRT0_PWR; in dwc2_core_host_init()1132 dwc2_writel(hprt0, hsotg->regs + HPRT0); in dwc2_core_host_init()2098 u32 hprt0; in dwc2_calc_frame_interval() local2102 hprt0 = dwc2_readl(hsotg->regs + HPRT0); in dwc2_calc_frame_interval()2126 if ((hprt0 & HPRT0_SPD_MASK) >> HPRT0_SPD_SHIFT == HPRT0_SPD_HIGH_SPEED) in dwc2_calc_frame_interval()
558 u32 hprt0; member