Home
last modified time | relevance | path

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

/DragonOS-0.1.9/kernel/src/driver/timers/hpet/
Dmod.rs23 let cap = unsafe { volread!(p, capabilties) }; in timers_num()
30 let period = unsafe { volread!(p, period) }; in counter_clock_period()
41 let main_counter_value = unsafe { volread!(p, main_counter_value) }; in main_counter_value()
53 unsafe { volread!(p, general_config) } in general_config()
64 unsafe { volread!(p, general_intr_status) } in general_intr_status()
/DragonOS-0.1.9/kernel/src/driver/net/e1000e/
De1000e.rs262 let mut ctrl = volread!(general_regs, ctrl); in new()
270 ctrl = volread!(general_regs, ctrl); in new()
276 let mut gcr = volread!(pcie_regs, gcr); in new()
282 ctrl = volread!(general_regs, ctrl); in new()
286 let status = unsafe { volread!(general_regs, status) }; in new()
291 let ral = unsafe { volread!(ra_regs, ral0) }; in new()
292 let rah = unsafe { volread!(ra_regs, rah0) }; in new()
400 let icr = volread!(interrupt_regs, icr); in new()
404 let mut ims = volread!(interrupt_regs, ims); in new()
432 let mut rdt = unsafe { volread!(self.receive_regs, rdt0) } as usize; in e1000e_receive()
[all …]
/DragonOS-0.1.9/kernel/src/driver/virtio/
Dtransport_pci.rs17 volread, volwrite, ReadOnly, Volatile, VolatileReadable, VolatileWritable, WriteOnly,
253 let mut device_features_bits = volread!(self.common_cfg, device_feature) as u64; in read_device_features()
255 device_features_bits |= (volread!(self.common_cfg, device_feature) as u64) << 32; in read_device_features()
278 unsafe { volread!(self.common_cfg, queue_size) }.into() in max_queue_size()
287 let queue_notify_off = volread!(self.common_cfg, queue_notify_off); in notify()
328 let vector = volread!(self.common_cfg, queue_msix_vector); in queue_set()
354 volread!(self.common_cfg, queue_enable) == 1 in queue_used()
/DragonOS-0.1.9/kernel/src/libs/
Dvolatile.rs148 macro_rules! volread { macro
178 pub(crate) use volread;
/DragonOS-0.1.9/kernel/src/driver/pci/
Dpci_irq.rs19 use crate::libs::volatile::{volread, volwrite, Volatile};
1051 let pending_entry = unsafe { volread!(pending_entry, entry) }; in msix_check_pending()