Searched refs:drivers_kset (Results 1 – 2 of 2) sorted by relevance
52 drivers_kset: Option<Arc<KSet>>, field59 drivers_kset: None, in new()140 pub fn drivers_kset(&self) -> Option<Arc<KSet>> { in drivers_kset() method141 return self.ksets.read().drivers_kset.clone(); in drivers_kset()144 pub fn set_drivers_kset(&self, drivers_kset: Arc<KSet>) { in set_drivers_kset()145 self.ksets.write().drivers_kset = Some(drivers_kset); in set_drivers_kset()
304 KObjectManager::add_kobj(kobj, bus.subsystem().drivers_kset())?; in add_driver()368 let drivers_kset = in register() localVariable370 bus.subsystem().set_drivers_kset(drivers_kset); in register()