Lines Matching refs:pldev
307 static int sbmac_init(struct platform_device *pldev, long long base);
2193 static int sbmac_init(struct platform_device *pldev, long long base)
2195 struct net_device *dev = dev_get_drvdata(&pldev->dev);
2196 int idx = pldev->id;
2262 sc->mii_bus->parent = &pldev->dev;
2272 dev_set_drvdata(&pldev->dev, sc->mii_bus);
2297 dev_set_drvdata(&pldev->dev, NULL);
2580 static int __devinit sbmac_probe(struct platform_device *pldev)
2589 res = platform_get_resource(pldev, IORESOURCE_MEM, 0);
2594 dev_name(&pldev->dev));
2605 pr_debug("%s: %sconfiguring MAC at 0x%08Lx\n", dev_name(&pldev->dev),
2618 dev_name(&pldev->dev));
2623 dev_set_drvdata(&pldev->dev, dev);
2624 SET_NETDEV_DEV(dev, &pldev->dev);
2629 err = sbmac_init(pldev, res->start);
2646 static int __exit sbmac_remove(struct platform_device *pldev)
2648 struct net_device *dev = dev_get_drvdata(&pldev->dev);