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);
723 struct subsys_private *sp = bus_to_subsys(drv->bus);
814 struct subsys_private *sp = bus_to_subsys(bus);
847 struct subsys_private *priv;
851 priv = kzalloc(sizeof(struct subsys_private), GFP_KERNEL);
931 struct subsys_private *sp = bus_to_subsys(bus);
955 struct subsys_private *sp = bus_to_subsys(bus);
969 struct subsys_private *sp = bus_to_subsys(bus);
982 struct subsys_private *sp = bus_to_subsys(dev->bus);
993 struct subsys_private *sp = bus_to_subsys(bus);
1037 struct subsys_private *sp = bus_to_subsys(bus);
1077 static void subsys_dev_iter_init(struct subsys_dev_iter *iter, struct subsys_private *sp,
1129 struct subsys_private *sp;
1161 struct subsys_private *sp;
1201 struct subsys_private *sp;
1312 struct subsys_private *sp = bus_to_subsys(bus);
1338 struct subsys_private *sp = bus_to_subsys(bus);
1362 struct subsys_private *sp = bus_to_subsys(bus);