Lines Matching defs:dev
47 struct device *dev;
50 dev = pdev->dev.parent ? pdev->dev.parent : &pdev->dev;
51 host = sdhci_alloc_host(dev, sizeof(*sdhci));
54 dev_dbg(&pdev->dev, "cannot allocate memory for sdhci\n");
61 dev_dbg(&pdev->dev, "unable to map iomem: %d\n", ret);
77 sdhci->clk = devm_clk_get(&pdev->dev, NULL);
80 dev_dbg(&pdev->dev, "Error getting clock\n");
86 dev_dbg(&pdev->dev, "Error enabling clock\n");
92 dev_dbg(&pdev->dev, "Error setting desired clk, clk=%lu\n",
116 dev_err(&pdev->dev, "spear-sdhci probe failed: %d\n", ret);
139 static int sdhci_suspend(struct device *dev)
141 struct sdhci_host *host = dev_get_drvdata(dev);
155 static int sdhci_resume(struct device *dev)
157 struct sdhci_host *host = dev_get_drvdata(dev);
163 dev_dbg(dev, "Resume: Error enabling clock\n");