Home
last modified time | relevance | path

Searched refs:phy_count (Results 1 – 5 of 5) sorted by relevance

/linux-4.19.296/drivers/pci/controller/
Dpcie-cadence.c130 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() local
176 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()
Dpcie-cadence-host.c252 int phy_count; in cdns_pcie_host_probe() local
344 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()
Dpcie-cadence-ep.c440 int phy_count; in cdns_pcie_ep_probe() local
532 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()
Dpcie-cadence.h236 int phy_count; member
/linux-4.19.296/drivers/pci/controller/dwc/
Dpci-dra7xx.c88 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()
[all …]