Lines Matching refs:of_device
16 * The of_device is a kind of "base class" that is a superset of
20 struct of_device
34 #define to_of_device(d) container_of(d, struct of_device, dev)
39 extern struct of_device *of_find_device_by_node(struct device_node *);
42 const struct of_device_id *matches, const struct of_device *dev);
44 extern struct of_device *of_dev_get(struct of_device *dev);
45 extern void of_dev_put(struct of_device *dev);
48 * An of_platform_driver driver is attached to a basic of_device on
57 int (*probe)(struct of_device* dev, const struct of_device_id *match);
58 int (*remove)(struct of_device* dev);
60 int (*suspend)(struct of_device* dev, pm_message_t state);
61 int (*resume)(struct of_device* dev);
62 int (*shutdown)(struct of_device* dev);
71 extern int of_device_register(struct of_device *ofdev);
72 extern void of_device_unregister(struct of_device *ofdev);
73 extern struct of_device *of_platform_device_create(struct device_node *np,