Searched refs:drivers_kset (Results 1 – 2 of 2) sorted by relevance
53 drivers_kset: Option<Arc<KSet>>, field60 drivers_kset: None, in new()151 pub fn drivers_kset(&self) -> Option<Arc<KSet>> { in drivers_kset() method152 return self.ksets.read().drivers_kset.clone(); in drivers_kset()155 pub fn set_drivers_kset(&self, drivers_kset: Arc<KSet>) { in set_drivers_kset()156 self.ksets.write().drivers_kset = Some(drivers_kset); in set_drivers_kset()
307 bus.subsystem().drivers_kset(), in add_driver()373 let drivers_kset = in register() localVariable375 bus.subsystem().set_drivers_kset(drivers_kset); in register()