Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/pci/controller/cadence/
Dpcie-cadence.c135 int i = pcie->phy_count; in cdns_pcie_disable_phy()
148 for (i = 0; i < pcie->phy_count; i++) { in cdns_pcie_enable_phy()
174 int phy_count; in cdns_pcie_init_phy() local
181 phy_count = of_property_count_strings(np, "phy-names"); in cdns_pcie_init_phy()
182 if (phy_count < 1) { in cdns_pcie_init_phy()
184 pcie->phy_count = 0; in cdns_pcie_init_phy()
188 phy = devm_kcalloc(dev, phy_count, sizeof(*phy), GFP_KERNEL); in cdns_pcie_init_phy()
192 link = devm_kcalloc(dev, phy_count, sizeof(*link), GFP_KERNEL); in cdns_pcie_init_phy()
196 for (i = 0; i < phy_count; i++) { in cdns_pcie_init_phy()
211 pcie->phy_count = phy_count; in cdns_pcie_init_phy()
Dpcie-cadence-plat.c53 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.h275 int phy_count; member
/Linux-v5.10/drivers/pci/controller/dwc/
Dpci-dra7xx.c90 int phy_count; /* DT phy-names count */ member
653 int phy_count = dra7xx->phy_count; in dra7xx_pcie_disable_phy() local
655 while (phy_count--) { in dra7xx_pcie_disable_phy()
656 phy_power_off(dra7xx->phy[phy_count]); in dra7xx_pcie_disable_phy()
657 phy_exit(dra7xx->phy[phy_count]); in dra7xx_pcie_disable_phy()
663 int phy_count = dra7xx->phy_count; in dra7xx_pcie_enable_phy() local
667 for (i = 0; i < phy_count; i++) { in dra7xx_pcie_enable_phy()
826 int phy_count; in dra7xx_pcie_probe() local
868 phy_count = of_property_count_strings(np, "phy-names"); in dra7xx_pcie_probe()
869 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.c298 unsigned int phy_count; member
1027 unsigned int phy_count = pcie->phy_count; in tegra_pcie_disable_phy() local
1029 while (phy_count--) { in tegra_pcie_disable_phy()
1030 phy_power_off(pcie->phys[phy_count]); in tegra_pcie_disable_phy()
1031 phy_exit(pcie->phys[phy_count]); in tegra_pcie_disable_phy()
1040 for (i = 0; i < pcie->phy_count; i++) { in tegra_pcie_enable_phy()
1103 pcie->phy_count = ret; in tegra_pcie_dw_parse_dt()
2072 phys = devm_kcalloc(dev, pcie->phy_count, sizeof(*phys), GFP_KERNEL); in tegra_pcie_dw_probe()
2076 for (i = 0; i < pcie->phy_count; i++) { in tegra_pcie_dw_probe()
/Linux-v5.10/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.10/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.10/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.10/drivers/usb/host/
Dxhci-tegra.c1136 unsigned int i, phy_count = 0; in tegra_xusb_get_phy() local
1141 return tegra->phys[phy_count+port]; in tegra_xusb_get_phy()
1143 phy_count += tegra->soc->phy_types[i].num; in tegra_xusb_get_phy()
/Linux-v5.10/drivers/scsi/
Dhpsa_cmd.h793 __le16 phy_count; member
/Linux-v5.10/drivers/scsi/smartpqi/
Dsmartpqi.h1294 __le16 phy_count; member
/Linux-v5.10/drivers/scsi/aacraid/
Daacraid.h362 u16 phy_count; member