Lines Matching refs:tim_read

132 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()
265 g_assert_cmphex(tim_read(td, TISR), ==, 0); in test_oneshot_ps5()
270 g_assert_cmphex(tim_read(td, TISR), ==, 0); in test_oneshot_ps5()
292 g_assert_cmphex(tim_read(td, TISR), ==, 0); in test_oneshot_ps0()
298 g_assert_cmphex(tim_read(td, TISR), ==, tim_timer_bit(td)); in test_oneshot_ps0()
320 g_assert_cmphex(tim_read(td, TISR), ==, 0); in test_oneshot_ps255()
326 g_assert_cmphex(tim_read(td, TISR), ==, tim_timer_bit(td)); in test_oneshot_ps255()
344 g_assert_cmphex(tim_read(td, TISR), ==, tim_timer_bit(td)); in test_oneshot_interrupt()
371 g_assert_cmphex(tim_read(td, TISR), ==, 0); in test_pause_resume()
378 g_assert_cmphex(tim_read(td, TISR), ==, 0); in test_pause_resume()
383 g_assert_cmphex(tim_read(td, TISR), ==, tim_timer_bit(td)); in test_pause_resume()
426 g_assert_cmphex(tim_read(td, TISR), ==, 0); in test_prescaler_change()
430 g_assert_cmphex(tim_read(td, TISR), ==, tim_timer_bit(td)); in test_prescaler_change()
449 g_assert_cmphex(tim_read(td, TISR), ==, tim_timer_bit(td)); in test_periodic_no_interrupt()
454 g_assert_cmphex(tim_read(td, TISR), ==, 0); in test_periodic_no_interrupt()
476 g_assert_cmphex(tim_read(td, TISR), ==, tim_timer_bit(td)); in test_periodic_interrupt()
481 g_assert_cmphex(tim_read(td, TISR), ==, 0); in test_periodic_interrupt()
507 g_assert_cmphex(tim_read(td, TISR), ==, tim_timer_bit(td)); in test_disable_on_expiration()