• Home
  • Raw
  • Download

Lines Matching refs:device

85 	int (*match)(struct device *dev, const struct device_driver *drv);
86 int (*uevent)(const struct device *dev, struct kobj_uevent_env *env);
87 int (*probe)(struct device *dev);
88 void (*sync_state)(struct device *dev);
89 void (*remove)(struct device *dev);
90 void (*shutdown)(struct device *dev);
92 int (*online)(struct device *dev);
93 int (*offline)(struct device *dev);
95 int (*suspend)(struct device *dev, pm_message_t state);
96 int (*resume)(struct device *dev);
98 int (*num_vf)(struct device *dev);
100 int (*dma_configure)(struct device *dev);
101 void (*dma_cleanup)(struct device *dev);
136 typedef int (*device_match_t)(struct device *dev, const void *data);
139 int device_match_name(struct device *dev, const void *name);
140 int device_match_of_node(struct device *dev, const void *np);
141 int device_match_fwnode(struct device *dev, const void *fwnode);
142 int device_match_devt(struct device *dev, const void *pdevt);
143 int device_match_acpi_dev(struct device *dev, const void *adev);
144 int device_match_acpi_handle(struct device *dev, const void *handle);
145 int device_match_any(struct device *dev, const void *unused);
148 int bus_for_each_dev(const struct bus_type *bus, struct device *start, void *data,
149 int (*fn)(struct device *dev, void *data));
150 struct device *bus_find_device(const struct bus_type *bus, struct device *start,
159 static inline struct device *bus_find_device_by_name(const struct bus_type *bus, in bus_find_device_by_name()
160 struct device *start, in bus_find_device_by_name()
172 static inline struct device *
184 static inline struct device *
196 static inline struct device *bus_find_device_by_devt(const struct bus_type *bus, in bus_find_device_by_devt()
208 static inline struct device *
209 bus_find_next_device(const struct bus_type *bus,struct device *cur) in bus_find_next_device()
223 static inline struct device *
229 static inline struct device *
239 int (*compare)(const struct device *a,
240 const struct device *b));
283 struct device *bus_get_dev_root(const struct bus_type *bus);