Home
last modified time | relevance | path

Searched refs:subsys_private (Results 1 – 6 of 6) sorted by relevance

/linux/drivers/base/
H A Dbus.c60 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()
[all …]
H A Dclass.c42 struct subsys_private *class_to_subsys(const struct class *class) in class_to_subsys()
44 struct subsys_private *sp = NULL; in class_to_subsys()
58 sp = container_of_const(kset, struct subsys_private, subsys); in class_to_subsys()
73 struct subsys_private *cp = to_subsys_private(kobj); in class_attr_show()
85 struct subsys_private *cp = to_subsys_private(kobj); in class_attr_store()
95 struct subsys_private *cp = to_subsys_private(kobj); in class_release()
112 const struct subsys_private *cp = to_subsys_private(kobj); in class_child_ns_type()
132 struct subsys_private *sp = class_to_subsys(cls); in class_create_file_ns()
148 struct subsys_private *sp = class_to_subsys(cls); in class_remove_file_ns()
180 struct subsys_private *cp; in class_register()
[all …]
H A Dbase.h42 struct subsys_private { struct
61 #define to_subsys_private(obj) container_of_const(obj, struct subsys_private, subsys.kobj) argument
63 static inline struct subsys_private *subsys_get(struct subsys_private *sp) in subsys_get()
70 static inline void subsys_put(struct subsys_private *sp) in subsys_put()
76 struct subsys_private *bus_to_subsys(const struct bus_type *bus);
77 struct subsys_private *class_to_subsys(const struct class *class);
H A Dcore.c2641 struct subsys_private *sp = bus_to_subsys(dev->bus); in dev_driver_uevent()
3219 static struct kobject *class_dir_create_and_add(struct subsys_private *sp, in class_dir_create_and_add()
3247 struct subsys_private *sp = class_to_subsys(dev->class); in get_device_parent()
3311 struct subsys_private *sp; in live_in_glue_dir()
3424 struct subsys_private *sp; in device_add_class_symlinks()
3468 struct subsys_private *sp = class_to_subsys(dev->class); in device_remove_class_symlinks()
3575 struct subsys_private *sp; in device_add()
3836 struct subsys_private *sp; in device_del()
4517 struct subsys_private *sp = NULL; in device_rename()
4731 struct subsys_private *sp; in device_change_owner()
H A Ddd.c1142 struct subsys_private *sp = bus_to_subsys(dev->bus); in device_initial_probe()
/linux/include/linux/
H A Ddevice.h42 struct subsys_private;