Home
last modified time | relevance | path

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

/openbmc/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()
/openbmc/linux/drivers/phy/st/
H A Dphy-stm32-usbphyc.c151 int nphys; member
584 for (port = 0; port < usbphyc->nphys; port++) { in stm32_usbphyc_of_xlate()
671 usbphyc->nphys = of_get_child_count(np); in stm32_usbphyc_probe()
672 usbphyc->phys = devm_kcalloc(dev, usbphyc->nphys, in stm32_usbphyc_probe()
715 if (ret || index > usbphyc->nphys) { in stm32_usbphyc_probe()
779 for (port = 0; port < usbphyc->nphys; port++) in stm32_usbphyc_remove()
797 for (port = 0; port < usbphyc->nphys; port++) { in stm32_usbphyc_resume()
H A Dphy-miphy28lp.c228 int nphys; member
1089 for (index = 0; index < miphy_dev->nphys; index++) in miphy28lp_xlate()
1181 miphy_dev->nphys = of_get_child_count(np); in miphy28lp_probe()
1182 miphy_dev->phys = devm_kcalloc(&pdev->dev, miphy_dev->nphys, in miphy28lp_probe()
/openbmc/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()
446 xsphy->nphys = of_get_child_count(np); in mtk_xsphy_probe()
447 xsphy->phys = devm_kcalloc(dev, xsphy->nphys, in mtk_xsphy_probe()
H A Dphy-mtk-tphy.c337 int nphys; member
1458 for (index = 0; index < tphy->nphys; index++) in mtk_phy_xlate()
1570 tphy->nphys = of_get_child_count(np); in mtk_tphy_probe()
1571 tphy->phys = devm_kcalloc(dev, tphy->nphys, in mtk_tphy_probe()
/openbmc/linux/drivers/scsi/
H A Dhpsa.c3809 u32 nphys; in hpsa_scsi_do_report_phys_luns() local
3813 nphys = be32_to_cpu(*((__be32 *)lbuf->LUNListLength)) / 8; in hpsa_scsi_do_report_phys_luns()
3814 for (i = 0; i < nphys; i++) in hpsa_scsi_do_report_phys_luns()