Searched refs:grstctl (Results 1 – 2 of 2) sorted by relevance
257 while (!(base->grstctl & USB_DW_GRSTCTL_AHB_IDLE)) { in usb_dw_reset()262 base->grstctl); in usb_dw_reset()269 base->grstctl |= USB_DW_GRSTCTL_C_SFT_RST; in usb_dw_reset()274 base->grstctl); in usb_dw_reset()278 } while (base->grstctl & USB_DW_GRSTCTL_C_SFT_RST); in usb_dw_reset()298 base->grstctl = (fnum << 6) | (1<<5); in usb_dw_flush_tx_fifo()299 while (base->grstctl & (1<<5)) { in usb_dw_flush_tx_fifo()1182 base->grstctl |= ep_idx << USB_DW_GRSTCTL_TX_FNUM_OFFSET; in usb_dc_ep_flush()1183 base->grstctl |= USB_DW_GRSTCTL_TX_FFLSH; in usb_dc_ep_flush()1193 } while (base->grstctl & USB_DW_GRSTCTL_TX_FFLSH); in usb_dc_ep_flush()
52 volatile uint32_t grstctl; member