Home
last modified time | relevance | path

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

/external/rust/crates/virtio-drivers/src/transport/pci/
Dbus.rs253 let bar_orig = self.config_read_word(device_function, BAR0_OFFSET + 4 * bar_index); in bar_info() localVariable
263 self.config_write_word(device_function, BAR0_OFFSET + 4 * bar_index, bar_orig); in bar_info()
265 if bar_orig & 0x00000001 == 0x00000001 { in bar_info()
267 let address = bar_orig & 0xfffffffc; in bar_info()
271 let mut address = u64::from(bar_orig & 0xfffffff0); in bar_info()
272 let prefetchable = bar_orig & 0x00000008 != 0; in bar_info()
273 let address_type = MemoryBarType::try_from(((bar_orig & 0x00000006) >> 1) as u8)?; in bar_info()