Lines Matching defs:bus
39 static struct bus_type *bus_get(struct bus_type *bus) in bus_get()
48 static void bus_put(struct bus_type *bus) in bus_put()
128 int bus_create_file(struct bus_type *bus, struct bus_attribute *attr) in bus_create_file()
140 void bus_remove_file(struct bus_type *bus, struct bus_attribute *attr) in bus_remove_file()
153 struct bus_type *bus = priv->bus; in bus_release() local
183 struct bus_type *bus = bus_get(drv->bus); in unbind_store() local
210 struct bus_type *bus = bus_get(drv->bus); in bind_store() local
238 static ssize_t show_drivers_autoprobe(struct bus_type *bus, char *buf) in show_drivers_autoprobe()
243 static ssize_t store_drivers_autoprobe(struct bus_type *bus, in store_drivers_autoprobe()
253 static ssize_t store_drivers_probe(struct bus_type *bus, in store_drivers_probe()
300 int bus_for_each_dev(struct bus_type *bus, struct device *start, in bus_for_each_dev()
334 struct device *bus_find_device(struct bus_type *bus, in bus_find_device()
371 struct device *bus_find_device_by_name(struct bus_type *bus, in bus_find_device_by_name()
450 int bus_for_each_drv(struct bus_type *bus, struct device_driver *start, in bus_for_each_drv()
469 static int device_add_attrs(struct bus_type *bus, struct device *dev) in device_add_attrs()
488 static void device_remove_attrs(struct bus_type *bus, struct device *dev) in device_remove_attrs()
508 struct bus_type *bus = bus_get(dev->bus); in bus_add_device() local
550 struct bus_type *bus = dev->bus; in bus_probe_device() local
581 struct bus_type *bus = dev->bus; in bus_remove_device() local
630 static int add_probe_files(struct bus_type *bus) in add_probe_files()
645 static void remove_probe_files(struct bus_type *bus) in remove_probe_files()
668 struct bus_type *bus; in bus_add_driver() local
781 int bus_rescan_devices(struct bus_type *bus) in bus_rescan_devices()
826 static int bus_add_groups(struct bus_type *bus, in bus_add_groups()
832 static void bus_remove_groups(struct bus_type *bus, in bus_remove_groups()
854 static ssize_t bus_uevent_store(struct bus_type *bus, in bus_uevent_store()
873 int bus_register(struct bus_type *bus) in bus_register()
958 void bus_unregister(struct bus_type *bus) in bus_unregister()
972 int bus_register_notifier(struct bus_type *bus, struct notifier_block *nb) in bus_register_notifier()
978 int bus_unregister_notifier(struct bus_type *bus, struct notifier_block *nb) in bus_unregister_notifier()
984 struct kset *bus_get_kset(struct bus_type *bus) in bus_get_kset()
990 struct klist *bus_get_device_klist(struct bus_type *bus) in bus_get_device_klist()
1025 void bus_sort_breadthfirst(struct bus_type *bus, in bus_sort_breadthfirst()