Searched refs:grstctl_reg (Results 1 – 1 of 1) sorted by relevance
173 mem_addr_t grstctl_reg = (mem_addr_t)&base->grstctl; in dwc2_flush_rx_fifo() local175 sys_write32(USB_DWC2_GRSTCTL_RXFFLSH, grstctl_reg); in dwc2_flush_rx_fifo()176 while (sys_read32(grstctl_reg) & USB_DWC2_GRSTCTL_RXFFLSH) { in dwc2_flush_rx_fifo()183 mem_addr_t grstctl_reg = (mem_addr_t)&base->grstctl; in dwc2_flush_tx_fifo() local192 sys_write32(grstctl, grstctl_reg); in dwc2_flush_tx_fifo()193 while (sys_read32(grstctl_reg) & USB_DWC2_GRSTCTL_TXFFLSH) { in dwc2_flush_tx_fifo()1693 mem_addr_t grstctl_reg = (mem_addr_t)&base->grstctl; in dwc2_core_soft_reset() local1698 while (!(sys_read32(grstctl_reg) & USB_DWC2_GRSTCTL_AHBIDLE)) { in dwc2_core_soft_reset()1703 sys_read32(grstctl_reg)); in dwc2_core_soft_reset()1709 sys_write32(USB_DWC2_GRSTCTL_CSFTRST, grstctl_reg); in dwc2_core_soft_reset()[all …]