Home
last modified time | relevance | path

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

/Linux-v6.1/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-v6.1/drivers/phy/st/
Dphy-stm32-usbphyc.c150 int nphys; member
580 for (port = 0; port < usbphyc->nphys; port++) { in stm32_usbphyc_of_xlate()
667 usbphyc->nphys = of_get_child_count(np); in stm32_usbphyc_probe()
668 usbphyc->phys = devm_kcalloc(dev, usbphyc->nphys, in stm32_usbphyc_probe()
711 if (ret || index > usbphyc->nphys) { in stm32_usbphyc_probe()
775 for (port = 0; port < usbphyc->nphys; port++) in stm32_usbphyc_remove()
795 for (port = 0; port < usbphyc->nphys; port++) { in stm32_usbphyc_resume()
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-v6.1/drivers/phy/mediatek/
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()
Dphy-mtk-tphy.c334 int nphys; member
1103 for (index = 0; index < tphy->nphys; index++) in mtk_phy_xlate()
1214 tphy->nphys = of_get_child_count(np); in mtk_tphy_probe()
1215 tphy->phys = devm_kcalloc(dev, tphy->nphys, in mtk_tphy_probe()
/Linux-v6.1/drivers/scsi/
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()