Lines Matching +full:0 +full:x30000
42 .extended_tseg_mbytes = 0,
47 .extended_tseg_mbytes = 0,
52 .extended_tseg_mbytes = 0,
93 pcidev = qpci_device_find(pcibus, 0); in test_smram_lock()
144 pcidev = qpci_device_find(pcibus, 0); in test_tseg_size()
167 * byte in the TSEG always reads as 0xff. in test_tseg_size()
171 g_assert_cmpint(qtest_readb(qts, ram_offs), ==, 0); in test_tseg_size()
176 g_assert_cmpint(qtest_readb(qts, ram_offs), ==, 0xff); in test_tseg_size()
178 g_assert_cmpint(qtest_readb(qts, ram_offs), ==, 0xff); in test_tseg_size()
185 #define SMBASE 0x30000
186 #define SMRAM_TEST_PATTERN 0x32
187 #define SMRAM_TEST_RESET_PATTERN 0x23
201 pcidev = qpci_device_find(pcibus, 0); in test_smram_smbase_lock()
205 g_assert(qpci_config_readb(pcidev, MCH_HOST_BRIDGE_F_SMBASE) == 0); in test_smram_smbase_lock()
209 /* check that writing junk to 0x9c before before negotiating is ignored */ in test_smram_smbase_lock()
210 for (i = 0; i < 0xff; i++) { in test_smram_smbase_lock()
212 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, 0xff); in test_smram_smbase_lock()
217 g_assert(qpci_config_readb(pcidev, MCH_HOST_BRIDGE_F_SMBASE) == 0x01); in test_smram_smbase_lock()
219 qpci_config_writeb(pcidev, MCH_HOST_BRIDGE_F_SMBASE, 0x02); in test_smram_smbase_lock()
220 g_assert(qpci_config_readb(pcidev, MCH_HOST_BRIDGE_F_SMBASE) == 0x02); in test_smram_smbase_lock()
223 g_assert_cmpint(qtest_readb(qts, SMBASE), ==, 0xff); in test_smram_smbase_lock()
224 for (i = 0; i <= 0xff; i++) { in test_smram_smbase_lock()
227 g_assert(qpci_config_readb(pcidev, MCH_HOST_BRIDGE_F_SMBASE) == 0x02); in test_smram_smbase_lock()
231 g_assert_cmpint(qtest_readb(qts, SMBASE), ==, 0xff); in test_smram_smbase_lock()
239 g_assert(qpci_config_readb(pcidev, MCH_HOST_BRIDGE_F_SMBASE) == 0); in test_smram_smbase_lock()