Home
last modified time | relevance | path

Searched refs:grstctl (Results 1 – 3 of 3) sorted by relevance

/Zephyr-Core-3.7.0/drivers/usb/device/
Dusb_dc_dw.c257 while (!(base->grstctl & USB_DWC2_GRSTCTL_AHBIDLE)) { in usb_dw_reset()
262 base->grstctl); in usb_dw_reset()
269 base->grstctl |= USB_DWC2_GRSTCTL_CSFTRST; in usb_dw_reset()
274 base->grstctl); in usb_dw_reset()
278 } while (base->grstctl & USB_DWC2_GRSTCTL_CSFTRST); 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_DWC2_GRSTCTL_TXFNUM_POS; in usb_dc_ep_flush()
1183 base->grstctl |= USB_DWC2_GRSTCTL_TXFFLSH; in usb_dc_ep_flush()
1193 } while (base->grstctl & USB_DWC2_GRSTCTL_TXFFLSH); in usb_dc_ep_flush()
/Zephyr-Core-3.7.0/drivers/usb/udc/
Dudc_dwc2.c173 mem_addr_t grstctl_reg = (mem_addr_t)&base->grstctl; in dwc2_flush_rx_fifo()
183 mem_addr_t grstctl_reg = (mem_addr_t)&base->grstctl; in dwc2_flush_tx_fifo()
186 uint32_t grstctl; in dwc2_flush_tx_fifo() local
190 grstctl = usb_dwc2_set_grstctl_txfnum(fnum) | USB_DWC2_GRSTCTL_TXFFLSH; in dwc2_flush_tx_fifo()
192 sys_write32(grstctl, grstctl_reg); in dwc2_flush_tx_fifo()
1693 mem_addr_t grstctl_reg = (mem_addr_t)&base->grstctl; in dwc2_core_soft_reset()
/Zephyr-Core-3.7.0/drivers/usb/common/
Dusb_dwc2_hw.h52 volatile uint32_t grstctl; member