Lines Matching refs:subsys_private

47  * 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_priv = to_subsys_private(kobj);
181 struct subsys_private *sp = bus_to_subsys(bus);
196 struct subsys_private *sp = bus_to_subsys(bus);
208 struct subsys_private *priv = to_subsys_private(kobj);
279 struct subsys_private *sp = bus_to_subsys(bus);
293 struct subsys_private *sp = bus_to_subsys(bus);
357 struct subsys_private *sp = bus_to_subsys(bus);
394 struct subsys_private *sp = bus_to_subsys(bus);
446 struct subsys_private *sp = bus_to_subsys(bus);
474 struct subsys_private *sp = bus_to_subsys(dev->bus);
525 struct subsys_private *sp = bus_to_subsys(dev->bus);
554 struct subsys_private *sp = bus_to_subsys(dev->bus);
644 struct subsys_private *sp = bus_to_subsys(drv->bus);
730 struct subsys_private *sp = bus_to_subsys(drv->bus);
821 struct subsys_private *sp = bus_to_subsys(bus);
854 struct subsys_private *priv;
858 priv = kzalloc(sizeof(struct subsys_private), GFP_KERNEL);
938 struct subsys_private *sp = bus_to_subsys(bus);
962 struct subsys_private *sp = bus_to_subsys(bus);
976 struct subsys_private *sp = bus_to_subsys(bus);
989 struct subsys_private *sp = bus_to_subsys(dev->bus);
1000 struct subsys_private *sp = bus_to_subsys(bus);
1044 struct subsys_private *sp = bus_to_subsys(bus);
1084 static void subsys_dev_iter_init(struct subsys_dev_iter *iter, struct subsys_private *sp,
1136 struct subsys_private *sp;
1168 struct subsys_private *sp;
1208 struct subsys_private *sp;
1319 struct subsys_private *sp = bus_to_subsys(bus);
1345 struct subsys_private *sp = bus_to_subsys(bus);
1369 struct subsys_private *sp = bus_to_subsys(bus);