Lines Matching refs:ofdev
723 static int mpc52xx_gpt_probe(struct platform_device *ofdev) in mpc52xx_gpt_probe() argument
732 gpt->dev = &ofdev->dev; in mpc52xx_gpt_probe()
733 gpt->ipb_freq = mpc5xxx_get_bus_frequency(ofdev->dev.of_node); in mpc52xx_gpt_probe()
734 gpt->regs = of_iomap(ofdev->dev.of_node, 0); in mpc52xx_gpt_probe()
740 dev_set_drvdata(&ofdev->dev, gpt); in mpc52xx_gpt_probe()
742 mpc52xx_gpt_gpio_setup(gpt, ofdev->dev.of_node); in mpc52xx_gpt_probe()
743 mpc52xx_gpt_irq_setup(gpt, ofdev->dev.of_node); in mpc52xx_gpt_probe()
750 if (of_get_property(ofdev->dev.of_node, "fsl,has-wdt", NULL) || in mpc52xx_gpt_probe()
751 of_get_property(ofdev->dev.of_node, "has-wdt", NULL)) { in mpc52xx_gpt_probe()
755 on_boot_wdt = of_get_property(ofdev->dev.of_node, in mpc52xx_gpt_probe()
768 static int mpc52xx_gpt_remove(struct platform_device *ofdev) in mpc52xx_gpt_remove() argument