Searched refs:SMBASE (Results 1 – 2 of 2) sorted by relevance
/openbmc/qemu/tests/qtest/ |
H A D | q35-test.c | 189 #define SMBASE 0x30000 macro 211 qtest_writeb(qts, SMBASE, SMRAM_TEST_PATTERN); in test_smram_smbase_lock() 212 g_assert_cmpint(qtest_readb(qts, SMBASE), ==, SMRAM_TEST_PATTERN); in test_smram_smbase_lock() 228 g_assert_cmpint(qtest_readb(qts, SMBASE), ==, 0xff); in test_smram_smbase_lock() 235 qtest_writeb(qts, SMBASE, SMRAM_TEST_PATTERN); in test_smram_smbase_lock() 236 g_assert_cmpint(qtest_readb(qts, SMBASE), ==, 0xff); in test_smram_smbase_lock() 246 g_assert_cmpint(qtest_readb(qts, SMBASE), ==, SMRAM_TEST_PATTERN); in test_smram_smbase_lock() 248 qtest_writeb(qts, SMBASE, SMRAM_TEST_RESET_PATTERN); in test_smram_smbase_lock() 249 g_assert_cmpint(qtest_readb(qts, SMBASE), ==, SMRAM_TEST_RESET_PATTERN); in test_smram_smbase_lock() 273 qtest_writeb(qts, SMBASE, SMRAM_TEST_PATTERN); in test_without_smram_base() [all …]
|
/openbmc/linux/drivers/mfd/ |
H A D | lpc_sch.c | 22 #define SMBASE 0x40 macro 140 ret = lpc_sch_populate_cell(dev, SMBASE, "isch_smbus", in lpc_sch_probe()
|