Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/phy/
Dphy-berlin-sata.c64 unsigned nphys; member
165 if (WARN_ON(args->args[0] >= priv->nphys)) in phy_berlin_sata_phy_xlate()
168 for (i = 0; i < priv->nphys; i++) { in phy_berlin_sata_phy_xlate()
173 if (i == priv->nphys) in phy_berlin_sata_phy_xlate()
217 priv->nphys = of_get_child_count(dev->of_node); in phy_berlin_sata_probe()
218 if (priv->nphys == 0) in phy_berlin_sata_probe()
221 priv->phys = devm_kcalloc(dev, priv->nphys, sizeof(*priv->phys), in phy_berlin_sata_probe()
Dphy-miphy365x.c153 int nphys; member
489 for (index = 0; index < miphy_dev->nphys; index++) in miphy365x_xlate()
551 miphy_dev->nphys = of_get_child_count(np); in miphy365x_probe()
552 miphy_dev->phys = devm_kcalloc(&pdev->dev, miphy_dev->nphys, in miphy365x_probe()
Dphy-miphy28lp.c231 int nphys; member
1120 for (index = 0; index < miphy_dev->nphys; index++) in miphy28lp_xlate()
1211 miphy_dev->nphys = of_get_child_count(np); in miphy28lp_probe()
1212 miphy_dev->phys = devm_kcalloc(&pdev->dev, miphy_dev->nphys, in miphy28lp_probe()