Searched refs:grstctl (Results 1 – 5 of 5) sorted by relevance
| /OK3568_Linux_fs/u-boot/drivers/usb/host/ |
| H A D | dwc2.c | 116 ®s->grstctl); in dwc_otg_flush_tx_fifo() 117 ret = wait_for_bit_le32(®s->grstctl, DWC2_GRSTCTL_TXFFLSH, in dwc_otg_flush_tx_fifo() 135 writel(DWC2_GRSTCTL_RXFFLSH, ®s->grstctl); in dwc_otg_flush_rx_fifo() 136 ret = wait_for_bit_le32(®s->grstctl, DWC2_GRSTCTL_RXFFLSH, in dwc_otg_flush_rx_fifo() 154 ret = wait_for_bit_le32(®s->grstctl, DWC2_GRSTCTL_AHBIDLE, in dwc_otg_core_reset() 160 writel(DWC2_GRSTCTL_CSFTRST, ®s->grstctl); in dwc_otg_core_reset() 161 ret = wait_for_bit_le32(®s->grstctl, DWC2_GRSTCTL_CSFTRST, in dwc_otg_core_reset()
|
| H A D | dwc2.h | 37 u32 grstctl; /* 0x010 */ member
|
| /OK3568_Linux_fs/u-boot/drivers/usb/gadget/ |
| H A D | dwc2_udc_otg.c | 458 unsigned int uTemp = writel(CORE_SOFT_RESET, ®->grstctl); in reconfig_usbd() 563 writel(RX_FIFO_FLUSH, ®->grstctl); in reconfig_usbd() 564 while (readl(®->grstctl) & RX_FIFO_FLUSH) in reconfig_usbd() 568 writel(TX_FIFO_FLUSH_ALL, ®->grstctl); in reconfig_usbd() 569 writel(TX_FIFO_FLUSH_ALL | TX_FIFO_FLUSH, ®->grstctl); in reconfig_usbd() 570 while (readl(®->grstctl) & TX_FIFO_FLUSH) in reconfig_usbd()
|
| H A D | dwc2_udc_otg_regs.h | 57 u32 grstctl; /* Core Reset */ member
|
| H A D | dwc2_udc_otg_xfer_dma.c | 160 writel(TX_FIFO_NUMBER(ep->fifo_num), ®->grstctl); in setdma_tx() 161 writel(TX_FIFO_NUMBER(ep->fifo_num) | TX_FIFO_FLUSH, ®->grstctl); in setdma_tx() 162 while (readl(®->grstctl) & TX_FIFO_FLUSH) in setdma_tx()
|