Home
last modified time | relevance | path

Searched refs:nphys (Results 1 – 7 of 7) sorted by relevance

/Linux-v5.4/drivers/phy/marvell/
Dphy-berlin-sata.c61 unsigned nphys; member
162 if (WARN_ON(args->args[0] >= priv->nphys)) in phy_berlin_sata_phy_xlate()
165 for (i = 0; i < priv->nphys; i++) { in phy_berlin_sata_phy_xlate()
170 if (i == priv->nphys) in phy_berlin_sata_phy_xlate()
214 priv->nphys = of_get_child_count(dev->of_node); in phy_berlin_sata_probe()
215 if (priv->nphys == 0) in phy_berlin_sata_probe()
218 priv->phys = devm_kcalloc(dev, priv->nphys, sizeof(*priv->phys), in phy_berlin_sata_probe()
/Linux-v5.4/drivers/phy/st/
Dphy-stm32-usbphyc.c72 int nphys; member
149 for (i = 0; i < usbphyc->nphys; i++) in stm32_usbphyc_has_one_phy_active()
276 for (port = 0; port < usbphyc->nphys; port++) { in stm32_usbphyc_of_xlate()
351 usbphyc->nphys = of_get_child_count(np); in stm32_usbphyc_probe()
352 usbphyc->phys = devm_kcalloc(dev, usbphyc->nphys, in stm32_usbphyc_probe()
394 if (ret || index > usbphyc->nphys) { in stm32_usbphyc_probe()
Dphy-miphy28lp.c227 int nphys; member
1111 for (index = 0; index < miphy_dev->nphys; index++) in miphy28lp_xlate()
1203 miphy_dev->nphys = of_get_child_count(np); in miphy28lp_probe()
1204 miphy_dev->phys = devm_kcalloc(&pdev->dev, miphy_dev->nphys, in miphy28lp_probe()
/Linux-v5.4/drivers/staging/mt7621-pci-phy/
Dpci-mt7621-phy.c105 int nphys; member
335 phy->nphys = MAX_PHYS; in mt7621_pci_phy_probe()
336 phy->phys = devm_kcalloc(dev, phy->nphys, in mt7621_pci_phy_probe()
/Linux-v5.4/drivers/phy/mediatek/
Dphy-mtk-xsphy.c111 int nphys; member
453 for (index = 0; index < xsphy->nphys; index++) in mtk_phy_xlate()
506 xsphy->nphys = of_get_child_count(np); in mtk_xsphy_probe()
507 xsphy->phys = devm_kcalloc(dev, xsphy->nphys, in mtk_xsphy_probe()
Dphy-mtk-tphy.c313 int nphys; member
998 for (index = 0; index < tphy->nphys; index++) in mtk_phy_xlate()
1085 tphy->nphys = of_get_child_count(np); in mtk_tphy_probe()
1086 tphy->phys = devm_kcalloc(dev, tphy->nphys, in mtk_tphy_probe()
/Linux-v5.4/drivers/scsi/
Dhpsa.c3779 u32 nphys; in hpsa_scsi_do_report_phys_luns() local
3783 nphys = be32_to_cpu(*((__be32 *)lbuf->LUNListLength)) / 8; in hpsa_scsi_do_report_phys_luns()
3784 for (i = 0; i < nphys; i++) in hpsa_scsi_do_report_phys_luns()