Lines Matching defs:pldev
291 static int sbmac_init(struct platform_device *pldev, long long base);
2159 static int sbmac_init(struct platform_device *pldev, long long base)
2161 struct net_device *dev = platform_get_drvdata(pldev);
2162 int idx = pldev->id;
2221 pldev->name, idx);
2226 sc->mii_bus->parent = &pldev->dev;
2236 platform_set_drvdata(pldev, sc->mii_bus);
2527 static int sbmac_probe(struct platform_device *pldev)
2536 res = platform_get_resource(pldev, IORESOURCE_MEM, 0);
2539 dev_name(&pldev->dev));
2546 dev_name(&pldev->dev));
2557 pr_debug("%s: %sconfiguring MAC at 0x%08Lx\n", dev_name(&pldev->dev),
2573 platform_set_drvdata(pldev, dev);
2574 SET_NETDEV_DEV(dev, &pldev->dev);
2579 err = sbmac_init(pldev, res->start);
2596 static int sbmac_remove(struct platform_device *pldev)
2598 struct net_device *dev = platform_get_drvdata(pldev);