Home
last modified time | relevance | path

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

/Linux-v5.4/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.c246 int phy_count; in cdns_pcie_host_probe() local
332 phy_count = pcie->phy_count; in cdns_pcie_host_probe()
333 while (phy_count--) in cdns_pcie_host_probe()
334 device_link_del(pcie->link[phy_count]); in cdns_pcie_host_probe()
Dpcie-cadence-ep.c442 int phy_count; in cdns_pcie_ep_probe() local
534 phy_count = pcie->phy_count; in cdns_pcie_ep_probe()
535 while (phy_count--) in cdns_pcie_ep_probe()
536 device_link_del(pcie->link[phy_count]); in cdns_pcie_ep_probe()
Dpcie-cadence.h236 int phy_count; member
/Linux-v5.4/drivers/pci/controller/dwc/
Dpci-dra7xx.c92 int phy_count; /* DT phy-names count */ member
507 int phy_count = dra7xx->phy_count; in dra7xx_pcie_disable_phy() local
509 while (phy_count--) { in dra7xx_pcie_disable_phy()
510 phy_power_off(dra7xx->phy[phy_count]); in dra7xx_pcie_disable_phy()
511 phy_exit(dra7xx->phy[phy_count]); in dra7xx_pcie_disable_phy()
517 int phy_count = dra7xx->phy_count; in dra7xx_pcie_enable_phy() local
521 for (i = 0; i < phy_count; i++) { in dra7xx_pcie_enable_phy()
680 int phy_count; in dra7xx_pcie_probe() local
726 phy_count = of_property_count_strings(np, "phy-names"); in dra7xx_pcie_probe()
727 if (phy_count < 0) { in dra7xx_pcie_probe()
[all …]
Dpcie-armada8k.c35 unsigned int phy_count; member
95 pcie->phy_count); in armada8k_pcie_enable_phys()
129 pcie->phy_count++; in armada8k_pcie_setup_phys()
133 if (!pcie->phy_count) in armada8k_pcie_setup_phys()
Dpcie-tegra194.c284 unsigned int phy_count; member
902 unsigned int phy_count = pcie->phy_count; in tegra_pcie_disable_phy() local
904 while (phy_count--) { in tegra_pcie_disable_phy()
905 phy_power_off(pcie->phys[phy_count]); in tegra_pcie_disable_phy()
906 phy_exit(pcie->phys[phy_count]); in tegra_pcie_disable_phy()
915 for (i = 0; i < pcie->phy_count; i++) { in tegra_pcie_enable_phy()
980 pcie->phy_count = ret; in tegra_pcie_dw_parse_dt()
1501 phys = devm_kcalloc(dev, pcie->phy_count, sizeof(*phys), GFP_KERNEL); in tegra_pcie_dw_probe()
1505 for (i = 0; i < pcie->phy_count; i++) { in tegra_pcie_dw_probe()
/Linux-v5.4/drivers/ata/
Dsata_highbank.c329 int phy_count = 0, phy, port = 0, i; in highbank_initialize_phys() local
343 for (phy = 0; phy < phy_count; phy++) { in highbank_initialize_phys()
353 phy_count += 1; in highbank_initialize_phys()
/Linux-v5.4/drivers/net/wireless/intel/iwlegacy/
D3945.h161 x->u.rx_frame.stats.phy_count))
D3945.c560 if ((unlikely(rx_stats->phy_count > 20))) { in il3945_hdl_rx()
562 rx_stats->phy_count); in il3945_hdl_rx()
Dcommands.h1163 u8 phy_count; member
/Linux-v5.4/drivers/scsi/isci/
Dport.c729 u32 phy_count = 0; in sci_port_is_wide() local
733 phy_count++; in sci_port_is_wide()
737 return phy_count != 1; in sci_port_is_wide()
/Linux-v5.4/drivers/scsi/
Dhpsa_cmd.h792 __le16 phy_count; member
/Linux-v5.4/drivers/scsi/smartpqi/
Dsmartpqi.h1282 __le16 phy_count; member
/Linux-v5.4/drivers/scsi/aacraid/
Daacraid.h360 u16 phy_count; member