Searched refs:cluster_phy (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/phy/
H A Dphy-armada375-usb2.c37 struct armada375_cluster_phy *cluster_phy; armada375_usb_phy_init() local
40 cluster_phy = phy_get_drvdata(phy); armada375_usb_phy_init()
41 if (!cluster_phy) armada375_usb_phy_init()
44 reg = readl(cluster_phy->reg); armada375_usb_phy_init()
45 if (cluster_phy->use_usb3) armada375_usb_phy_init()
49 writel(reg, cluster_phy->reg); armada375_usb_phy_init()
70 struct armada375_cluster_phy *cluster_phy = dev_get_drvdata(dev); armada375_usb_phy_xlate() local
72 if (!cluster_phy) armada375_usb_phy_xlate()
81 if (WARN_ON((cluster_phy->phy_provided != PHY_NONE) && armada375_usb_phy_xlate()
82 (cluster_phy->phy_provided != args->args[0]))) { armada375_usb_phy_xlate()
92 cluster_phy->use_usb3 = false; armada375_usb_phy_xlate()
94 cluster_phy->use_usb3 = true; armada375_usb_phy_xlate()
101 cluster_phy->phy_provided = args->args[0]; armada375_usb_phy_xlate()
103 return cluster_phy->phy; armada375_usb_phy_xlate()
113 struct armada375_cluster_phy *cluster_phy; armada375_usb_phy_probe() local
115 cluster_phy = devm_kzalloc(dev, sizeof(*cluster_phy), GFP_KERNEL); armada375_usb_phy_probe()
116 if (!cluster_phy) armada375_usb_phy_probe()
130 cluster_phy->phy = phy; armada375_usb_phy_probe()
131 cluster_phy->reg = usb_cluster_base; armada375_usb_phy_probe()
133 dev_set_drvdata(dev, cluster_phy); armada375_usb_phy_probe()
134 phy_set_drvdata(phy, cluster_phy); armada375_usb_phy_probe()

Completed in 147 milliseconds