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;
2223 pldev->name, idx);
2228 sc->mii_bus->parent = &pldev->dev;
2238 platform_set_drvdata(pldev, sc->mii_bus);
2529 static int sbmac_probe(struct platform_device *pldev)
2538 res = platform_get_resource(pldev, IORESOURCE_MEM, 0);
2543 dev_name(&pldev->dev));
2554 pr_debug("%s: %sconfiguring MAC at 0x%08Lx\n", dev_name(&pldev->dev),
2570 platform_set_drvdata(pldev, dev);
2571 SET_NETDEV_DEV(dev, &pldev->dev);
2576 err = sbmac_init(pldev, res->start);
2593 static int sbmac_remove(struct platform_device *pldev)
2595 struct net_device *dev = platform_get_drvdata(pldev);