Searched refs:volwrite (Results 1 – 3 of 3) sorted by relevance
/DragonOS-0.1.8/kernel/src/driver/virtio/ |
D | transport_pci.rs | 9 volread, volwrite, ReadOnly, Volatile, VolatileReadable, VolatileWritable, WriteOnly, 204 volwrite!(self.common_cfg, device_feature_select, 0); in read_device_features() 206 volwrite!(self.common_cfg, device_feature_select, 1); in read_device_features() 216 volwrite!(self.common_cfg, driver_feature_select, 0); in write_driver_features() 217 volwrite!(self.common_cfg, driver_feature, driver_features as u32); in write_driver_features() 218 volwrite!(self.common_cfg, driver_feature_select, 1); in write_driver_features() 219 volwrite!( in write_driver_features() 237 volwrite!(self.common_cfg, queue_select, queue); in notify() 251 volwrite!(self.common_cfg, device_status, status.bits() as u8); in set_status() 276 volwrite!(self.common_cfg, queue_select, queue); in queue_set() [all …]
|
/DragonOS-0.1.8/kernel/src/libs/ |
D | volatile.rs | 167 macro_rules! volwrite { macro 174 pub(crate) use volwrite;
|
/DragonOS-0.1.8/kernel/src/driver/pci/ |
D | pci_irq.rs | 15 use crate::libs::volatile::{volread, volwrite, Volatile, VolatileReadable, VolatileWritable}; 514 volwrite!(msix_entry, vector_control, 0); in msix_install() 515 volwrite!(msix_entry, msg_data, msg_data); in msix_install() 516 volwrite!(msix_entry, msg_upper_addr, 0); in msix_install() 517 volwrite!(msix_entry, msg_addr, msg_address); in msix_install() 630 volwrite!(msix_entry, vector_control, 0); in msix_uninstall() 631 volwrite!(msix_entry, msg_data, 0); in msix_uninstall() 632 volwrite!(msix_entry, msg_upper_addr, 0); in msix_uninstall() 633 volwrite!(msix_entry, msg_addr, 0); in msix_uninstall() 755 volwrite!(msix_entry, vector_control, 1); in msix_mask() [all …]
|