Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/base/
Dbus.c60 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()
[all …]
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 …]
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 *class_to_subsys(const struct class *class);
Dcore.c3152 static struct kobject *class_dir_create_and_add(struct subsys_private *sp, in class_dir_create_and_add()
3180 struct subsys_private *sp = class_to_subsys(dev->class); in get_device_parent()
3244 struct subsys_private *sp; in live_in_glue_dir()
3357 struct subsys_private *sp; in device_add_class_symlinks()
3401 struct subsys_private *sp = class_to_subsys(dev->class); in device_remove_class_symlinks()
3508 struct subsys_private *sp; in device_add()
3769 struct subsys_private *sp; in device_del()
4472 struct subsys_private *sp = class_to_subsys(dev->class); in device_rename()
4664 struct subsys_private *sp; in device_change_owner()
/Linux-v6.6/include/linux/device/
Dclass.h77 struct subsys_private *sp;
/Linux-v6.6/include/linux/
Ddevice.h42 struct subsys_private;