Searched refs:no_round_down (Results 1 – 1 of 1) sorted by relevance
/openbmc/qemu/tests/unit/ |
H A D | ptimer-test.c | 108 bool no_round_down = (*policy & PTIMER_POLICY_NO_COUNTER_ROUND_DOWN); in check_oneshot() local 120 g_assert_cmpuint(ptimer_get_count(ptimer), ==, no_round_down ? 8 : 7); in check_oneshot() 127 g_assert_cmpuint(ptimer_get_count(ptimer), ==, no_round_down ? 8 : 7); in check_oneshot() 132 g_assert_cmpuint(ptimer_get_count(ptimer), ==, no_round_down ? 8 : 7); in check_oneshot() 141 g_assert_cmpuint(ptimer_get_count(ptimer), ==, no_round_down ? 1 : 0); in check_oneshot() 143 if (no_round_down) { in check_oneshot() 155 if (no_round_down) { in check_oneshot() 192 g_assert_cmpuint(ptimer_get_count(ptimer), ==, no_round_down ? 8 : 7); in check_oneshot() 201 g_assert_cmpuint(ptimer_get_count(ptimer), ==, no_round_down ? 1 : 0); in check_oneshot() 229 bool no_round_down = (*policy & PTIMER_POLICY_NO_COUNTER_ROUND_DOWN); in check_periodic() local [all …]
|