Home
last modified time | relevance | path

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

/linux/drivers/phy/marvell/
H A Dphy-berlin-sata.c62 unsigned nphys; member
163 if (WARN_ON(args->args[0] >= priv->nphys)) in phy_berlin_sata_phy_xlate()
166 for (i = 0; i < priv->nphys; i++) { in phy_berlin_sata_phy_xlate()
171 if (i == priv->nphys) in phy_berlin_sata_phy_xlate()
215 priv->nphys = of_get_child_count(dev->of_node); in phy_berlin_sata_probe()
216 if (priv->nphys == 0) in phy_berlin_sata_probe()
219 priv->phys = devm_kcalloc(dev, priv->nphys, sizeof(*priv->phys), in phy_berlin_sata_probe()
/linux/drivers/phy/mediatek/
H A Dphy-mtk-xsphy.c104 int nphys; member
393 for (index = 0; index < xsphy->nphys; index++) in mtk_phy_xlate()
445 xsphy->nphys = of_get_child_count(np); in mtk_xsphy_probe()
446 xsphy->phys = devm_kcalloc(dev, xsphy->nphys, in mtk_xsphy_probe()
H A Dphy-mtk-tphy.c342 int nphys; member
1463 for (index = 0; index < tphy->nphys; index++) in mtk_phy_set_mode()
1574 tphy->nphys = of_get_child_count(np);
1575 tphy->phys = devm_kcalloc(dev, tphy->nphys,
/linux/drivers/phy/st/
H A Dphy-miphy28lp.c228 int nphys; member
1084 for (index = 0; index < miphy_dev->nphys; index++) in miphy28lp_xlate()
1176 miphy_dev->nphys = of_get_child_count(np); in miphy28lp_probe()
1177 miphy_dev->phys = devm_kcalloc(&pdev->dev, miphy_dev->nphys, in miphy28lp_probe()
/linux/drivers/scsi/
H A Dhpsa.c3811 u32 nphys; in hpsa_scsi_do_report_phys_luns() local
3815 nphys = be32_to_cpu(*((__be32 *)lbuf->LUNListLength)) / 8; in hpsa_scsi_do_report_phys_luns()
3816 for (i = 0; i < nphys; i++) in hpsa_scsi_do_report_phys_luns()