usb_notifier.h 632 B

12345678910111213141516171819
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /*
  3. * Copyright (C) 2014 Samsung Electronics Co. Ltd.
  4. *
  5. * This program is free software; you can redistribute it and/or modify
  6. * it under the terms of the GNU General Public License as published by
  7. * the Free Software Foundation; either version 2 of the License, or
  8. * (at your option) any later version.
  9. */
  10. #ifndef __LINUX_USB_NOTIFIER_H__
  11. #define __LINUX_USB_NOTIFIER_H__
  12. extern int dwc_msm_vbus_event(bool enable);
  13. extern void dwc3_max_speed_setting(int speed);
  14. extern int dwc_msm_id_event(bool enable);
  15. extern int gadget_speed(void);
  16. extern int is_dwc3_msm_probe_done(void);
  17. #endif