Home
last modified time | relevance | path

Searched refs:GRSTCTL_TXFFLSH (Results 1 – 5 of 5) sorted by relevance

/openbmc/qemu/hw/usb/
H A Dhcd-dwc2.c688 val &= ~(GRSTCTL_TXFFLSH | GRSTCTL_RXFFLSH | GRSTCTL_IN_TKNQ_FLSH | in dwc2_glbreg_read()
737 if (!(old & GRSTCTL_TXFFLSH) && (val & GRSTCTL_TXFFLSH)) { in dwc2_glbreg_write()
769 val |= old & (GRSTCTL_TXFFLSH | GRSTCTL_RXFFLSH | in dwc2_glbreg_write()
/openbmc/linux/drivers/usb/dwc2/
H A Dcore.c793 greset = GRSTCTL_TXFFLSH; in dwc2_flush_tx_fifo()
797 if (dwc2_hsotg_wait_bit_clear(hsotg, GRSTCTL, GRSTCTL_TXFFLSH, 10000)) in dwc2_flush_tx_fifo()
H A Dhw.h105 #define GRSTCTL_TXFFLSH BIT(5) macro
H A Dgadget.c364 dwc2_writel(hsotg, GRSTCTL_TXFNUM(0x10) | GRSTCTL_TXFFLSH | in dwc2_hsotg_init_fifo()
372 if ((val & (GRSTCTL_TXFFLSH | GRSTCTL_RXFFLSH)) == 0) in dwc2_hsotg_init_fifo()
2635 dwc2_writel(hsotg, GRSTCTL_TXFNUM(idx) | GRSTCTL_TXFFLSH, in dwc2_hsotg_txfifo_flush()
2639 if (dwc2_hsotg_wait_bit_clear(hsotg, GRSTCTL, GRSTCTL_TXFFLSH, 100)) in dwc2_hsotg_txfifo_flush()
/openbmc/qemu/include/hw/usb/
H A Ddwc2-regs.h131 #define GRSTCTL_TXFFLSH BIT(5) macro