~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/include/linux/phy/tegra/xusb.h

Version: ~ [ linux-6.11-rc3 ] ~ [ linux-6.10.4 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.45 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.104 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.164 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.223 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.281 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.319 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 /* SPDX-License-Identifier: GPL-2.0-only */
  2 /*
  3  * Copyright (c) 2016-2022, 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 enum usb_device_speed;
 12 
 13 struct tegra_xusb_padctl *tegra_xusb_padctl_get(struct device *dev);
 14 void tegra_xusb_padctl_put(struct tegra_xusb_padctl *padctl);
 15 
 16 int tegra_xusb_padctl_usb3_save_context(struct tegra_xusb_padctl *padctl,
 17                                         unsigned int port);
 18 int tegra_xusb_padctl_hsic_set_idle(struct tegra_xusb_padctl *padctl,
 19                                     unsigned int port, bool idle);
 20 int tegra_xusb_padctl_usb3_set_lfps_detect(struct tegra_xusb_padctl *padctl,
 21                                            unsigned int port, bool enable);
 22 int tegra_xusb_padctl_set_vbus_override(struct tegra_xusb_padctl *padctl,
 23                                         bool val);
 24 void tegra_phy_xusb_utmi_pad_power_on(struct phy *phy);
 25 void tegra_phy_xusb_utmi_pad_power_down(struct phy *phy);
 26 int tegra_phy_xusb_utmi_port_reset(struct phy *phy);
 27 int tegra_xusb_padctl_get_usb3_companion(struct tegra_xusb_padctl *padctl,
 28                                          unsigned int port);
 29 int tegra_xusb_padctl_get_port_number(struct phy *phy);
 30 int tegra_xusb_padctl_enable_phy_sleepwalk(struct tegra_xusb_padctl *padctl, struct phy *phy,
 31                                            enum usb_device_speed speed);
 32 int tegra_xusb_padctl_disable_phy_sleepwalk(struct tegra_xusb_padctl *padctl, struct phy *phy);
 33 int tegra_xusb_padctl_enable_phy_wake(struct tegra_xusb_padctl *padctl, struct phy *phy);
 34 int tegra_xusb_padctl_disable_phy_wake(struct tegra_xusb_padctl *padctl, struct phy *phy);
 35 bool tegra_xusb_padctl_remote_wake_detected(struct tegra_xusb_padctl *padctl, struct phy *phy);
 36 
 37 #endif /* PHY_TEGRA_XUSB_H */
 38 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php