Home
last modified time | relevance | path

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

/DragonOS-0.1.7/kernel/src/libs/
Dvolatile.rs148 macro_rules! volread { macro
172 pub(crate) use volread;
/DragonOS-0.1.7/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()