Lines Matching refs:phy

96 	struct phy *phys[2];
546 static int tegra_xusb_phy_init(struct phy *phy) in tegra_xusb_phy_init() argument
548 struct tegra_xusb_padctl *padctl = phy_get_drvdata(phy); in tegra_xusb_phy_init()
553 static int tegra_xusb_phy_exit(struct phy *phy) in tegra_xusb_phy_exit() argument
555 struct tegra_xusb_padctl *padctl = phy_get_drvdata(phy); in tegra_xusb_phy_exit()
560 static int pcie_phy_power_on(struct phy *phy) in pcie_phy_power_on() argument
562 struct tegra_xusb_padctl *padctl = phy_get_drvdata(phy); in pcie_phy_power_on()
596 static int pcie_phy_power_off(struct phy *phy) in pcie_phy_power_off() argument
598 struct tegra_xusb_padctl *padctl = phy_get_drvdata(phy); in pcie_phy_power_off()
616 static int sata_phy_power_on(struct phy *phy) in sata_phy_power_on() argument
618 struct tegra_xusb_padctl *padctl = phy_get_drvdata(phy); in sata_phy_power_on()
656 static int sata_phy_power_off(struct phy *phy) in sata_phy_power_off() argument
658 struct tegra_xusb_padctl *padctl = phy_get_drvdata(phy); in sata_phy_power_off()
690 static struct phy *tegra_xusb_padctl_xlate(struct device *dev, in tegra_xusb_padctl_xlate()
879 struct phy *phy; in tegra_xusb_padctl_probe() local
922 phy = devm_phy_create(&pdev->dev, NULL, &pcie_phy_ops); in tegra_xusb_padctl_probe()
923 if (IS_ERR(phy)) { in tegra_xusb_padctl_probe()
924 err = PTR_ERR(phy); in tegra_xusb_padctl_probe()
928 padctl->phys[TEGRA_XUSB_PADCTL_PCIE] = phy; in tegra_xusb_padctl_probe()
929 phy_set_drvdata(phy, padctl); in tegra_xusb_padctl_probe()
931 phy = devm_phy_create(&pdev->dev, NULL, &sata_phy_ops); in tegra_xusb_padctl_probe()
932 if (IS_ERR(phy)) { in tegra_xusb_padctl_probe()
933 err = PTR_ERR(phy); in tegra_xusb_padctl_probe()
937 padctl->phys[TEGRA_XUSB_PADCTL_SATA] = phy; in tegra_xusb_padctl_probe()
938 phy_set_drvdata(phy, padctl); in tegra_xusb_padctl_probe()