Home
last modified time | relevance | path

Searched defs:device (Results 1 – 21 of 21) sorted by relevance

/DragonOS/kernel/src/driver/pci/
H A Dmod.rs3 pub mod device; module
H A Dpci.rs1103 pub device: u8, field
/DragonOS/kernel/src/driver/base/
H A Dmod.rs5 pub mod device; module
/DragonOS/kernel/src/driver/input/ps2_mouse/
H A Dps_mouse_driver.rs108 let device: Option<&Ps2MouseDevice> = guard.devices[0] in process_packet() localVariable
229 let device = device in interrupt() localVariable
239 let device = device in connect() localVariable
/DragonOS/kernel/src/driver/serial/serial8250/
H A Dserial8250_pio.rs214 fn device(&self) -> Option<Arc<Serial8250ISADevices>> { in device() method
297 device: Option<Weak<Serial8250ISADevices>>, field
306 pub fn device(&self) -> Option<Arc<Serial8250ISADevices>> { in device() method
H A Dmod.rs186 fn device(&self) -> Option<Arc<Serial8250ISADevices>> { in device() method
/DragonOS/kernel/src/driver/virtio/
H A Dmod.rs69 pub device: u32, field
H A Dtransport_pci.rs104 device: Arc<PciDeviceStructureGeneralDevice>, field
/DragonOS/kernel/src/driver/disk/ahci/
H A Dhba.rs306 pub device: u8, // Device register field
339 pub device: u8, // Device register field
385 pub device: u8, // Device register field
H A Dahcidisk.rs550 fn device(&self) -> Arc<dyn Device> { in device() method
/DragonOS/kernel/src/driver/block/
H A Dvirtio_blk.rs74 let device = VirtIOBlkDevice::new(transport, dev_id); in virtio_blk() localVariable
274 fn device(&self) -> Arc<dyn Device> { in device() method
283 let device = self.self_ref.upgrade().unwrap() as Arc<dyn BlockDevice>; in partitions() localVariable
/DragonOS/kernel/src/driver/input/serio/i8042/
H A Di8042_driver.rs68 let device = device in probe() localVariable
/DragonOS/kernel/src/driver/video/fbdev/base/fbcon/
H A Dmod.rs67 device: Arc<FbConsoleDevice>, field
80 pub fn device(&self) -> &Arc<FbConsoleDevice> { in device() method
/DragonOS/kernel/src/arch/x86_64/driver/
H A Drtc.rs315 let device = CmosRtcDevice::new(); in cmos_rtc_device_init() localVariable
/DragonOS/kernel/src/driver/base/device/
H A Dbus.rs621 let device = bus.find_device_by_name(name).ok_or(SystemError::ENODEV)?; in store() localVariable
815 let device = bus in store() localVariable
/DragonOS/kernel/src/driver/video/fbdev/
H A Dvesafb.rs738 let device = device in probe() localVariable
951 let device = Arc::new(VesaFb::new()); in vesa_fb_device_init() localVariable
/DragonOS/kernel/src/driver/net/e1000e/
H A De1000e_driver.rs117 let mut device = self.driver.inner.lock(); in consume() localVariable
/DragonOS/kernel/src/driver/net/
H A Dloopback.rs82 let mut device = self.driver.inner.lock(); in consume() localVariable
/DragonOS/kernel/src/driver/base/block/
H A Dblock_device.rs343 fn device(&self) -> Arc<dyn Device>; in device() method
/DragonOS/kernel/src/exception/
H A Dirqdomain.rs483 device: Option<Arc<dyn Device>>, field
/DragonOS/kernel/src/driver/tty/
H A Dtty_driver.rs329 let device = TtyDevice::new( in init_tty_device() localVariable