Home
last modified time | relevance | path

Searched refs:device_type (Results 1 – 3 of 3) sorted by relevance

/DragonOS-0.1.9/kernel/src/driver/open_firmware/
Dfdt.rs135 let device_type: Option<NodeProperty<'_>> = node.property("device_type"); in early_init_scan_memory() localVariable
136 if device_type.is_none() { in early_init_scan_memory()
139 let device_type = device_type.unwrap().as_str(); in early_init_scan_memory() localVariable
140 if device_type.is_none() || device_type.unwrap() != "memory" { in early_init_scan_memory()
/DragonOS-0.1.9/kernel/src/driver/virtio/
Dtransport_pci.rs77 fn device_type(pci_device_id: u16) -> DeviceType { in device_type() function
97 device_type: DeviceType, field
132 let device_type = device_type(header.device_id); in new() localVariable
230 device_type, in new()
244 fn device_type(&self) -> DeviceType { in device_type() method
245 self.device_type in device_type()
Dvirtio.rs34 transport.device_type(), in virtio_probe()
51 match transport.device_type() { in virtio_device_init()