Lines Matching defs:bus_to_subsys
47 * bus_to_subsys - Turn a struct bus_type into a struct subsys_private
60 static struct subsys_private *bus_to_subsys(const struct bus_type *bus)
89 struct subsys_private *sp = bus_to_subsys(bus);
98 struct subsys_private *sp = bus_to_subsys(bus);
100 /* two puts are required as the call to bus_to_subsys incremented it again */
181 struct subsys_private *sp = bus_to_subsys(bus);
196 struct subsys_private *sp = bus_to_subsys(bus);
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);
577 * Decrement the reference count twice, once for the bus_to_subsys()
644 struct subsys_private *sp = bus_to_subsys(drv->bus);
723 struct subsys_private *sp = bus_to_subsys(drv->bus);
740 * Decrement the reference count twice, once for the bus_to_subsys()
814 struct subsys_private *sp = bus_to_subsys(bus);
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);
1136 sp = bus_to_subsys(sif->subsys);
1168 sp = bus_to_subsys(sif->subsys);
1183 * Decrement the reference count twice, once for the bus_to_subsys()
1209 sp = bus_to_subsys(subsys);
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);