Hans de Goede | 24fe86a | 2015-03-29 12:50:46 +0200 | [diff] [blame] | 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 | |
| 14 | #ifndef PHY_SUN4I_USB_H_ |
| 15 | #define PHY_SUN4I_USB_H_ |
| 16 | |
| 17 | #include "phy.h" |
| 18 | |
| 19 | /** |
| 20 | * sun4i_usb_phy_set_squelch_detect() - Enable/disable squelch detect |
| 21 | * @phy: reference to a sun4i usb phy |
| 22 | * @enabled: wether to enable or disable squelch detect |
| 23 | */ |
| 24 | void sun4i_usb_phy_set_squelch_detect(struct phy *phy, bool enabled); |
| 25 | |
| 26 | #endif |