Home
last modified time | relevance | path

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

/openbmc/qemu/tests/qtest/
H A Dq35-test.c210 g_assert(qpci_config_readb(pcidev, MCH_HOST_BRIDGE_F_SMBASE) == 0); in test_smram_smbase_lock()
216 qpci_config_writeb(pcidev, MCH_HOST_BRIDGE_F_SMBASE, i); in test_smram_smbase_lock()
217 g_assert(qpci_config_readb(pcidev, MCH_HOST_BRIDGE_F_SMBASE) == 0); in test_smram_smbase_lock()
221 qpci_config_writeb(pcidev, MCH_HOST_BRIDGE_F_SMBASE, 0xff); in test_smram_smbase_lock()
222 g_assert(qpci_config_readb(pcidev, MCH_HOST_BRIDGE_F_SMBASE) == 0x01); in test_smram_smbase_lock()
224 qpci_config_writeb(pcidev, MCH_HOST_BRIDGE_F_SMBASE, 0x02); in test_smram_smbase_lock()
225 g_assert(qpci_config_readb(pcidev, MCH_HOST_BRIDGE_F_SMBASE) == 0x02); in test_smram_smbase_lock()
231 qpci_config_writeb(pcidev, MCH_HOST_BRIDGE_F_SMBASE, i); in test_smram_smbase_lock()
232 g_assert(qpci_config_readb(pcidev, MCH_HOST_BRIDGE_F_SMBASE) == 0x02); in test_smram_smbase_lock()
247 g_assert(qpci_config_readb(pcidev, MCH_HOST_BRIDGE_F_SMBASE) == 0); in test_smram_smbase_lock()
[all …]
/openbmc/qemu/hw/pci-host/
H A Dq35.c428 uint8_t *reg = pd->config + MCH_HOST_BRIDGE_F_SMBASE; in mch_update_smbase_smram()
436 pd->wmask[MCH_HOST_BRIDGE_F_SMBASE] = in mch_update_smbase_smram()
446 if (pd->wmask[MCH_HOST_BRIDGE_F_SMBASE] == 0xff) { in mch_update_smbase_smram()
453 pd->wmask[MCH_HOST_BRIDGE_F_SMBASE] &= in mch_update_smbase_smram()
496 if (ranges_overlap(address, len, MCH_HOST_BRIDGE_F_SMBASE, 1)) { in mch_write_config()
562 d->config[MCH_HOST_BRIDGE_F_SMBASE] = 0; in mch_reset()
563 d->wmask[MCH_HOST_BRIDGE_F_SMBASE] = 0xff; in mch_reset()
/openbmc/qemu/include/hw/pci-host/
H A Dq35.h93 #define MCH_HOST_BRIDGE_F_SMBASE 0x9c macro