Lines Matching refs:pldev
307 static int sbmac_init(struct platform_device *pldev, long long base);
2201 static int sbmac_init(struct platform_device *pldev, long long base) in sbmac_init() argument
2203 struct net_device *dev = dev_get_drvdata(&pldev->dev); in sbmac_init()
2204 int idx = pldev->id; in sbmac_init()
2263 pldev->name, idx); in sbmac_init()
2271 sc->mii_bus->parent = &pldev->dev; in sbmac_init()
2281 dev_set_drvdata(&pldev->dev, sc->mii_bus); in sbmac_init()
2306 dev_set_drvdata(&pldev->dev, NULL); in sbmac_init()
2589 static int __devinit sbmac_probe(struct platform_device *pldev) in sbmac_probe() argument
2598 res = platform_get_resource(pldev, IORESOURCE_MEM, 0); in sbmac_probe()
2603 dev_name(&pldev->dev)); in sbmac_probe()
2614 pr_debug("%s: %sconfiguring MAC at 0x%08Lx\n", dev_name(&pldev->dev), in sbmac_probe()
2630 dev_set_drvdata(&pldev->dev, dev); in sbmac_probe()
2631 SET_NETDEV_DEV(dev, &pldev->dev); in sbmac_probe()
2636 err = sbmac_init(pldev, res->start); in sbmac_probe()
2653 static int __exit sbmac_remove(struct platform_device *pldev) in sbmac_remove() argument
2655 struct net_device *dev = dev_get_drvdata(&pldev->dev); in sbmac_remove()