Lines Matching refs:phy

101 	struct phy *phys[2];
535 static int tegra_xusb_phy_init(struct phy *phy) in tegra_xusb_phy_init() argument
537 struct tegra_xusb_padctl *padctl = phy_get_drvdata(phy); in tegra_xusb_phy_init()
542 static int tegra_xusb_phy_exit(struct phy *phy) in tegra_xusb_phy_exit() argument
544 struct tegra_xusb_padctl *padctl = phy_get_drvdata(phy); in tegra_xusb_phy_exit()
549 static int pcie_phy_power_on(struct phy *phy) in pcie_phy_power_on() argument
551 struct tegra_xusb_padctl *padctl = phy_get_drvdata(phy); in pcie_phy_power_on()
585 static int pcie_phy_power_off(struct phy *phy) in pcie_phy_power_off() argument
587 struct tegra_xusb_padctl *padctl = phy_get_drvdata(phy); in pcie_phy_power_off()
605 static int sata_phy_power_on(struct phy *phy) in sata_phy_power_on() argument
607 struct tegra_xusb_padctl *padctl = phy_get_drvdata(phy); in sata_phy_power_on()
645 static int sata_phy_power_off(struct phy *phy) in sata_phy_power_off() argument
647 struct tegra_xusb_padctl *padctl = phy_get_drvdata(phy); in sata_phy_power_off()
679 static struct phy *tegra_xusb_padctl_xlate(struct device *dev, in tegra_xusb_padctl_xlate()
877 struct phy *phy; in tegra_xusb_padctl_probe() local
918 phy = devm_phy_create(&pdev->dev, NULL, &pcie_phy_ops); in tegra_xusb_padctl_probe()
919 if (IS_ERR(phy)) { in tegra_xusb_padctl_probe()
920 err = PTR_ERR(phy); in tegra_xusb_padctl_probe()
924 padctl->phys[TEGRA_XUSB_PADCTL_PCIE] = phy; in tegra_xusb_padctl_probe()
925 phy_set_drvdata(phy, padctl); in tegra_xusb_padctl_probe()
927 phy = devm_phy_create(&pdev->dev, NULL, &sata_phy_ops); in tegra_xusb_padctl_probe()
928 if (IS_ERR(phy)) { in tegra_xusb_padctl_probe()
929 err = PTR_ERR(phy); in tegra_xusb_padctl_probe()
933 padctl->phys[TEGRA_XUSB_PADCTL_SATA] = phy; in tegra_xusb_padctl_probe()
934 phy_set_drvdata(phy, padctl); in tegra_xusb_padctl_probe()