Home
last modified time | relevance | path

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

/external/crosvm/devices/src/pci/
Dpci_configuration.rs35 pub const BAR0_REG: usize = 4; constant
611 BAR0_REG + bar_num in get_bar_addr()
714 BAR0_REG + self.bar_idx in reg_index()
946 assert_eq!(cfg.writable_bits[BAR0_REG + 1], 0xFFFFFFFF); in add_pci_bar_mem_64bit()
947 assert_eq!(cfg.writable_bits[BAR0_REG + 0], 0xFFFFFFF0); in add_pci_bar_mem_64bit()
993 assert_eq!(cfg.writable_bits[BAR0_REG], 0xFFFFFFF0); in add_pci_bar_mem_32bit()
1036 assert_eq!(cfg.writable_bits[BAR0_REG], 0xFFFFFFFC); in add_pci_bar_io()
Dpci_device.rs901 use crate::pci::pci_configuration::BAR0_REG;
1066 test_dev.config_register_write(BAR0_REG, 0, &0xD0000000u32.to_le_bytes()), in config_write_result()