Home
last modified time | relevance | path

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

/external/crosvm/devices/src/pci/
Dpci_device.rs35 use crate::pci::pci_configuration::COMMAND_REG;
545 let old_command_reg = self.read_config_register(COMMAND_REG); in config_register_write()
555 let new_command_reg = self.read_config_register(COMMAND_REG); in config_register_write()
988 test_dev.config_register_write(COMMAND_REG, 0, &0u32.to_le_bytes()); in config_write_result()
992 test_dev.config_register_write(COMMAND_REG, 0, &1u32.to_le_bytes()), in config_write_result()
1004 test_dev.config_register_write(COMMAND_REG, 0, &3u32.to_le_bytes()), in config_write_result()
1016 test_dev.config_register_write(COMMAND_REG, 0, &3u32.to_le_bytes()), in config_write_result()
1028 test_dev.config_register_write(COMMAND_REG, 0, &2u32.to_le_bytes()), in config_write_result()
1040 test_dev.config_register_write(COMMAND_REG, 0, &0u32.to_le_bytes()), in config_write_result()
1054 test_dev.config_register_write(COMMAND_REG, 0, &3u32.to_le_bytes()), in config_write_result()
Dpci_configuration.rs23 pub const COMMAND_REG: usize = 1; constant
549 self.registers[COMMAND_REG] |= COMMAND_REG_MEMORY_SPACE_MASK; in add_pci_bar()
556 self.registers[COMMAND_REG] |= COMMAND_REG_IO_SPACE_MASK; in add_pci_bar()
585 let command = self.read_reg(COMMAND_REG); in get_bar_configuration()
Dcoiommu.rs77 use crate::pci::pci_configuration::COMMAND_REG;
1514 if reg_idx == COMMAND_REG in write_config_register()