Lines Matching defs:of_dev
45 struct of_device * of_dev = to_of_device(dev);
52 return of_match_device(matches, of_dev) != NULL;
79 struct of_device *of_dev;
83 of_dev = to_of_device(dev);
88 of_dev_get(of_dev);
90 match = of_match_device(drv->match_table, of_dev);
92 error = drv->probe(of_dev, match);
94 of_dev_put(of_dev);
101 struct of_device * of_dev = to_of_device(dev);
105 drv->remove(of_dev);
111 struct of_device * of_dev = to_of_device(dev);
116 error = drv->suspend(of_dev, state);
122 struct of_device * of_dev = to_of_device(dev);
127 error = drv->resume(of_dev);