Home
last modified time | relevance | path

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

/DragonOS/kernel/src/driver/virtio/
H A Dtransport_mmio.rs111 fn get_status(&self) -> virtio_drivers::transport::DeviceStatus { in get_status() argument
115 fn set_status(&mut self, status: virtio_drivers::transport::DeviceStatus) { in set_status() argument
H A Dtransport_pci.rs25 transport::{DeviceStatus, DeviceType, Transport},
291 fn set_status(&mut self, status: DeviceStatus) { in set_status() argument
299 fn get_status(&self) -> DeviceStatus { in get_status() argument
302 unsafe { DeviceStatus::from_bits_truncate(volread!(self.common_cfg, device_status).into()) } in get_status()
393 self.set_status(DeviceStatus::empty()); in drop()
H A Dtransport.rs116 fn get_status(&self) -> virtio_drivers::transport::DeviceStatus { in get_status() argument
124 fn set_status(&mut self, status: virtio_drivers::transport::DeviceStatus) { in set_status() argument