Home
last modified time | relevance | path

Searched refs:as_standard_device_mut (Results 1 – 2 of 2) sorted by relevance

/DragonOS-0.1.7/kernel/src/driver/virtio/
Dvirtio.rs94 let standard_device = device.as_standard_device_mut().unwrap(); in get_virtio_net_device()
/DragonOS-0.1.7/kernel/src/driver/pci/
Dpci.rs284 fn as_standard_device_mut(&mut self) -> Option<&mut PciDeviceStructureGeneralDevice> { in as_standard_device_mut() method
389 fn as_standard_device_mut(&mut self) -> Option<&mut PciDeviceStructureGeneralDevice> { in as_standard_device_mut() method