Lines Matching refs:bus_to_subsys
60 static struct subsys_private *bus_to_subsys(const struct bus_type *bus) in bus_to_subsys() function
89 struct subsys_private *sp = bus_to_subsys(bus); in bus_get()
98 struct subsys_private *sp = bus_to_subsys(bus); in bus_put()
183 struct subsys_private *sp = bus_to_subsys(bus); in bus_create_file()
198 struct subsys_private *sp = bus_to_subsys(bus); in bus_remove_file()
281 struct subsys_private *sp = bus_to_subsys(bus); in drivers_autoprobe_show()
295 struct subsys_private *sp = bus_to_subsys(bus); in drivers_autoprobe_store()
359 struct subsys_private *sp = bus_to_subsys(bus); in bus_for_each_dev()
396 struct subsys_private *sp = bus_to_subsys(bus); in bus_find_device()
448 struct subsys_private *sp = bus_to_subsys(bus); in bus_for_each_drv()
476 struct subsys_private *sp = bus_to_subsys(dev->bus); in bus_add_device()
527 struct subsys_private *sp = bus_to_subsys(dev->bus); in bus_probe_device()
556 struct subsys_private *sp = bus_to_subsys(dev->bus); in bus_remove_device()
646 struct subsys_private *sp = bus_to_subsys(drv->bus); in bus_add_driver()
732 struct subsys_private *sp = bus_to_subsys(drv->bus); in bus_remove_driver()
823 struct subsys_private *sp = bus_to_subsys(bus); in bus_uevent_store()
942 struct subsys_private *sp = bus_to_subsys(bus); in bus_unregister()
966 struct subsys_private *sp = bus_to_subsys(bus); in bus_register_notifier()
980 struct subsys_private *sp = bus_to_subsys(bus); in bus_unregister_notifier()
993 struct subsys_private *sp = bus_to_subsys(dev->bus); in bus_notify()
1004 struct subsys_private *sp = bus_to_subsys(bus); in bus_get_kset()
1048 struct subsys_private *sp = bus_to_subsys(bus); in bus_sort_breadthfirst()
1147 sp = bus_to_subsys(sif->subsys); in subsys_interface_register()
1179 sp = bus_to_subsys(sif->subsys); in subsys_interface_unregister()
1220 sp = bus_to_subsys(subsys); in subsys_register()
1323 struct subsys_private *sp = bus_to_subsys(bus); in driver_find()
1349 struct subsys_private *sp = bus_to_subsys(bus); in bus_is_registered()
1373 struct subsys_private *sp = bus_to_subsys(bus); in bus_get_dev_root()