Lines Matching defs:of_dev
133 struct platform_device *of_dev;
137 of_dev = to_platform_device(dev);
142 of_dev_get(of_dev);
146 error = drv->probe(of_dev, match);
148 of_dev_put(of_dev);
155 struct platform_device *of_dev = to_platform_device(dev);
159 drv->remove(of_dev);
165 struct platform_device *of_dev = to_platform_device(dev);
169 drv->shutdown(of_dev);
176 struct platform_device *of_dev = to_platform_device(dev);
181 ret = drv->suspend(of_dev, mesg);
187 struct platform_device *of_dev = to_platform_device(dev);
192 ret = drv->resume(of_dev);