Home
last modified time | relevance | path

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

/DragonOS-0.1.8/kernel/src/libs/
Dvolatile.rs148 macro_rules! volread { macro
173 pub(crate) use volread;
/DragonOS-0.1.8/kernel/src/driver/virtio/
Dtransport_pci.rs9 volread, volwrite, ReadOnly, Volatile, VolatileReadable, VolatileWritable, WriteOnly,
205 let mut device_features_bits = volread!(self.common_cfg, device_feature) as u64; in read_device_features()
207 device_features_bits |= (volread!(self.common_cfg, device_feature) as u64) << 32; in read_device_features()
230 unsafe { volread!(self.common_cfg, queue_size) }.into() in max_queue_size()
239 let queue_notify_off = volread!(self.common_cfg, queue_notify_off); in notify()
302 volread!(self.common_cfg, queue_enable) == 1 in queue_used()
/DragonOS-0.1.8/kernel/src/driver/pci/
Dpci_irq.rs15 use crate::libs::volatile::{volread, volwrite, Volatile, VolatileReadable, VolatileWritable};
988 let pending_entry = unsafe { volread!(pending_entry, entry) }; in msix_check_pending()