Home
last modified time | relevance | path

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

/external/crosvm/devices/src/pci/
Dpci_device.rs13 self, COMMAND_REG, COMMAND_REG_IO_SPACE_MASK, COMMAND_REG_MEMORY_SPACE_MASK,
159 if reg_idx == COMMAND_REG { in config_register_write()
160 let old_command_reg = self.read_config_register(COMMAND_REG); in config_register_write()
162 let new_command_reg = self.read_config_register(COMMAND_REG); in config_register_write()
290 test_dev.config_register_write(COMMAND_REG, 0, &0u32.to_le_bytes()); in config_write_result()
294 test_dev.config_register_write(COMMAND_REG, 0, &1u32.to_le_bytes()), in config_write_result()
303 test_dev.config_register_write(COMMAND_REG, 0, &3u32.to_le_bytes()), in config_write_result()
312 test_dev.config_register_write(COMMAND_REG, 0, &3u32.to_le_bytes()), in config_write_result()
321 test_dev.config_register_write(COMMAND_REG, 0, &2u32.to_le_bytes()), in config_write_result()
330 test_dev.config_register_write(COMMAND_REG, 0, &1u32.to_le_bytes()), in config_write_result()
Dpci_configuration.rs14 pub const COMMAND_REG: usize = 1; constant
477 self.registers[COMMAND_REG] |= COMMAND_REG_MEMORY_SPACE_MASK; in add_pci_bar()
484 self.registers[COMMAND_REG] |= COMMAND_REG_IO_SPACE_MASK; in add_pci_bar()