1 /* SPDX-License-Identifier: GPL-2.0-only */ 2 /* 3 * Copyright (c) 2016, NVIDIA CORPORATION. All rights reserved. 4 */ 5 6 #ifndef PHY_TEGRA_XUSB_H 7 #define PHY_TEGRA_XUSB_H 8 9 struct tegra_xusb_padctl; 10 struct device; 11 12 struct tegra_xusb_padctl *tegra_xusb_padctl_get(struct device *dev); 13 void tegra_xusb_padctl_put(struct tegra_xusb_padctl *padctl); 14 15 int tegra_xusb_padctl_usb3_save_context(struct tegra_xusb_padctl *padctl, 16 unsigned int port); 17 int tegra_xusb_padctl_hsic_set_idle(struct tegra_xusb_padctl *padctl, 18 unsigned int port, bool idle); 19 int tegra_xusb_padctl_usb3_set_lfps_detect(struct tegra_xusb_padctl *padctl, 20 unsigned int port, bool enable); 21 22 #endif /* PHY_TEGRA_XUSB_H */ 23