Lines Matching defs:ofdev
723 static int __devinit mpc52xx_gpt_probe(struct platform_device *ofdev,
733 gpt->dev = &ofdev->dev;
734 gpt->ipb_freq = mpc5xxx_get_bus_frequency(ofdev->dev.of_node);
735 gpt->regs = of_iomap(ofdev->dev.of_node, 0);
741 dev_set_drvdata(&ofdev->dev, gpt);
743 mpc52xx_gpt_gpio_setup(gpt, ofdev->dev.of_node);
744 mpc52xx_gpt_irq_setup(gpt, ofdev->dev.of_node);
751 if (of_get_property(ofdev->dev.of_node, "fsl,has-wdt", NULL) ||
752 of_get_property(ofdev->dev.of_node, "has-wdt", NULL)) {
756 on_boot_wdt = of_get_property(ofdev->dev.of_node,
769 static int mpc52xx_gpt_remove(struct platform_device *ofdev)