Home
last modified time | relevance | path

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

/drivers/usb/dwc2/
Dcore.c421 greset = dwc2_readl(hsotg, GRSTCTL); in dwc2_core_reset()
423 dwc2_writel(hsotg, greset, GRSTCTL); in dwc2_core_reset()
427 if (dwc2_hsotg_wait_bit_clear(hsotg, GRSTCTL, in dwc2_core_reset()
434 if (dwc2_hsotg_wait_bit_set(hsotg, GRSTCTL, in dwc2_core_reset()
440 greset = dwc2_readl(hsotg, GRSTCTL); in dwc2_core_reset()
443 dwc2_writel(hsotg, greset, GRSTCTL); in dwc2_core_reset()
463 if (dwc2_hsotg_wait_bit_set(hsotg, GRSTCTL, GRSTCTL_AHBIDLE, 10000)) { in dwc2_core_reset()
709 addr = hsotg->regs + GRSTCTL; in dwc2_dump_global_registers()
711 (unsigned long)addr, dwc2_readl(hsotg, GRSTCTL)); in dwc2_dump_global_registers()
789 if (dwc2_hsotg_wait_bit_set(hsotg, GRSTCTL, GRSTCTL_AHBIDLE, 10000)) in dwc2_flush_tx_fifo()
[all …]
Dhw.h97 #define GRSTCTL HSOTG_REG(0x010) macro
Ddebugfs.c344 dump_register(GRSTCTL),
Dgadget.c365 GRSTCTL_RXFFLSH, GRSTCTL); in dwc2_hsotg_init_fifo()
370 val = dwc2_readl(hsotg, GRSTCTL); in dwc2_hsotg_init_fifo()
2636 GRSTCTL); in dwc2_hsotg_txfifo_flush()
2639 if (dwc2_hsotg_wait_bit_clear(hsotg, GRSTCTL, GRSTCTL_TXFFLSH, 100)) in dwc2_hsotg_txfifo_flush()