Lines Matching refs:greset
497 u32 greset; in dwc2_core_reset() local
523 greset = dwc2_readl(hsotg, GRSTCTL); in dwc2_core_reset()
524 greset |= GRSTCTL_CSFTRST; in dwc2_core_reset()
525 dwc2_writel(hsotg, greset, GRSTCTL); in dwc2_core_reset()
542 greset = dwc2_readl(hsotg, GRSTCTL); in dwc2_core_reset()
543 greset &= ~GRSTCTL_CSFTRST; in dwc2_core_reset()
544 greset |= GRSTCTL_CSFTRST_DONE; in dwc2_core_reset()
545 dwc2_writel(hsotg, greset, GRSTCTL); in dwc2_core_reset()
870 u32 greset; in dwc2_flush_tx_fifo() local
879 greset = GRSTCTL_TXFFLSH; in dwc2_flush_tx_fifo()
880 greset |= num << GRSTCTL_TXFNUM_SHIFT & GRSTCTL_TXFNUM_MASK; in dwc2_flush_tx_fifo()
881 dwc2_writel(hsotg, greset, GRSTCTL); in dwc2_flush_tx_fifo()
898 u32 greset; in dwc2_flush_rx_fifo() local
907 greset = GRSTCTL_RXFFLSH; in dwc2_flush_rx_fifo()
908 dwc2_writel(hsotg, greset, GRSTCTL); in dwc2_flush_rx_fifo()