Home
last modified time | relevance | path

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

/DragonOS-0.1.8/kernel/src/driver/virtio/
Dtransport_pci.rs82 common_cfg: NonNull<CommonCfg>, field
107 let mut common_cfg: Option<VirtioCapabilityInfo> = None; in new() localVariable
138 VIRTIO_PCI_CAP_COMMON_CFG if common_cfg.is_none() => { in new()
139 common_cfg = Some(struct_info); in new()
158 let common_cfg = get_bar_region::<_>( in new() localVariable
160 &common_cfg.ok_or(VirtioPciError::MissingCommonConfig)?, in new()
186 common_cfg, in new()
204 volwrite!(self.common_cfg, device_feature_select, 0); in read_device_features()
205 let mut device_features_bits = volread!(self.common_cfg, device_feature) as u64; in read_device_features()
206 volwrite!(self.common_cfg, device_feature_select, 1); in read_device_features()
[all …]