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()
166 struct subsys_private *subsys_priv = to_subsys_private(kobj); in bus_attr_store()
181 struct subsys_private *sp = bus_to_subsys(bus); in bus_create_file()
196 struct subsys_private *sp = bus_to_subsys(bus); in bus_remove_file()
208 struct subsys_private *priv = to_subsys_private(kobj); in bus_release()
279 struct subsys_private *sp = bus_to_subsys(bus); in drivers_autoprobe_show()
293 struct subsys_private *sp = bus_to_subsys(bus); in drivers_autoprobe_store()
357 struct subsys_private *sp = bus_to_subsys(bus); in bus_for_each_dev()
394 struct subsys_private *sp = bus_to_subsys(bus); in bus_find_device()
446 struct subsys_private *sp = bus_to_subsys(bus); in bus_for_each_drv()
474 struct subsys_private *sp = bus_to_subsys(dev->bus); in bus_add_device()
525 struct subsys_private *sp = bus_to_subsys(dev->bus); in bus_probe_device()
554 struct subsys_private *sp = bus_to_subsys(dev->bus); in bus_remove_device()
644 struct subsys_private *sp = bus_to_subsys(drv->bus); in bus_add_driver()
723 struct subsys_private *sp = bus_to_subsys(drv->bus); in bus_remove_driver()
814 struct subsys_private *sp = bus_to_subsys(bus); in bus_uevent_store()
847 struct subsys_private *priv; in bus_register()
851 priv = kzalloc(sizeof(struct subsys_private), GFP_KERNEL); in bus_register()
931 struct subsys_private *sp = bus_to_subsys(bus); in bus_unregister()
955 struct subsys_private *sp = bus_to_subsys(bus); in bus_register_notifier()
969 struct subsys_private *sp = bus_to_subsys(bus); in bus_unregister_notifier()
982 struct subsys_private *sp = bus_to_subsys(dev->bus); in bus_notify()
993 struct subsys_private *sp = bus_to_subsys(bus); in bus_get_kset()
1037 struct subsys_private *sp = bus_to_subsys(bus); in bus_sort_breadthfirst()
1077 static void subsys_dev_iter_init(struct subsys_dev_iter *iter, struct subsys_private *sp, in subsys_dev_iter_init()
1129 struct subsys_private *sp; in subsys_interface_register()
1161 struct subsys_private *sp; in subsys_interface_unregister()
1201 struct subsys_private *sp; in subsys_register()
1312 struct subsys_private *sp = bus_to_subsys(bus); in driver_find()
1338 struct subsys_private *sp = bus_to_subsys(bus); in bus_is_registered()
1362 struct subsys_private *sp = bus_to_subsys(bus); in bus_get_dev_root()