/DragonOS/kernel/src/driver/virtio/ |
H A D | virtio.rs | 19 use virtio_drivers::transport::{DeviceType, Transport}; 62 DeviceType::Block => virtio_blk(transport, dev_id, dev_parent), in virtio_device_init() 63 DeviceType::GPU => { in virtio_device_init() 66 DeviceType::Input => { in virtio_device_init() 69 DeviceType::Network => virtio_net(transport, dev_id, dev_parent), in virtio_device_init()
|
H A D | transport_pci.rs | 25 transport::{DeviceStatus, DeviceType, Transport}, 70 fn device_type(pci_device_id: u16) -> DeviceType { in device_type() argument 72 TRANSITIONAL_NETWORK => DeviceType::Network, in device_type() 73 TRANSITIONAL_BLOCK => DeviceType::Block, in device_type() 74 TRANSITIONAL_MEMORY_BALLOONING => DeviceType::MemoryBalloon, in device_type() 75 TRANSITIONAL_CONSOLE => DeviceType::Console, in device_type() 76 TRANSITIONAL_SCSI_HOST => DeviceType::ScsiHost, in device_type() 77 TRANSITIONAL_ENTROPY_SOURCE => DeviceType::EntropySource, in device_type() 78 TRANSITIONAL_9P_TRANSPORT => DeviceType::_9P, in device_type() 79 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 | 76 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/test/ |
H A D | pt_device.rs | 13 device::{bus::Bus, driver::Driver, Device, DeviceCommonData, DeviceType, IdTable}, 124 fn dev_type(&self) -> DeviceType { in dev_type() argument 125 DeviceType::Pci in dev_type()
|
/DragonOS/kernel/src/driver/pci/ |
H A D | device.rs | 10 bus::Bus, device_manager, driver::Driver, Device, DeviceCommonData, DeviceType, IdTable, 192 fn dev_type(&self) -> DeviceType { in dev_type() argument 193 return DeviceType::Bus; in dev_type()
|
H A D | raw_device.rs | 11 device::{bus::Bus, driver::Driver, Device, DeviceCommonData, DeviceType, IdTable}, 132 fn dev_type(&self) -> DeviceType { in dev_type() argument 133 DeviceType::Pci in dev_type()
|
/DragonOS/kernel/src/driver/base/platform/ |
H A D | platform_device.rs | 14 Device, DeviceCommonData, DevicePrivateData, DeviceType, IdTable, 279 fn dev_type(&self) -> DeviceType { in dev_type() argument 280 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, 342 virtio_drivers::transport::DeviceType::Block as u32 in device_type_id() 351 fn dev_type(&self) -> DeviceType { in dev_type() argument 352 DeviceType::Net in dev_type() 507 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, 121 fn dev_type(&self) -> DeviceType { in dev_type() argument 122 DeviceType::Rtc in dev_type()
|
/DragonOS/kernel/src/driver/net/ |
H A D | virtio_net.rs | 28 Device, DeviceCommonData, DeviceId, DeviceType, IdTable, 193 fn dev_type(&self) -> DeviceType { in dev_type() argument 194 DeviceType::Net in dev_type() 290 virtio_drivers::transport::DeviceType::Network as u32 in device_type_id() 445 fn dev_type(&self) -> DeviceType { in dev_type() argument 446 DeviceType::Net in dev_type() 808 virtio_drivers::transport::DeviceType::Network as u32, in new()
|
H A D | loopback.rs | 5 use crate::driver::base::device::{Device, DeviceCommonData, DeviceType, IdTable}; 382 fn dev_type(&self) -> DeviceType { in dev_type() argument 383 DeviceType::Net in dev_type()
|
/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, 333 fn dev_type(&self) -> DeviceType { in dev_type() argument 334 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/base/ |
H A D | cpu.rs | 19 Device, DeviceCommonData, DeviceType, IdTable, 147 fn dev_type(&self) -> DeviceType { in dev_type() argument
|
/DragonOS/kernel/src/driver/serial/serial8250/ |
H A D | mod.rs | 20 DeviceCommonData, DeviceKObjType, DeviceState, DeviceType, IdTable, 262 fn dev_type(&self) -> DeviceType { in dev_type() argument 263 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/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/tty/ |
H A D | tty_device.rs | 19 Device, DeviceKObjType, DeviceType, IdTable, 504 fn dev_type(&self) -> crate::driver::base::device::DeviceType { in dev_type() argument 505 DeviceType::Char 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
|