Lines Matching refs:phy_count
152 int i = pcie->phy_count;
165 for (i = 0; i < pcie->phy_count; i++) {
191 int phy_count;
198 phy_count = of_property_count_strings(np, "phy-names");
199 if (phy_count < 1) {
201 pcie->phy_count = 0;
205 phy = devm_kcalloc(dev, phy_count, sizeof(*phy), GFP_KERNEL);
209 link = devm_kcalloc(dev, phy_count, sizeof(*link), GFP_KERNEL);
213 for (i = 0; i < phy_count; i++) {
228 pcie->phy_count = phy_count;