phy-sun4i-usb.h 843 B

1234567891011121314151617181920212223242526
  1. /*
  2. * Copyright (c) 2015 Hans de Goede <hdegoede@redhat.com>
  3. *
  4. * This program is free software; you can redistribute it and/or modify
  5. * it under the terms of the GNU General Public License version 2 and
  6. * only version 2 as published by the Free Software Foundation.
  7. *
  8. * This program is distributed in the hope that it will be useful,
  9. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. * GNU General Public License for more details.
  12. */
  13. #ifndef PHY_SUN4I_USB_H_
  14. #define PHY_SUN4I_USB_H_
  15. #include "phy.h"
  16. /**
  17. * sun4i_usb_phy_set_squelch_detect() - Enable/disable squelch detect
  18. * @phy: reference to a sun4i usb phy
  19. * @enabled: wether to enable or disable squelch detect
  20. */
  21. void sun4i_usb_phy_set_squelch_detect(struct phy *phy, bool enabled);
  22. #endif