Lines Matching refs:phy_pdev
274 struct platform_device *phy_pdev; in xgbe_of_get_phy_pdev() local
281 phy_pdev = of_find_device_by_node(phy_node); in xgbe_of_get_phy_pdev()
289 phy_pdev = pdata->pdev; in xgbe_of_get_phy_pdev()
292 return phy_pdev; in xgbe_of_get_phy_pdev()
324 struct platform_device *phy_pdev; in xgbe_get_phy_pdev() local
328 phy_pdev = pdata->pdev; in xgbe_get_phy_pdev()
330 phy_pdev = xgbe_of_get_phy_pdev(pdata); in xgbe_get_phy_pdev()
333 return phy_pdev; in xgbe_get_phy_pdev()
341 struct platform_device *phy_pdev; in xgbe_probe() local
377 phy_pdev = xgbe_get_phy_pdev(pdata); in xgbe_probe()
378 if (!phy_pdev) { in xgbe_probe()
383 phy_dev = &phy_pdev->dev; in xgbe_probe()
385 if (pdev == phy_pdev) { in xgbe_probe()
439 res = platform_get_resource(phy_pdev, IORESOURCE_MEM, phy_memnum++); in xgbe_probe()
449 res = platform_get_resource(phy_pdev, IORESOURCE_MEM, phy_memnum++); in xgbe_probe()
459 res = platform_get_resource(phy_pdev, IORESOURCE_MEM, phy_memnum++); in xgbe_probe()
638 ret = platform_get_irq(phy_pdev, phy_irqnum++); in xgbe_probe()
780 platform_device_put(phy_pdev); in xgbe_probe()
795 platform_device_put(phy_pdev); in xgbe_probe()