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.rs26 transport::{DeviceStatus, DeviceType, Transport},
290 fn set_status(&mut self, status: DeviceStatus) { in set_status() argument
298 fn get_status(&self) -> DeviceStatus { in get_status() argument
301 unsafe { DeviceStatus::from_bits_truncate(volread!(self.common_cfg, device_status).into()) } in get_status()
392 self.set_status(DeviceStatus::empty()); in drop()
H A Dtransport.rs117 fn get_status(&self) -> virtio_drivers::transport::DeviceStatus { in get_status() argument
125 fn set_status(&mut self, status: virtio_drivers::transport::DeviceStatus) { in set_status() argument