Home
last modified time | relevance | path

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

/openbmc/qemu/tests/qtest/
H A Dnpcm7xx_timer-test.c132 static uint32_t tim_read(const TestData *td, unsigned int offset) in tim_read() function
144 return tim_read(td, td->timer->tcsr_offset); in tim_read_tcsr()
154 return tim_read(td, td->timer->ticr_offset); in tim_read_ticr()
159 return tim_read(td, td->timer->tdr_offset); in tim_read_tdr()
199 g_assert_cmphex(tim_read(td, TISR), ==, 0); in test_reset()
200 g_assert_cmphex(tim_read(td, WTCR), ==, WTCLK(1)); in test_reset()
215 g_assert_cmphex(tim_read(td, TISR), ==, 0); in test_reset_overrides_enable()
232 g_assert_cmphex(tim_read(td, TISR), ==, tim_timer_bit(td)); in test_oneshot_enable_then_disable()
254 g_assert_cmphex(tim_read(td, TISR), ==, 0); in test_oneshot_ps5()
260 g_assert_cmphex(tim_read(td, TISR), ==, tim_timer_bit(td)); in test_oneshot_ps5()
[all …]