Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/powerpc/dscr/
H A Ddscr_explicit_test.c32 unsigned long expected_dscr = 0; in dscr_explicit_lockstep_thread() local
34 set_dscr(expected_dscr); in dscr_explicit_lockstep_thread()
43 expected_dscr = (expected_dscr + 1) % DSCR_MAX; in dscr_explicit_lockstep_thread()
44 set_dscr(expected_dscr); in dscr_explicit_lockstep_thread()
58 unsigned long expected_dscr = 0; in dscr_explicit_lockstep_test() local
63 set_dscr(expected_dscr); in dscr_explicit_lockstep_test()
76 expected_dscr = (expected_dscr - 1) % DSCR_MAX; in dscr_explicit_lockstep_test()
77 set_dscr(expected_dscr); in dscr_explicit_lockstep_test()
98 unsigned long expected_dscr = 0; in dscr_explicit_random_thread() local
108 set_dscr(expected_dscr); in dscr_explicit_random_thread()
[all …]
H A Ddscr_default_test.c25 unsigned long expected_dscr = 0; in dscr_default_lockstep_writer() local
30 set_default_dscr(expected_dscr); in dscr_default_lockstep_writer()
31 expected_dscr = (expected_dscr + 1) % DSCR_MAX; in dscr_default_lockstep_writer()
45 unsigned long expected_dscr = 0; in dscr_default_lockstep_test() local
57 FAIL_IF(get_dscr() != expected_dscr); in dscr_default_lockstep_test()
58 FAIL_IF(get_dscr_usr() != expected_dscr); in dscr_default_lockstep_test()
60 expected_dscr = (expected_dscr + 1) % DSCR_MAX; in dscr_default_lockstep_test()
92 unsigned long expected_dscr; in dscr_default_random_thread() local
97 expected_dscr = *expected_dscr_p; in dscr_default_random_thread()
102 FAIL_IF_EXIT(current_dscr != expected_dscr); in dscr_default_random_thread()
[all …]