Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/pci/controller/cadence/
Dpcie-cadence.c152 int i = pcie->phy_count; in cdns_pcie_disable_phy()
165 for (i = 0; i < pcie->phy_count; i++) { in cdns_pcie_enable_phy()
191 int phy_count; in cdns_pcie_init_phy() local
198 phy_count = of_property_count_strings(np, "phy-names"); in cdns_pcie_init_phy()
199 if (phy_count < 1) { in cdns_pcie_init_phy()
201 pcie->phy_count = 0; in cdns_pcie_init_phy()
205 phy = devm_kcalloc(dev, phy_count, sizeof(*phy), GFP_KERNEL); in cdns_pcie_init_phy()
209 link = devm_kcalloc(dev, phy_count, sizeof(*link), GFP_KERNEL); in cdns_pcie_init_phy()
213 for (i = 0; i < phy_count; i++) { in cdns_pcie_init_phy()
228 pcie->phy_count = phy_count; in cdns_pcie_init_phy()
Dpcie-cadence-plat.c48 int phy_count; in cdns_plat_pcie_probe() local
129 phy_count = cdns_plat_pcie->pcie->phy_count; in cdns_plat_pcie_probe()
130 while (phy_count--) in cdns_plat_pcie_probe()
131 device_link_del(cdns_plat_pcie->pcie->link[phy_count]); in cdns_plat_pcie_probe()
Dpcie-cadence.h308 int phy_count; member
/linux-6.12.1/drivers/pci/controller/dwc/
Dpci-dra7xx.c91 int phy_count; /* DT phy-names count */ member
525 int phy_count = dra7xx->phy_count; in dra7xx_pcie_disable_phy() local
527 while (phy_count--) { in dra7xx_pcie_disable_phy()
528 phy_power_off(dra7xx->phy[phy_count]); in dra7xx_pcie_disable_phy()
529 phy_exit(dra7xx->phy[phy_count]); in dra7xx_pcie_disable_phy()
535 int phy_count = dra7xx->phy_count; in dra7xx_pcie_enable_phy() local
539 for (i = 0; i < phy_count; i++) { in dra7xx_pcie_enable_phy()
699 int phy_count; in dra7xx_pcie_probe() local
739 phy_count = of_property_count_strings(np, "phy-names"); in dra7xx_pcie_probe()
740 if (phy_count < 0) { in dra7xx_pcie_probe()
[all …]
Dpcie-armada8k.c34 unsigned int phy_count; member
94 pcie->phy_count); in armada8k_pcie_enable_phys()
128 pcie->phy_count++; in armada8k_pcie_setup_phys()
132 if (!pcie->phy_count) in armada8k_pcie_setup_phys()
Dpcie-tegra194.c274 unsigned int phy_count; member
1057 unsigned int phy_count = pcie->phy_count; in tegra_pcie_disable_phy() local
1059 while (phy_count--) { in tegra_pcie_disable_phy()
1060 phy_power_off(pcie->phys[phy_count]); in tegra_pcie_disable_phy()
1061 phy_exit(pcie->phys[phy_count]); in tegra_pcie_disable_phy()
1070 for (i = 0; i < pcie->phy_count; i++) { in tegra_pcie_enable_phy()
1140 pcie->phy_count = ret; in tegra_pcie_dw_parse_dt()
2176 phys = devm_kcalloc(dev, pcie->phy_count, sizeof(*phys), GFP_KERNEL); in tegra_pcie_dw_probe()
2180 for (i = 0; i < pcie->phy_count; i++) { in tegra_pcie_dw_probe()
/linux-6.12.1/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.12.1/drivers/net/wireless/intel/iwlegacy/
D3945.h163 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.h1162 u8 phy_count;
/linux-6.12.1/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.12.1/drivers/scsi/
Dhpsa_cmd.h806 __le16 phy_count; member
/linux-6.12.1/drivers/usb/host/
Dxhci-tegra.c1328 unsigned int i, phy_count = 0; in tegra_xusb_get_phy() local
1333 return tegra->phys[phy_count+port]; in tegra_xusb_get_phy()
1335 phy_count += tegra->soc->phy_types[i].num; in tegra_xusb_get_phy()
/linux-6.12.1/drivers/scsi/smartpqi/
Dsmartpqi.h1549 __le16 phy_count; member
Dsmartpqi_init.c1679 id_phys->phy_count) in pqi_get_physical_device_info()
/linux-6.12.1/drivers/scsi/aacraid/
Daacraid.h363 u16 phy_count; member