Lines Matching refs:bus
113 int __must_check bus_register(const struct bus_type *bus);
115 void bus_unregister(const struct bus_type *bus);
117 int __must_check bus_rescan_devices(const struct bus_type *bus);
121 ssize_t (*show)(const struct bus_type *bus, char *buf);
122 ssize_t (*store)(const struct bus_type *bus, const char *buf, size_t count);
132 int __must_check bus_create_file(const struct bus_type *bus, struct bus_attribute *attr);
133 void bus_remove_file(const struct bus_type *bus, struct bus_attribute *attr);
148 int bus_for_each_dev(const struct bus_type *bus, struct device *start, 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() argument
163 return bus_find_device(bus, start, name, device_match_name); in bus_find_device_by_name()
173 bus_find_device_by_of_node(const struct bus_type *bus, const struct device_node *np) in bus_find_device_by_of_node() argument
175 return bus_find_device(bus, NULL, np, device_match_of_node); in bus_find_device_by_of_node()
185 bus_find_device_by_fwnode(const struct bus_type *bus, const struct fwnode_handle *fwnode) in bus_find_device_by_fwnode() argument
187 return bus_find_device(bus, NULL, fwnode, device_match_fwnode); in bus_find_device_by_fwnode()
196 static inline struct device *bus_find_device_by_devt(const struct bus_type *bus, in bus_find_device_by_devt() argument
199 return bus_find_device(bus, NULL, &devt, device_match_devt); in bus_find_device_by_devt()
209 bus_find_next_device(const struct bus_type *bus,struct device *cur) in bus_find_next_device() argument
211 return bus_find_device(bus, cur, NULL, device_match_any); in bus_find_next_device()
224 bus_find_device_by_acpi_dev(const struct bus_type *bus, const struct acpi_device *adev) in bus_find_device_by_acpi_dev() argument
226 return bus_find_device(bus, NULL, adev, device_match_acpi_dev); in bus_find_device_by_acpi_dev()
230 bus_find_device_by_acpi_dev(const struct bus_type *bus, const void *adev) in bus_find_device_by_acpi_dev() argument
236 int bus_for_each_drv(const struct bus_type *bus, struct device_driver *start,
238 void bus_sort_breadthfirst(const struct bus_type *bus,
249 int bus_register_notifier(const struct bus_type *bus, struct notifier_block *nb);
250 int bus_unregister_notifier(const struct bus_type *bus, struct notifier_block *nb);
282 struct kset *bus_get_kset(const struct bus_type *bus);
283 struct device *bus_get_dev_root(const struct bus_type *bus);