Home
last modified time | relevance | path

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

/openbmc/qemu/tests/qtest/
H A Dnpcm7xx_gpio-test.c25 #define GP_N_TLOCK1 0x00 macro
58 if (readl(GPIO(n) + GP_N_TLOCK1) != 0) { in gpio_unlock()
60 writel(GPIO(n) + GP_N_TLOCK1, 0xc0defa73); in gpio_unlock()
212 g_assert_cmphex(readl(GPIO(0) + GP_N_TLOCK1), ==, 0); in test_temp_lock()
214 writel(GPIO(0) + GP_N_TLOCK1, 0); in test_temp_lock()
215 g_assert_cmphex(readl(GPIO(0) + GP_N_TLOCK1), ==, 1); in test_temp_lock()
220 g_assert_cmphex(readl(GPIO(0) + GP_N_TLOCK1), ==, 0); in test_temp_lock()
226 g_assert_cmphex(readl(GPIO(0) + GP_N_TLOCK1), ==, 1); in test_temp_lock()
231 g_assert_cmphex(readl(GPIO(0) + GP_N_TLOCK1), ==, 0); in test_temp_lock()