Lines Matching defs:of_dev
66 struct of_device * of_dev = to_of_device(dev);
73 return of_match_device(matches, of_dev) != NULL;
80 struct of_device *of_dev;
84 of_dev = to_of_device(dev);
89 of_dev_get(of_dev);
91 match = of_match_device(drv->match_table, of_dev);
93 error = drv->probe(of_dev, match);
95 of_dev_put(of_dev);
102 struct of_device * of_dev = to_of_device(dev);
106 drv->remove(of_dev);
112 struct of_device * of_dev = to_of_device(dev);
117 error = drv->suspend(of_dev, state);
123 struct of_device * of_dev = to_of_device(dev);
128 error = drv->resume(of_dev);