Home
last modified time | relevance | path

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

/DragonOS/kernel/src/driver/virtio/
H A Dtransport_mmio.rs60 mmio_transport.device_type(), in new()
91 fn device_type(&self) -> virtio_drivers::transport::DeviceType { in device_type() method
92 self.mmio_transport.device_type() in device_type()
H A Dtransport_pci.rs70 fn device_type(pci_device_id: u16) -> DeviceType { in device_type() function
90 device_type: DeviceType, field
128 let device_type = device_type(header.device_id); in new() localVariable
216 device_type, in new()
239 fn device_type(&self) -> DeviceType { in device_type() method
240 self.device_type in device_type()
H A Dvirtio.rs38 transport.device_type(), in virtio_probe_pci()
61 match transport.device_type() { in virtio_device_init()
H A Dtransport.rs76 fn device_type(&self) -> virtio_drivers::transport::DeviceType { in device_type() method
78 VirtIOTransport::Pci(transport) => transport.device_type(), in device_type()
79 VirtIOTransport::Mmio(transport) => transport.device_type(), in device_type()
/DragonOS/kernel/src/driver/open_firmware/
H A Dfdt.rs165 let device_type: Option<NodeProperty<'_>> = node.property("device_type"); in early_init_scan_memory() localVariable
166 if device_type.is_none() { in early_init_scan_memory()
169 let device_type = device_type.unwrap().as_str(); in early_init_scan_memory() localVariable
170 if device_type.is_none() || device_type.unwrap() != "memory" { in early_init_scan_memory()