Lines Matching refs:base
9 base::{
39 let base = DeviceNumber::new(driver.major, driver.minor_start); in lookup_tty_driver() localVariable
40 if dev_num < base || dev_num.data() > base.data() + driver.device_count { in lookup_tty_driver()
290 fn kset(&self) -> Option<alloc::sync::Arc<crate::driver::base::kset::KSet>> { in kset()
294 fn set_kset(&self, _kset: Option<alloc::sync::Arc<crate::driver::base::kset::KSet>>) { in set_kset()
298 fn kobj_type(&self) -> Option<&'static dyn crate::driver::base::kobject::KObjType> { in kobj_type()
302 fn set_kobj_type(&self, _ktype: Option<&'static dyn crate::driver::base::kobject::KObjType>) { in set_kobj_type()
316 ) -> crate::libs::rwlock::RwLockReadGuard<crate::driver::base::kobject::KObjectState> { in kobj_state()
322 ) -> crate::libs::rwlock::RwLockWriteGuard<crate::driver::base::kobject::KObjectState> { in kobj_state_mut()
326 fn set_kobj_state(&self, _state: crate::driver::base::kobject::KObjectState) { in set_kobj_state()
332 fn id_table(&self) -> Option<crate::driver::base::device::IdTable> { in id_table()
338 ) -> alloc::vec::Vec<alloc::sync::Arc<dyn crate::driver::base::device::Device>> { in devices()
342 fn add_device(&self, _device: alloc::sync::Arc<dyn crate::driver::base::device::Device>) { in add_device()
346 fn delete_device(&self, _device: &alloc::sync::Arc<dyn crate::driver::base::device::Device>) { in delete_device()
350 fn set_bus(&self, _bus: Option<alloc::sync::Weak<dyn crate::driver::base::device::bus::Bus>>) { in set_bus()