/DragonOS/kernel/src/driver/virtio/ |
H A D | virtio.rs | 21 use virtio_drivers::transport::{DeviceType, Transport}; 65 DeviceType::Block => virtio_blk(transport, dev_id, dev_parent), in virtio_device_init() 66 DeviceType::GPU => { in virtio_device_init() 69 DeviceType::Input => { in virtio_device_init() 72 DeviceType::Network => virtio_net(transport, dev_id, dev_parent), in virtio_device_init()
|
H A D | transport_pci.rs | 27 transport::{DeviceStatus, DeviceType, Transport}, 73 fn device_type(pci_device_id: u16) -> DeviceType { in device_type() argument 75 TRANSITIONAL_NETWORK => DeviceType::Network, in device_type() 76 TRANSITIONAL_BLOCK => DeviceType::Block, in device_type() 77 TRANSITIONAL_MEMORY_BALLOONING => DeviceType::MemoryBalloon, in device_type() 78 TRANSITIONAL_CONSOLE => DeviceType::Console, in device_type() 79 TRANSITIONAL_SCSI_HOST => DeviceType::ScsiHost, in device_type() 80 TRANSITIONAL_ENTROPY_SOURCE => DeviceType::EntropySource, in device_type() 81 TRANSITIONAL_9P_TRANSPORT => DeviceType::_9P, in device_type() 82 id if id >= PCI_DEVICE_ID_OFFSET => DeviceType::from(id - PCI_DEVICE_ID_OFFSET), in device_type() [all …]
|
H A D | transport_mmio.rs | 91 fn device_type(&self) -> virtio_drivers::transport::DeviceType { in device_type() argument
|
H A D | transport.rs | 40 fn device_type(&self) -> virtio_drivers::transport::DeviceType { in device_type() argument
|
/DragonOS/kernel/src/driver/input/serio/i8042/ |
H A D | i8042_ports.rs | 11 device::{bus::Bus, driver::Driver, Device, DeviceCommonData, DeviceType, IdTable}, 57 fn dev_type(&self) -> DeviceType { in dev_type() argument 58 DeviceType::Char in dev_type()
|
H A D | i8042_device.rs | 10 bus::Bus, driver::Driver, Device, DeviceCommonData, DeviceState, DeviceType, IdTable, 61 fn dev_type(&self) -> DeviceType { in dev_type() argument 62 DeviceType::Char in dev_type()
|
/DragonOS/kernel/src/driver/pci/ |
H A D | device.rs | 10 bus::Bus, device_manager, driver::Driver, Device, DeviceCommonData, DeviceType, IdTable, 185 fn dev_type(&self) -> DeviceType { in dev_type() argument 186 return DeviceType::Bus; in dev_type()
|
H A D | raw_device.rs | 11 device::{bus::Bus, driver::Driver, Device, DeviceCommonData, DeviceType, IdTable}, 108 fn dev_type(&self) -> DeviceType { in dev_type() argument 109 DeviceType::Pci in dev_type()
|
/DragonOS/kernel/src/driver/pci/test/ |
H A D | pt_device.rs | 13 device::{bus::Bus, driver::Driver, Device, DeviceCommonData, DeviceType, IdTable}, 98 fn dev_type(&self) -> DeviceType { in dev_type() argument 99 DeviceType::Pci in dev_type()
|
/DragonOS/kernel/src/driver/base/platform/ |
H A D | platform_device.rs | 14 Device, DeviceCommonData, DevicePrivateData, DeviceType, IdTable, 275 fn dev_type(&self) -> DeviceType { in dev_type() argument 276 return DeviceType::Bus; in dev_type()
|
/DragonOS/kernel/src/arch/x86_64/driver/ |
H A D | rtc.rs | 18 DeviceType, IdTable, 113 fn dev_type(&self) -> DeviceType { in dev_type() argument 114 DeviceType::Rtc in dev_type()
|
/DragonOS/kernel/src/driver/block/ |
H A D | virtio_blk.rs | 27 Device, DeviceCommonData, DeviceId, DeviceType, IdTable, 335 virtio_drivers::transport::DeviceType::Block as u32 in device_type_id() 344 fn dev_type(&self) -> DeviceType { in dev_type() argument 345 DeviceType::Net in dev_type() 500 virtio_drivers::transport::DeviceType::Block as u32, in new()
|
/DragonOS/kernel/src/driver/rtc/ |
H A D | sysfs.rs | 12 bus::Bus, device_manager, driver::Driver, Device, DeviceCommonData, DeviceType, IdTable, 120 fn dev_type(&self) -> DeviceType { in dev_type() argument 121 DeviceType::Rtc in dev_type()
|
/DragonOS/kernel/src/driver/net/ |
H A D | virtio_net.rs | 28 Device, DeviceCommonData, DeviceId, DeviceType, IdTable, 186 fn dev_type(&self) -> DeviceType { in dev_type() argument 187 DeviceType::Net in dev_type() 283 virtio_drivers::transport::DeviceType::Network as u32 in device_type_id() 438 fn dev_type(&self) -> DeviceType { in dev_type() argument 439 DeviceType::Net in dev_type() 795 virtio_drivers::transport::DeviceType::Network as u32, in new()
|
H A D | loopback.rs | 5 use crate::driver::base::device::{Device, DeviceCommonData, DeviceType, IdTable}; 376 fn dev_type(&self) -> DeviceType { in dev_type() argument 377 DeviceType::Net in dev_type()
|
/DragonOS/kernel/src/driver/base/ |
H A D | cpu.rs | 21 Device, DeviceCommonData, DeviceType, IdTable, 142 fn dev_type(&self) -> DeviceType { in dev_type() argument
|
/DragonOS/kernel/src/driver/video/fbdev/base/fbcon/ |
H A D | mod.rs | 14 bus::Bus, device_manager, driver::Driver, Device, DeviceCommonData, DeviceType, 184 fn dev_type(&self) -> DeviceType { in dev_type() argument 185 DeviceType::Char in dev_type()
|
/DragonOS/kernel/src/driver/video/fbdev/base/ |
H A D | fbmem.rs | 21 sys_dev_char_kset, Device, DeviceCommonData, DeviceType, IdTable, 332 fn dev_type(&self) -> DeviceType { in dev_type() argument 333 DeviceType::Char in dev_type()
|
/DragonOS/kernel/src/driver/net/e1000e/ |
H A D | e1000e_driver.rs | 8 device::{bus::Bus, driver::Driver, Device, DeviceCommonData, DeviceType, IdTable}, 237 fn dev_type(&self) -> DeviceType { in dev_type() argument 238 DeviceType::Net in dev_type()
|
/DragonOS/kernel/src/driver/serial/serial8250/ |
H A D | mod.rs | 19 DeviceCommonData, DeviceKObjType, DeviceState, DeviceType, IdTable, 222 fn dev_type(&self) -> DeviceType { in dev_type() argument 223 DeviceType::Serial in dev_type()
|
/DragonOS/kernel/src/driver/input/ps2_mouse/ |
H A D | ps_mouse_device.rs | 19 DeviceCommonData, DeviceType, IdTable, 434 fn dev_type(&self) -> DeviceType { in dev_type() argument 435 DeviceType::Char in dev_type()
|
/DragonOS/kernel/src/driver/tty/ |
H A D | tty_device.rs | 19 Device, DeviceKObjType, DeviceType, IdTable, 500 fn dev_type(&self) -> crate::driver::base::device::DeviceType { in dev_type() argument 501 DeviceType::Char in dev_type()
|
/DragonOS/kernel/src/driver/disk/ahci/ |
H A D | ahcidisk.rs | 12 use crate::driver::base::device::{Device, DeviceType, IdTable}; 469 fn dev_type(&self) -> DeviceType { in dev_type() argument 470 return DeviceType::Block; in dev_type()
|
/DragonOS/kernel/src/driver/video/fbdev/ |
H A D | vesafb.rs | 18 DeviceType, IdTable, 154 fn dev_type(&self) -> DeviceType { in dev_type() argument 155 DeviceType::Char in dev_type()
|
/DragonOS/kernel/src/driver/base/device/ |
H A D | mod.rs | 141 fn dev_type(&self) -> DeviceType; in dev_type() argument 301 pub enum DeviceType { enum
|