Searched refs:config_space (Results 1 – 3 of 3) sorted by relevance
101 config_space: Option<NonNull<[u32]>>, field207 let config_space = if let Some(device_cfg) = device_cfg { in new() localVariable222 config_space, in new()369 fn config_space<T>(&self) -> Result<NonNull<T>, Error> { in config_space() method370 if let Some(config_space) = self.config_space { in config_space()371 if size_of::<T>() > config_space.len() * size_of::<u32>() { in config_space()381 let config_space_ptr = NonNull::new(config_space.as_ptr() as *mut u32).unwrap(); in config_space()
191 fn config_space<T: 'static>(&self) -> virtio_drivers::Result<core::ptr::NonNull<T>> { in config_space() method193 VirtIOTransport::Pci(transport) => transport.config_space(), in config_space()194 VirtIOTransport::Mmio(transport) => transport.config_space(), in config_space()
151 fn config_space<T: 'static>(&self) -> virtio_drivers::Result<core::ptr::NonNull<T>> { in config_space() method152 self.mmio_transport.config_space() in config_space()