Home
last modified time | relevance | path

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

/openbmc/linux/drivers/pci/controller/cadence/
H A 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()
H A Dpcie-cadence-plat.c51 int phy_count; in cdns_plat_pcie_probe() local
134 phy_count = cdns_plat_pcie->pcie->phy_count; in cdns_plat_pcie_probe()
135 while (phy_count--) in cdns_plat_pcie_probe()
136 device_link_del(cdns_plat_pcie->pcie->link[phy_count]); in cdns_plat_pcie_probe()
H A Dpcie-cadence.h302 int phy_count; member
/openbmc/linux/drivers/pci/controller/dwc/
H A 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 …]
H A 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()
H A Dpcie-tegra194.c281 unsigned int phy_count; member
1070 unsigned int phy_count = pcie->phy_count; in tegra_pcie_disable_phy() local
1072 while (phy_count--) { in tegra_pcie_disable_phy()
1073 phy_power_off(pcie->phys[phy_count]); in tegra_pcie_disable_phy()
1074 phy_exit(pcie->phys[phy_count]); in tegra_pcie_disable_phy()
1083 for (i = 0; i < pcie->phy_count; i++) { in tegra_pcie_enable_phy()
1153 pcie->phy_count = ret; in tegra_pcie_dw_parse_dt()
2183 phys = devm_kcalloc(dev, pcie->phy_count, sizeof(*phys), GFP_KERNEL); in tegra_pcie_dw_probe()
2187 for (i = 0; i < pcie->phy_count; i++) { in tegra_pcie_dw_probe()
/openbmc/linux/drivers/ata/
H A 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()
354 phy_count += 1; in highbank_initialize_phys()
/openbmc/linux/drivers/net/wireless/intel/iwlegacy/
H A D3945.h161 x->u.rx_frame.stats.phy_count))
H A D3945.c560 if ((unlikely(rx_stats->phy_count > 20))) { in il3945_hdl_rx()
562 rx_stats->phy_count); in il3945_hdl_rx()
H A Dcommands.h1163 u8 phy_count; member
/openbmc/linux/drivers/scsi/isci/
H A 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()
/openbmc/linux/drivers/scsi/
H A Dhpsa_cmd.h806 __le16 phy_count; member
/openbmc/linux/drivers/usb/host/
H A 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()
/openbmc/linux/drivers/scsi/smartpqi/
H A Dsmartpqi.h1534 __le16 phy_count; member
H A Dsmartpqi_init.c1674 id_phys->phy_count) in pqi_get_physical_device_info()
/openbmc/linux/drivers/scsi/aacraid/
H A Daacraid.h363 u16 phy_count; member