Searched refs:phy_count (Results 1 – 5 of 5) sorted by relevance
130 int i = pcie->phy_count; in cdns_pcie_disable_phy()143 for (i = 0; i < pcie->phy_count; i++) { in cdns_pcie_enable_phy()169 int phy_count; in cdns_pcie_init_phy() local176 phy_count = of_property_count_strings(np, "phy-names"); in cdns_pcie_init_phy()177 if (phy_count < 1) { in cdns_pcie_init_phy()179 pcie->phy_count = 0; in cdns_pcie_init_phy()183 phy = devm_kcalloc(dev, phy_count, sizeof(*phy), GFP_KERNEL); in cdns_pcie_init_phy()187 link = devm_kcalloc(dev, phy_count, sizeof(*link), GFP_KERNEL); in cdns_pcie_init_phy()191 for (i = 0; i < phy_count; i++) { in cdns_pcie_init_phy()206 pcie->phy_count = phy_count; in cdns_pcie_init_phy()
252 int phy_count; in cdns_pcie_host_probe() local344 phy_count = pcie->phy_count; in cdns_pcie_host_probe()345 while (phy_count--) in cdns_pcie_host_probe()346 device_link_del(pcie->link[phy_count]); in cdns_pcie_host_probe()
440 int phy_count; in cdns_pcie_ep_probe() local532 phy_count = pcie->phy_count; in cdns_pcie_ep_probe()533 while (phy_count--) in cdns_pcie_ep_probe()534 device_link_del(pcie->link[phy_count]); in cdns_pcie_ep_probe()
236 int phy_count; member
88 int phy_count; /* DT phy-names count */ member488 int phy_count = dra7xx->phy_count; in dra7xx_pcie_disable_phy() local490 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() local502 for (i = 0; i < phy_count; i++) { in dra7xx_pcie_enable_phy()593 int phy_count; in dra7xx_pcie_probe() local637 phy_count = of_property_count_strings(np, "phy-names"); in dra7xx_pcie_probe()638 if (phy_count < 0) { in dra7xx_pcie_probe()[all …]