Home
last modified time | relevance | path

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

/openbmc/linux/drivers/usb/dwc2/
H A 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()
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()
795 dwc2_writel(hsotg, greset, GRSTCTL); in dwc2_flush_tx_fifo()
[all …]
H A Dhw.h97 #define GRSTCTL HSOTG_REG(0x010) macro
H A Ddebugfs.c344 dump_register(GRSTCTL),
H A 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()
/openbmc/qemu/hw/usb/
H A Dhcd-dwc2.c686 case GRSTCTL: in dwc2_glbreg_read()
734 case GRSTCTL: in dwc2_glbreg_write()
/openbmc/qemu/include/hw/usb/
H A Ddwc2-regs.h124 #define GRSTCTL HSOTG_REG(0x010) macro