Lines Matching refs:bus
122 extern int __must_check bus_register(struct bus_type *bus);
124 extern void bus_unregister(struct bus_type *bus);
126 extern int __must_check bus_rescan_devices(struct bus_type *bus);
130 ssize_t (*show)(struct bus_type *bus, char *buf);
131 ssize_t (*store)(struct bus_type *bus, const char *buf, size_t count);
165 int bus_for_each_dev(struct bus_type *bus, struct device *start, void *data,
167 struct device *bus_find_device(struct bus_type *bus, struct device *start,
177 static inline struct device *bus_find_device_by_name(struct bus_type *bus, in bus_find_device_by_name() argument
181 return bus_find_device(bus, start, name, device_match_name); in bus_find_device_by_name()
191 bus_find_device_by_of_node(struct bus_type *bus, const struct device_node *np) in bus_find_device_by_of_node() argument
193 return bus_find_device(bus, NULL, np, device_match_of_node); in bus_find_device_by_of_node()
203 bus_find_device_by_fwnode(struct bus_type *bus, const struct fwnode_handle *fwnode) in bus_find_device_by_fwnode() argument
205 return bus_find_device(bus, NULL, fwnode, device_match_fwnode); in bus_find_device_by_fwnode()
214 static inline struct device *bus_find_device_by_devt(struct bus_type *bus, in bus_find_device_by_devt() argument
217 return bus_find_device(bus, NULL, &devt, device_match_devt); in bus_find_device_by_devt()
227 bus_find_next_device(struct bus_type *bus,struct device *cur) in bus_find_next_device() argument
229 return bus_find_device(bus, cur, NULL, device_match_any); in bus_find_next_device()
242 bus_find_device_by_acpi_dev(struct bus_type *bus, const struct acpi_device *adev) in bus_find_device_by_acpi_dev() argument
244 return bus_find_device(bus, NULL, adev, device_match_acpi_dev); in bus_find_device_by_acpi_dev()
248 bus_find_device_by_acpi_dev(struct bus_type *bus, const void *adev) in bus_find_device_by_acpi_dev() argument
254 struct device *subsys_find_device_by_id(struct bus_type *bus, unsigned int id,
256 int bus_for_each_drv(struct bus_type *bus, struct device_driver *start,
258 void bus_sort_breadthfirst(struct bus_type *bus,
269 extern int bus_register_notifier(struct bus_type *bus,
271 extern int bus_unregister_notifier(struct bus_type *bus,
290 extern struct kset *bus_get_kset(struct bus_type *bus);
291 extern struct klist *bus_get_device_klist(struct bus_type *bus);