Searched refs:OFFSET_CTL1 (Results 1 – 1 of 1) sorted by relevance
/openbmc/qemu/tests/qtest/ |
H A D | npcm7xx_smbus-test.c | 37 OFFSET_CTL1 = 0x6, enumerator 218 qtest_writeb(qts, base_addr + OFFSET_CTL1, ctl1); in start_transfer() 219 g_assert_cmphex(qtest_readb(qts, base_addr + OFFSET_CTL1), ==, in start_transfer() 228 uint8_t ctl1 = qtest_readb(qts, base_addr + OFFSET_CTL1); in stop_transfer() 232 qtest_writeb(qts, base_addr + OFFSET_CTL1, ctl1); in stop_transfer() 233 ctl1 = qtest_readb(qts, base_addr + OFFSET_CTL1); in stop_transfer() 308 uint8_t ctl1 = qtest_readb(qts, base_addr + OFFSET_CTL1); in send_nack() 312 qtest_writeb(qts, base_addr + OFFSET_CTL1, ctl1); in send_nack() 346 g_assert_cmphex(qtest_readb(qts, base_addr + OFFSET_CTL1), ==, 0); in test_disable_bus()
|