Lines Matching refs:device
8 struct device;
23 int (*bind)(struct device *comp, struct device *master,
32 void (*unbind)(struct device *comp, struct device *master,
36 int component_add(struct device *, const struct component_ops *);
37 int component_add_typed(struct device *dev, const struct component_ops *ops,
39 void component_del(struct device *, const struct component_ops *);
41 int component_bind_all(struct device *parent, void *data);
42 void component_unbind_all(struct device *parent, void *data);
70 * any of the underlying &struct device instances. Therefore devm cannot
74 int (*bind)(struct device *master);
82 void (*unbind)(struct device *master);
86 int component_compare_of(struct device *dev, void *data);
87 void component_release_of(struct device *dev, void *data);
88 int component_compare_dev(struct device *dev, void *data);
89 int component_compare_dev_name(struct device *dev, void *data);
91 void component_master_del(struct device *,
96 int component_master_add_with_match(struct device *,
98 void component_match_add_release(struct device *parent,
100 void (*release)(struct device *, void *),
101 int (*compare)(struct device *, void *), void *compare_data);
102 void component_match_add_typed(struct device *parent,
104 int (*compare_typed)(struct device *, int, void *), void *compare_data);
108 * @parent: device with the aggregate driver
123 static inline void component_match_add(struct device *parent,
125 int (*compare)(struct device *, void *), void *compare_data)