Lines Matching refs:subsys_private
60 static struct subsys_private *bus_to_subsys(const struct bus_type *bus) in bus_to_subsys()
62 struct subsys_private *sp = NULL; in bus_to_subsys()
76 sp = container_of_const(kset, struct subsys_private, subsys); in bus_to_subsys()
89 struct subsys_private *sp = bus_to_subsys(bus); in bus_get()
98 struct subsys_private *sp = bus_to_subsys(bus); in bus_put()
154 struct subsys_private *subsys_priv = to_subsys_private(kobj); in bus_attr_show()
167 struct subsys_private *subsys_priv = to_subsys_private(kobj); in bus_attr_store()
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()
210 struct subsys_private *priv = to_subsys_private(kobj); in bus_release()
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()
856 struct subsys_private *priv; in bus_register()
860 priv = kzalloc(sizeof(struct subsys_private), GFP_KERNEL); in bus_register()
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()
1088 static void subsys_dev_iter_init(struct subsys_dev_iter *iter, struct subsys_private *sp, in subsys_dev_iter_init()
1140 struct subsys_private *sp; in subsys_interface_register()
1172 struct subsys_private *sp; in subsys_interface_unregister()
1212 struct subsys_private *sp; 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()