Home
last modified time | relevance | path

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

/DragonOS-0.1.8/kernel/src/driver/virtio/
Dtransport_pci.rs89 config_space: Option<NonNull<[u32]>>, field
175 let config_space = if let Some(device_cfg) = device_cfg { in new() localVariable
190 config_space, in new()
315 fn config_space<T>(&self) -> Result<NonNull<T>, Error> { in config_space() method
316 if let Some(config_space) = self.config_space { in config_space()
317 if size_of::<T>() > config_space.len() * size_of::<u32>() { in config_space()
327 let config_space_ptr = NonNull::new(config_space.as_ptr() as *mut u32).unwrap(); in config_space()