Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/pci/controller/cadence/
Dpcie-cadence.c151 int i = pcie->phy_count; in cdns_pcie_disable_phy()
164 for (i = 0; i < pcie->phy_count; i++) { in cdns_pcie_enable_phy()
190 int phy_count; in cdns_pcie_init_phy() local
197 phy_count = of_property_count_strings(np, "phy-names"); in cdns_pcie_init_phy()
198 if (phy_count < 1) { in cdns_pcie_init_phy()
200 pcie->phy_count = 0; in cdns_pcie_init_phy()
204 phy = devm_kcalloc(dev, phy_count, sizeof(*phy), GFP_KERNEL); in cdns_pcie_init_phy()
208 link = devm_kcalloc(dev, phy_count, sizeof(*link), GFP_KERNEL); in cdns_pcie_init_phy()
212 for (i = 0; i < phy_count; i++) { in cdns_pcie_init_phy()
227 pcie->phy_count = phy_count; in cdns_pcie_init_phy()
Dpcie-cadence-plat.c52 int phy_count; in cdns_plat_pcie_probe() local
135 phy_count = cdns_plat_pcie->pcie->phy_count; in cdns_plat_pcie_probe()
136 while (phy_count--) in cdns_plat_pcie_probe()
137 device_link_del(cdns_plat_pcie->pcie->link[phy_count]); in cdns_plat_pcie_probe()
Dpcie-cadence.h302 int phy_count; member
/linux-6.1.9/drivers/pci/controller/dwc/
Dpci-dra7xx.c91 int phy_count; /* DT phy-names count */ member
516 int phy_count = dra7xx->phy_count; in dra7xx_pcie_disable_phy() local
518 while (phy_count--) { in dra7xx_pcie_disable_phy()
519 phy_power_off(dra7xx->phy[phy_count]); in dra7xx_pcie_disable_phy()
520 phy_exit(dra7xx->phy[phy_count]); in dra7xx_pcie_disable_phy()
526 int phy_count = dra7xx->phy_count; in dra7xx_pcie_enable_phy() local
530 for (i = 0; i < phy_count; i++) { in dra7xx_pcie_enable_phy()
690 int phy_count; in dra7xx_pcie_probe() local
730 phy_count = of_property_count_strings(np, "phy-names"); in dra7xx_pcie_probe()
731 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.c280 unsigned int phy_count; member
1053 unsigned int phy_count = pcie->phy_count; in tegra_pcie_disable_phy() local
1055 while (phy_count--) { in tegra_pcie_disable_phy()
1056 phy_power_off(pcie->phys[phy_count]); in tegra_pcie_disable_phy()
1057 phy_exit(pcie->phys[phy_count]); in tegra_pcie_disable_phy()
1066 for (i = 0; i < pcie->phy_count; i++) { in tegra_pcie_enable_phy()
1136 pcie->phy_count = ret; in tegra_pcie_dw_parse_dt()
2171 phys = devm_kcalloc(dev, pcie->phy_count, sizeof(*phys), GFP_KERNEL); in tegra_pcie_dw_probe()
2175 for (i = 0; i < pcie->phy_count; i++) { in tegra_pcie_dw_probe()
/linux-6.1.9/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-6.1.9/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-6.1.9/drivers/scsi/isci/
Dport.c732 u32 phy_count = 0; in sci_port_is_wide() local
736 phy_count++; in sci_port_is_wide()
740 return phy_count != 1; in sci_port_is_wide()
/linux-6.1.9/drivers/scsi/
Dhpsa_cmd.h806 __le16 phy_count; member
/linux-6.1.9/drivers/usb/host/
Dxhci-tegra.c1193 unsigned int i, phy_count = 0; in tegra_xusb_get_phy() local
1198 return tegra->phys[phy_count+port]; in tegra_xusb_get_phy()
1200 phy_count += tegra->soc->phy_types[i].num; in tegra_xusb_get_phy()
/linux-6.1.9/drivers/scsi/smartpqi/
Dsmartpqi.h1524 __le16 phy_count; member
Dsmartpqi_init.c1615 id_phys->phy_count) in pqi_get_physical_device_info()
/linux-6.1.9/drivers/scsi/aacraid/
Daacraid.h363 u16 phy_count; member