Lines Matching refs:no_round_down
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
245 g_assert_cmpuint(ptimer_get_count(ptimer), ==, no_round_down ? 10 : 9); in check_periodic()
256 wrap_policy ? 0 : (no_round_down ? 10 : 9)); in check_periodic()
264 (no_round_down ? 9 : 8) + (wrap_policy ? 1 : 0)); in check_periodic()
276 g_assert_cmpuint(ptimer_get_count(ptimer), ==, no_round_down ? 20 : 19); in check_periodic()
281 g_assert_cmpuint(ptimer_get_count(ptimer), ==, no_round_down ? 9 : 8); in check_periodic()
287 (no_round_down ? 9 : 8) + (wrap_policy ? 1 : 0)); in check_periodic()
301 g_assert_cmpuint(ptimer_get_count(ptimer), ==, no_round_down ? 3 : 2); in check_periodic()
307 (no_round_down ? 9 : 8) + (wrap_policy ? 1 : 0)); in check_periodic()
318 (no_round_down ? 9 : 8) + (wrap_policy ? 1 : 0)); in check_periodic()
329 wrap_policy ? 0 : (no_round_down ? 10 : 9)); in check_periodic()
337 (no_round_down ? 9 : 8) + (wrap_policy ? 1 : 0)); in check_periodic()
371 g_assert_cmpuint(ptimer_get_count(ptimer), ==, no_round_down ? 10 : 9); in check_periodic()
377 (no_round_down ? 8 : 7) + (wrap_policy ? 1 : 0)); in check_periodic()
389 (no_round_down ? 8 : 7) + (wrap_policy ? 1 : 0)); in check_periodic()
403 (no_round_down ? 8 : 7) + (wrap_policy ? 1 : 0)); in check_periodic()
413 bool no_round_down = (*policy & PTIMER_POLICY_NO_COUNTER_ROUND_DOWN); in check_on_the_fly_mode_change() local
425 g_assert_cmpuint(ptimer_get_count(ptimer), ==, no_round_down ? 1 : 0); in check_on_the_fly_mode_change()
432 g_assert_cmpuint(ptimer_get_count(ptimer), ==, no_round_down ? 1 : 0); in check_on_the_fly_mode_change()
438 wrap_policy ? 0 : (no_round_down ? 10 : 9)); in check_on_the_fly_mode_change()
450 (no_round_down ? 1 : 0) + (wrap_policy ? 1 : 0)); in check_on_the_fly_mode_change()
464 bool no_round_down = (*policy & PTIMER_POLICY_NO_COUNTER_ROUND_DOWN); in check_on_the_fly_period_change() local
476 g_assert_cmpuint(ptimer_get_count(ptimer), ==, no_round_down ? 4 : 3); in check_on_the_fly_period_change()
482 g_assert_cmpuint(ptimer_get_count(ptimer), ==, no_round_down ? 4 : 3); in check_on_the_fly_period_change()
486 g_assert_cmpuint(ptimer_get_count(ptimer), ==, no_round_down ? 2 : 0); in check_on_the_fly_period_change()
500 bool no_round_down = (*policy & PTIMER_POLICY_NO_COUNTER_ROUND_DOWN); in check_on_the_fly_freq_change() local
512 g_assert_cmpuint(ptimer_get_count(ptimer), ==, no_round_down ? 4 : 3); in check_on_the_fly_freq_change()
518 g_assert_cmpuint(ptimer_get_count(ptimer), ==, no_round_down ? 4 : 3); in check_on_the_fly_freq_change()
522 g_assert_cmpuint(ptimer_get_count(ptimer), ==, no_round_down ? 2 : 0); in check_on_the_fly_freq_change()
558 bool no_round_down = (*policy & PTIMER_POLICY_NO_COUNTER_ROUND_DOWN); in check_run_with_delta_0() local
583 no_immediate_reload ? 0 : (no_round_down ? 98 : 97)); in check_run_with_delta_0()
601 g_assert_cmpuint(ptimer_get_count(ptimer), ==, no_round_down ? 98 : 97); in check_run_with_delta_0()
606 g_assert_cmpuint(ptimer_get_count(ptimer), ==, no_round_down ? 1 : 0); in check_run_with_delta_0()
637 g_assert_cmpuint(ptimer_get_count(ptimer), ==, no_round_down ? 99 : 98); in check_run_with_delta_0()
649 g_assert_cmpuint(ptimer_get_count(ptimer), ==, no_round_down ? 98 : 97); in check_run_with_delta_0()
655 wrap_policy ? 0 : (no_round_down ? 99 : 98)); in check_run_with_delta_0()
770 bool no_round_down = (*policy & PTIMER_POLICY_NO_COUNTER_ROUND_DOWN); in check_freq_more_than_1000M() local
782 g_assert_cmpuint(ptimer_get_count(ptimer), ==, no_round_down ? 3 : 2); in check_freq_more_than_1000M()