Lines Matching defs:bus

40 static struct bus_type *bus_get(struct bus_type *bus)  in bus_get()
49 static void bus_put(struct bus_type *bus) in bus_put()
129 int bus_create_file(struct bus_type *bus, struct bus_attribute *attr) in bus_create_file()
141 void bus_remove_file(struct bus_type *bus, struct bus_attribute *attr) in bus_remove_file()
154 struct bus_type *bus = priv->bus; in bus_release() local
184 struct bus_type *bus = bus_get(drv->bus); in unbind_store() local
211 struct bus_type *bus = bus_get(drv->bus); in bind_store() local
239 static ssize_t show_drivers_autoprobe(struct bus_type *bus, char *buf) in show_drivers_autoprobe()
244 static ssize_t store_drivers_autoprobe(struct bus_type *bus, in store_drivers_autoprobe()
254 static ssize_t store_drivers_probe(struct bus_type *bus, in store_drivers_probe()
301 int bus_for_each_dev(struct bus_type *bus, struct device *start, in bus_for_each_dev()
335 struct device *bus_find_device(struct bus_type *bus, in bus_find_device()
372 struct device *bus_find_device_by_name(struct bus_type *bus, in bus_find_device_by_name()
451 int bus_for_each_drv(struct bus_type *bus, struct device_driver *start, in bus_for_each_drv()
470 static int device_add_attrs(struct bus_type *bus, struct device *dev) in device_add_attrs()
489 static void device_remove_attrs(struct bus_type *bus, struct device *dev) in device_remove_attrs()
509 struct bus_type *bus = bus_get(dev->bus); in bus_add_device() local
551 struct bus_type *bus = dev->bus; in bus_probe_device() local
579 struct bus_type *bus = dev->bus; in bus_remove_device() local
628 static int add_probe_files(struct bus_type *bus) in add_probe_files()
643 static void remove_probe_files(struct bus_type *bus) in remove_probe_files()
677 struct bus_type *bus; in bus_add_driver() local
796 int bus_rescan_devices(struct bus_type *bus) in bus_rescan_devices()
841 static int bus_add_groups(struct bus_type *bus, in bus_add_groups()
847 static void bus_remove_groups(struct bus_type *bus, in bus_remove_groups()
869 static ssize_t bus_uevent_store(struct bus_type *bus, in bus_uevent_store()
888 int bus_register(struct bus_type *bus) in bus_register()
973 void bus_unregister(struct bus_type *bus) in bus_unregister()
987 int bus_register_notifier(struct bus_type *bus, struct notifier_block *nb) in bus_register_notifier()
993 int bus_unregister_notifier(struct bus_type *bus, struct notifier_block *nb) in bus_unregister_notifier()
999 struct kset *bus_get_kset(struct bus_type *bus) in bus_get_kset()
1005 struct klist *bus_get_device_klist(struct bus_type *bus) in bus_get_device_klist()
1040 void bus_sort_breadthfirst(struct bus_type *bus, in bus_sort_breadthfirst()