Lines Matching defs:ofdev
88 static int sdhci_of_suspend(struct platform_device *ofdev, pm_message_t state)
90 struct sdhci_host *host = dev_get_drvdata(&ofdev->dev);
95 static int sdhci_of_resume(struct platform_device *ofdev)
97 struct sdhci_host *host = dev_get_drvdata(&ofdev->dev);
118 static int __devinit sdhci_of_probe(struct platform_device *ofdev,
121 struct device_node *np = ofdev->dev.of_node;
132 host = sdhci_alloc_host(&ofdev->dev, sizeof(*of_host));
137 dev_set_drvdata(&ofdev->dev, host);
151 host->hw_name = dev_name(&ofdev->dev);
186 static int __devexit sdhci_of_remove(struct platform_device *ofdev)
188 struct sdhci_host *host = dev_get_drvdata(&ofdev->dev);