summaryrefslogtreecommitdiff
path: root/drivers/usb/common/dwc2_core.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/common/dwc2_core.h')
-rw-r--r--drivers/usb/common/dwc2_core.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/usb/common/dwc2_core.h b/drivers/usb/common/dwc2_core.h
index 862d3b3691c..1897ad7cb54 100644
--- a/drivers/usb/common/dwc2_core.h
+++ b/drivers/usb/common/dwc2_core.h
@@ -125,6 +125,10 @@ struct dwc2_core_regs {
u8 ep_fifo[16][0x1000]; /* 0x1000 */
};
+int dwc2_core_reset(struct dwc2_core_regs *regs);
+int dwc2_flush_tx_fifo(struct dwc2_core_regs *regs, const int num);
+int dwc2_flush_rx_fifo(struct dwc2_core_regs *regs);
+
/* Core Global Register */
#define GOTGCTL_CHIRPEN BIT(27)
#define GOTGCTL_MULT_VALID_BC_MASK GENMASK(26, 22)