Lines Matching refs:phy_count
88 int phy_count; /* DT phy-names count */ member
488 int phy_count = dra7xx->phy_count; in dra7xx_pcie_disable_phy() local
490 while (phy_count--) { in dra7xx_pcie_disable_phy()
491 phy_power_off(dra7xx->phy[phy_count]); in dra7xx_pcie_disable_phy()
492 phy_exit(dra7xx->phy[phy_count]); in dra7xx_pcie_disable_phy()
498 int phy_count = dra7xx->phy_count; in dra7xx_pcie_enable_phy() local
502 for (i = 0; i < phy_count; i++) { in dra7xx_pcie_enable_phy()
593 int phy_count; in dra7xx_pcie_probe() local
637 phy_count = of_property_count_strings(np, "phy-names"); in dra7xx_pcie_probe()
638 if (phy_count < 0) { in dra7xx_pcie_probe()
640 return phy_count; in dra7xx_pcie_probe()
643 phy = devm_kcalloc(dev, phy_count, sizeof(*phy), GFP_KERNEL); in dra7xx_pcie_probe()
647 link = devm_kcalloc(dev, phy_count, sizeof(*link), GFP_KERNEL); in dra7xx_pcie_probe()
651 for (i = 0; i < phy_count; i++) { in dra7xx_pcie_probe()
667 dra7xx->phy_count = phy_count; in dra7xx_pcie_probe()