Lines Matching defs:cluster_phy
33 struct armada375_cluster_phy *cluster_phy;
36 cluster_phy = phy_get_drvdata(phy);
37 if (!cluster_phy)
40 reg = readl(cluster_phy->reg);
41 if (cluster_phy->use_usb3)
45 writel(reg, cluster_phy->reg);
66 struct armada375_cluster_phy *cluster_phy = dev_get_drvdata(dev);
68 if (!cluster_phy)
77 if (WARN_ON((cluster_phy->phy_provided != PHY_NONE) &&
78 (cluster_phy->phy_provided != args->args[0]))) {
88 cluster_phy->use_usb3 = false;
90 cluster_phy->use_usb3 = true;
97 cluster_phy->phy_provided = args->args[0];
99 return cluster_phy->phy;
108 struct armada375_cluster_phy *cluster_phy;
110 cluster_phy = devm_kzalloc(dev, sizeof(*cluster_phy), GFP_KERNEL);
111 if (!cluster_phy)
124 cluster_phy->phy = phy;
125 cluster_phy->reg = usb_cluster_base;
127 dev_set_drvdata(dev, cluster_phy);
128 phy_set_drvdata(phy, cluster_phy);