Lines Matching defs:phy
12 #include <linux/phy/phy.h>
13 #include <linux/phy/tegra/xusb.h>
24 static struct phy *tegra_xusb_pad_of_xlate(struct device *dev,
28 struct phy *phy = NULL;
39 phy = pad->lanes[i];
44 if (phy == NULL)
45 phy = ERR_PTR(-ENODEV);
47 return phy;
132 static void tegra_xusb_lane_destroy(struct phy *phy)
134 if (phy) {
135 struct tegra_xusb_lane *lane = phy_get_drvdata(phy);
138 phy_destroy(phy);
185 struct phy *lane;
691 * Assign phy dev to usb-phy dev. Host/device drivers can use phy
692 * reference to retrieve usb-phy details.
1369 int tegra_phy_xusb_utmi_port_reset(struct phy *phy)
1371 struct tegra_xusb_lane *lane = phy_get_drvdata(phy);
1375 return padctl->soc->ops->utmi_port_reset(phy);