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

/linux-master/drivers/base/
H A Dclass.c29 * class_to_subsys - Turn a struct class into a struct subsys_private
33 * The driver core internals need to work on the subsys_private structure, not
36 * internal struct subsys_private that relates to that class.
42 struct subsys_private *class_to_subsys(const struct class *class)
44 struct subsys_private *sp = NULL;
58 sp = container_of_const(kset, struct subsys_private, subsys);
73 struct subsys_private *cp = to_subsys_private(kobj);
85 struct subsys_private *cp = to_subsys_private(kobj);
95 struct subsys_private *cp = to_subsys_private(kobj);
112 const struct subsys_private *c
[all...]
H A Dbase.h16 * struct subsys_private - structure to hold the private to the driver core portions of the bus_type/class structure.
42 struct subsys_private { struct
61 #define to_subsys_private(obj) container_of_const(obj, struct subsys_private, subsys.kobj)
63 static inline struct subsys_private *subsys_get(struct subsys_private *sp)
70 static inline void subsys_put(struct subsys_private *sp)
76 struct subsys_private *class_to_subsys(const struct class *class);
H A Dbus.c47 * bus_to_subsys - Turn a struct bus_type into a struct subsys_private
51 * The driver core internals needs to work on the subsys_private structure, not
54 * internal struct subsys_private that relates to that bus.
60 static struct subsys_private *bus_to_subsys(const struct bus_type *bus)
62 struct subsys_private *sp = NULL;
76 sp = container_of_const(kset, struct subsys_private, subsys);
89 struct subsys_private *sp = bus_to_subsys(bus);
98 struct subsys_private *sp = bus_to_subsys(bus);
154 struct subsys_private *subsys_priv = to_subsys_private(kobj);
166 struct subsys_private *subsys_pri
[all...]
H A Dcore.c3248 static struct kobject *class_dir_create_and_add(struct subsys_private *sp,
3276 struct subsys_private *sp = class_to_subsys(dev->class);
3340 struct subsys_private *sp;
3453 struct subsys_private *sp;
3497 struct subsys_private *sp = class_to_subsys(dev->class);
3604 struct subsys_private *sp;
3865 struct subsys_private *sp;
4573 struct subsys_private *sp = class_to_subsys(dev->class);
4765 struct subsys_private *sp;
/linux-master/include/linux/device/
H A Dclass.h75 struct subsys_private *sp;
/linux-master/include/linux/
H A Ddevice.h42 struct subsys_private;

Completed in 254 milliseconds