Home
last modified time | relevance | path

Searched refs:nphys (Results 1 – 6 of 6) 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/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
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/phy/mediatek/
H A Dphy-mtk-xsphy.c116 int nphys; member
469 for (index = 0; index < xsphy->nphys; index++) in mtk_phy_xlate()
524 xsphy->nphys = of_get_child_count(np); in mtk_xsphy_probe()
525 xsphy->phys = devm_kcalloc(dev, xsphy->nphys, in mtk_xsphy_probe()
H A Dphy-mtk-tphy.c344 int nphys; member
1467 for (index = 0; index < tphy->nphys; index++) in mtk_phy_xlate()
1584 tphy->nphys = of_get_child_count(np); in mtk_tphy_probe()
1585 tphy->phys = devm_kcalloc(dev, tphy->nphys, in mtk_tphy_probe()
/linux/drivers/scsi/
H A Dhpsa.c3803 u32 nphys; in hpsa_scsi_do_report_phys_luns() local
3807 nphys = be32_to_cpu(*((__be32 *)lbuf->LUNListLength)) / 8; in hpsa_scsi_do_report_phys_luns()
3808 for (i = 0; i < nphys; i++) in hpsa_scsi_do_report_phys_luns()