Home
last modified time | relevance | path

Searched defs:driver (Results 1 – 25 of 32) sorted by relevance

12

/DragonOS/kernel/src/driver/pci/
H A Dmod.rs4 pub mod driver; module
H A Draw_device.rs128 fn driver(&self) -> Option<Arc<dyn Driver>> { in driver() method
H A Ddevice.rs208 fn driver(&self) -> Option<Arc<dyn Driver>> { in driver() method
/DragonOS/kernel/src/arch/riscv64/
H A Dmod.rs3 pub mod driver; module
/DragonOS/kernel/src/arch/x86_64/
H A Dmod.rs5 pub mod driver; module
/DragonOS/kernel/src/driver/net/e1000e/
H A De1000e_driver.rs42 driver: E1000EDriver, field
84 driver: E1000EDriverWrapper, field
204 let driver: E1000EDriverWrapper = E1000EDriverWrapper(UnsafeCell::new(driver)); in new() localVariable
267 fn driver(&self) -> Option<Arc<dyn Driver>> { in driver() method
439 let driver = E1000EDriver::new(device); in e1000e_driver_init() localVariable
/DragonOS/kernel/src/driver/net/
H A Dloopback.rs62 driver: LoopbackDriver, field
252 driver: LoopbackDriverWapper, field
293 let driver = LoopbackDriverWapper(UnsafeCell::new(driver)); in new() localVariable
412 fn driver(&self) -> Option<Arc<dyn Driver>> { in driver() method
550 let driver = LoopbackDriver::new(); in loopback_driver_init() localVariable
H A Dvirtio_net.rs223 fn driver(&self) -> Option<Arc<dyn Driver>> { in driver() method
475 fn driver(&self) -> Option<Arc<dyn Driver>> { in driver() method
528 driver: VirtIONicDeviceInner, field
780 let driver = VirtIONetDriver::new(); in virtio_net_driver_init() localVariable
/DragonOS/kernel/src/
H A Dlib.rs52 mod driver; // 如果driver依赖了libs,应该在libs后面导出 module
/DragonOS/kernel/src/driver/tty/
H A Dtty_device.rs61 driver: Option<Weak<dyn Driver>>, field
168 let driver = tty.core().driver(); in open() localVariable
530 fn driver(&self) -> Option<Arc<dyn crate::driver::base::device::driver::Driver>> { in driver() method
H A Dtty_core.rs115 let driver = tty_core.driver(); in reopen() localVariable
337 pub fn driver(&self) -> &Arc<TtyDriver> { in driver() method
472 let driver = self.driver(); in init_termios() localVariable
/DragonOS/kernel/src/driver/base/device/
H A Ddd.rs467 let driver = device.driver().ok_or(SystemError::EINVAL)?; in add_to_sysfs() localVariable
562 let driver = device.driver().unwrap(); in driver_bound() localVariable
H A Dmod.rs51 pub mod driver; module
180 fn driver(&self) -> Option<Arc<dyn Driver>>; in driver() method
222 pub driver: Option<Weak<dyn Driver>>, field
H A Dbus.rs754 let driver = kobj.cast::<dyn Driver>().map_err(|kobj| { in store() localVariable
803 let driver = kobj.cast::<dyn Driver>().map_err(|kobj| { in store() localVariable
/DragonOS/kernel/src/driver/tty/pty/
H A Dunix98pty.rs218 let driver = tty.core().driver(); in close() localVariable
/DragonOS/kernel/src/driver/rtc/
H A Drtc_cmos.rs209 let driver = CmosPlatformDriver::new(); in cmos_rtc_driver_init() localVariable
/DragonOS/kernel/src/driver/input/serio/i8042/
H A Di8042_ports.rs86 fn driver(&self) -> Option<Arc<dyn Driver>> { in driver() method
H A Di8042_device.rs89 fn driver(&self) -> Option<Arc<dyn Driver>> { in driver() method
/DragonOS/kernel/src/driver/input/ps2_mouse/
H A Dps_mouse_driver.rs281 let driver = Ps2MouseDriver::new(); in ps2_mouse_driver_init() localVariable
/DragonOS/kernel/src/arch/x86_64/driver/
H A Drtc.rs136 fn driver(&self) -> Option<Arc<dyn Driver>> { in driver() method
/DragonOS/kernel/src/driver/block/
H A Dvirtio_blk.rs381 fn driver(&self) -> Option<Arc<dyn Driver>> { in driver() method
479 let driver = VirtIOBlkDriver::new(); in virtio_blk_driver_init() localVariable
/DragonOS/kernel/src/driver/base/platform/
H A Dplatform_device.rs296 fn driver(&self) -> Option<Arc<dyn Driver>> { in driver() method
/DragonOS/kernel/src/driver/pci/test/
H A Dpt_device.rs120 fn driver(&self) -> Option<Arc<dyn Driver>> { in driver() method
/DragonOS/kernel/src/driver/base/
H A Dcpu.rs163 fn driver(&self) -> Option<Arc<dyn Driver>> { in driver() method
/DragonOS/kernel/src/driver/disk/ahci/
H A Dahcidisk.rs485 fn driver(&self) -> Option<Arc<dyn Driver>> { in driver() method

12