Home
last modified time | relevance | path

Searched refs:GRSTCTL (Results 1 – 6 of 6) sorted by relevance

/device/linaro/bootloader/OpenPlatformPkg/Drivers/Usb/DwUsbHostDxe/
DDwUsbHostDxe.c136 Status = Wait4Bit (DwHc->DwUsbBase + GRSTCTL, DWC2_GRSTCTL_AHBIDLE, 1); in DwCoreReset()
140 MmioWrite32 (DwHc->DwUsbBase + GRSTCTL, DWC2_GRSTCTL_CSFTRST); in DwCoreReset()
142 Status = Wait4Bit (DwHc->DwUsbBase + GRSTCTL, DWC2_GRSTCTL_CSFTRST, 0); in DwCoreReset()
842 …MmioWrite32 (DwHc->DwUsbBase + GRSTCTL, DWC2_GRSTCTL_TXFFLSH | (Num << DWC2_GRSTCTL_TXFNUM_OFFSET)… in DwFlushTxFifo()
844 Status = Wait4Bit (DwHc->DwUsbBase + GRSTCTL, DWC2_GRSTCTL_TXFFLSH, 0); in DwFlushTxFifo()
858 MmioWrite32 (DwHc->DwUsbBase + GRSTCTL, DWC2_GRSTCTL_RXFFLSH); in DwFlushRxFifo()
860 Status = Wait4Bit (DwHc->DwUsbBase + GRSTCTL, DWC2_GRSTCTL_RXFFLSH, 0); in DwFlushRxFifo()
DDwcHw.h40 #define GRSTCTL HSOTG_REG(0x010) macro
/device/linaro/bootloader/OpenPlatformPkg/Drivers/Usb/DwUsbDxe/
DDwUsbDxe.c573 data = READ_REG32 (GRSTCTL) & GRSTCTL_AHBIDLE; in usb_init()
577 WRITE_REG32 (GRSTCTL, GRSTCTL_CSFTRST); in usb_init()
580 while (READ_REG32 (GRSTCTL) & GRSTCTL_CSFTRST); in usb_init()
583 while ((READ_REG32 (GRSTCTL) & GRSTCTL_AHBIDLE) == 0); in usb_init()
DDwUsbDxe.h195 #define GRSTCTL (0x010) macro
/device/linaro/bootloader/arm-trusted-firmware/plat/hikey/
Dusb.c1192 data = mmio_read_32(GRSTCTL) & GRSTCTL_AHBIDLE; in init_usb()
1197 mmio_write_32(GRSTCTL, GRSTCTL_CSFTRST); in init_usb()
1200 while (mmio_read_32(GRSTCTL) & GRSTCTL_CSFTRST); in init_usb()
1203 while ((mmio_read_32(GRSTCTL) & GRSTCTL_AHBIDLE) == 0); in init_usb()
/device/linaro/bootloader/arm-trusted-firmware/plat/hikey/include/
Dusb.h140 #define GRSTCTL (DWC_OTG_BASE + 0x010) macro