ark_dwc2.h 456 B

12345678910111213141516171819
  1. /* SPDX-License-Identifier: GPL-2.0+ */
  2. /*
  3. * MUSB OTG driver u-boot specific functions
  4. *
  5. * Copyright © 2015 Hans de Goede <hdegoede@redhat.com>
  6. */
  7. #ifndef __ARK_USB_DWC2_H__
  8. #define __ARK_USB_DWC2_H__
  9. int usb_dwc2_lowlevel_init();
  10. int usb_dwc2_lowlevel_uninit();
  11. void usb_sysctrl_init();
  12. void reset_usb_phy();
  13. void usb_disable_endpoint();
  14. void usb_reset_endpoint();
  15. void usb_dwc2_lowlevel_restart();
  16. int usb_dwc2_reset(int inIrq, int isDev);
  17. #endif