Home
last modified time | relevance | path

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

/linux-4.4.14/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
484 for (index = 0; index < miphy_dev->nphys; index++) in miphy365x_xlate()
546 miphy_dev->nphys = of_get_child_count(np); in miphy365x_probe()
547 miphy_dev->phys = devm_kcalloc(&pdev->dev, miphy_dev->nphys, in miphy365x_probe()
Dphy-mt65xx-usb3.c126 int nphys; member
379 for (index = 0; index < u3phy->nphys; index++) in mt65xx_phy_xlate()
424 u3phy->nphys = of_get_child_count(np); in mt65xx_u3phy_probe()
425 u3phy->phys = devm_kcalloc(dev, u3phy->nphys, in mt65xx_u3phy_probe()
Dphy-miphy28lp.c231 int nphys; member
1115 for (index = 0; index < miphy_dev->nphys; index++) in miphy28lp_xlate()
1206 miphy_dev->nphys = of_get_child_count(np); in miphy28lp_probe()
1207 miphy_dev->phys = devm_kcalloc(&pdev->dev, miphy_dev->nphys, in miphy28lp_probe()