Lines Matching refs:expected

77 	u64 retval, expected = 0;  in test_copy()  local
116 check(retval, expected, "remote first offset should be cleared", in test_copy()
119 check(retval, expected, "remote last offset should be cleared", in test_copy()
128 expected = 0xc0c0c0c0c0c0c0c0; in test_copy()
134 check(retval, expected, in test_copy()
137 check(retval, expected, in test_copy()
151 check(retval, expected, in test_copy()
154 check(retval, expected, in test_copy()
194 u64 retval, expected; in xe_migrate_sanity_test() local
249 expected = m->q->vm->pt_ops->pte_encode_bo(pt, 0, xe_cache_pat_idx(xe, XE_CACHE_WB), 0); in xe_migrate_sanity_test()
251 expected |= XE_PTE_PS64; in xe_migrate_sanity_test()
264 check(retval, expected, "PTE entry write", test); in xe_migrate_sanity_test()
270 expected = 0; in xe_migrate_sanity_test()
278 check(retval, expected, "Write to PT after adding PTE", test); in xe_migrate_sanity_test()
285 expected = 0; in xe_migrate_sanity_test()
293 check(retval, expected, "Command clear small first value", test); in xe_migrate_sanity_test()
295 check(retval, expected, "Command clear small last value", test); in xe_migrate_sanity_test()
307 expected = 0; in xe_migrate_sanity_test()
315 check(retval, expected, "Command clear big first value", test); in xe_migrate_sanity_test()
317 check(retval, expected, "Command clear big last value", test); in xe_migrate_sanity_test()
499 u64 expected, retval; in test_migrate() local
503 expected = 0xd0d0d0d0d0d0d0d0; in test_migrate()
509 if (retval == expected) in test_migrate()
528 check(retval, expected, "Clear evicted vram data first value", test); in test_migrate()
530 check(retval, expected, "Clear evicted vram data last value", test); in test_migrate()
567 check(retval, expected, "Restored value must be equal to initial value", test); in test_migrate()
569 check(retval, expected, "Restored value must be equal to initial value", test); in test_migrate()
586 u64 expected, retval; in test_clear() local
588 expected = 0xd0d0d0d0d0d0d0d0; in test_clear()
594 if (retval == expected) in test_clear()
602 check(retval, expected, "Decompressed value must be equal to initial value", test); in test_clear()
604 check(retval, expected, "Decompressed value must be equal to initial value", test); in test_clear()
609 expected = 0x0000000000000000; in test_clear()
620 check(retval, expected, "Clear main buffer first value", test); in test_clear()
622 check(retval, expected, "Clear main buffer last value", test); in test_clear()
630 check(retval, expected, "Clear ccs data first value", test); in test_clear()
632 check(retval, expected, "Clear ccs data last value", test); in test_clear()