Lines Matching full:passed
35 int passed; member
45 unittest_results.passed++; \
206 "Updating an existing property should have passed\n"); in of_unittest_dynamic()
214 "Updating a missing property should have passed\n"); in of_unittest_dynamic()
218 "Removing a property should have passed\n"); in of_unittest_dynamic()
228 "Adding a large property should have passed\n"); in of_unittest_dynamic()
403 bool passed = true; in of_unittest_parse_phandle_with_args() local
412 passed &= !rc; in of_unittest_parse_phandle_with_args()
413 passed &= (args.args_count == 1); in of_unittest_parse_phandle_with_args()
414 passed &= (args.args[0] == (i + 1)); in of_unittest_parse_phandle_with_args()
417 passed &= !rc; in of_unittest_parse_phandle_with_args()
418 passed &= (args.args_count == 2); in of_unittest_parse_phandle_with_args()
419 passed &= (args.args[0] == (i + 1)); in of_unittest_parse_phandle_with_args()
420 passed &= (args.args[1] == 0); in of_unittest_parse_phandle_with_args()
423 passed &= (rc == -ENOENT); in of_unittest_parse_phandle_with_args()
426 passed &= !rc; in of_unittest_parse_phandle_with_args()
427 passed &= (args.args_count == 3); in of_unittest_parse_phandle_with_args()
428 passed &= (args.args[0] == (i + 1)); in of_unittest_parse_phandle_with_args()
429 passed &= (args.args[1] == 4); in of_unittest_parse_phandle_with_args()
430 passed &= (args.args[2] == 3); in of_unittest_parse_phandle_with_args()
433 passed &= !rc; in of_unittest_parse_phandle_with_args()
434 passed &= (args.args_count == 2); in of_unittest_parse_phandle_with_args()
435 passed &= (args.args[0] == (i + 1)); in of_unittest_parse_phandle_with_args()
436 passed &= (args.args[1] == 100); in of_unittest_parse_phandle_with_args()
439 passed &= !rc; in of_unittest_parse_phandle_with_args()
440 passed &= (args.args_count == 0); in of_unittest_parse_phandle_with_args()
443 passed &= !rc; in of_unittest_parse_phandle_with_args()
444 passed &= (args.args_count == 1); in of_unittest_parse_phandle_with_args()
445 passed &= (args.args[0] == (i + 1)); in of_unittest_parse_phandle_with_args()
448 passed &= (rc == -ENOENT); in of_unittest_parse_phandle_with_args()
451 passed = false; in of_unittest_parse_phandle_with_args()
454 unittest(passed, "index %i - data error on node %pOF rc=%i\n", in of_unittest_parse_phandle_with_args()
577 bool passed = true; in of_unittest_parse_phandle_with_args_map() local
586 passed &= !rc; in of_unittest_parse_phandle_with_args_map()
587 passed &= (args.np == p[1]); in of_unittest_parse_phandle_with_args_map()
588 passed &= (args.args_count == 1); in of_unittest_parse_phandle_with_args_map()
589 passed &= (args.args[0] == 1); in of_unittest_parse_phandle_with_args_map()
592 passed &= !rc; in of_unittest_parse_phandle_with_args_map()
593 passed &= (args.np == p[3]); in of_unittest_parse_phandle_with_args_map()
594 passed &= (args.args_count == 3); in of_unittest_parse_phandle_with_args_map()
595 passed &= (args.args[0] == 2); in of_unittest_parse_phandle_with_args_map()
596 passed &= (args.args[1] == 5); in of_unittest_parse_phandle_with_args_map()
597 passed &= (args.args[2] == 3); in of_unittest_parse_phandle_with_args_map()
600 passed &= (rc == -ENOENT); in of_unittest_parse_phandle_with_args_map()
603 passed &= !rc; in of_unittest_parse_phandle_with_args_map()
604 passed &= (args.np == p[0]); in of_unittest_parse_phandle_with_args_map()
605 passed &= (args.args_count == 0); in of_unittest_parse_phandle_with_args_map()
608 passed &= !rc; in of_unittest_parse_phandle_with_args_map()
609 passed &= (args.np == p[1]); in of_unittest_parse_phandle_with_args_map()
610 passed &= (args.args_count == 1); in of_unittest_parse_phandle_with_args_map()
611 passed &= (args.args[0] == 3); in of_unittest_parse_phandle_with_args_map()
614 passed &= !rc; in of_unittest_parse_phandle_with_args_map()
615 passed &= (args.np == p[0]); in of_unittest_parse_phandle_with_args_map()
616 passed &= (args.args_count == 0); in of_unittest_parse_phandle_with_args_map()
619 passed &= !rc; in of_unittest_parse_phandle_with_args_map()
620 passed &= (args.np == p[2]); in of_unittest_parse_phandle_with_args_map()
621 passed &= (args.args_count == 2); in of_unittest_parse_phandle_with_args_map()
622 passed &= (args.args[0] == 15); in of_unittest_parse_phandle_with_args_map()
623 passed &= (args.args[1] == 0x20); in of_unittest_parse_phandle_with_args_map()
626 passed &= !rc; in of_unittest_parse_phandle_with_args_map()
627 passed &= (args.np == p[3]); in of_unittest_parse_phandle_with_args_map()
628 passed &= (args.args_count == 3); in of_unittest_parse_phandle_with_args_map()
629 passed &= (args.args[0] == 2); in of_unittest_parse_phandle_with_args_map()
630 passed &= (args.args[1] == 5); in of_unittest_parse_phandle_with_args_map()
631 passed &= (args.args[2] == 3); in of_unittest_parse_phandle_with_args_map()
634 passed &= (rc == -ENOENT); in of_unittest_parse_phandle_with_args_map()
637 passed = false; in of_unittest_parse_phandle_with_args_map()
640 unittest(passed, "index %i - data error on node %s rc=%i\n", in of_unittest_parse_phandle_with_args_map()
1037 bool passed = true; in of_unittest_parse_interrupts() local
1042 passed &= !rc; in of_unittest_parse_interrupts()
1043 passed &= (args.args_count == 1); in of_unittest_parse_interrupts()
1044 passed &= (args.args[0] == (i + 1)); in of_unittest_parse_interrupts()
1046 unittest(passed, "index %i - data error on node %pOF rc=%i\n", in of_unittest_parse_interrupts()
1058 bool passed = true; in of_unittest_parse_interrupts() local
1066 passed &= !rc; in of_unittest_parse_interrupts()
1067 passed &= (args.args_count == 1); in of_unittest_parse_interrupts()
1068 passed &= (args.args[0] == 9); in of_unittest_parse_interrupts()
1071 passed &= !rc; in of_unittest_parse_interrupts()
1072 passed &= (args.args_count == 3); in of_unittest_parse_interrupts()
1073 passed &= (args.args[0] == 10); in of_unittest_parse_interrupts()
1074 passed &= (args.args[1] == 11); in of_unittest_parse_interrupts()
1075 passed &= (args.args[2] == 12); in of_unittest_parse_interrupts()
1078 passed &= !rc; in of_unittest_parse_interrupts()
1079 passed &= (args.args_count == 2); in of_unittest_parse_interrupts()
1080 passed &= (args.args[0] == 13); in of_unittest_parse_interrupts()
1081 passed &= (args.args[1] == 14); in of_unittest_parse_interrupts()
1084 passed &= !rc; in of_unittest_parse_interrupts()
1085 passed &= (args.args_count == 2); in of_unittest_parse_interrupts()
1086 passed &= (args.args[0] == 15); in of_unittest_parse_interrupts()
1087 passed &= (args.args[1] == 16); in of_unittest_parse_interrupts()
1090 passed = false; in of_unittest_parse_interrupts()
1092 unittest(passed, "index %i - data error on node %pOF rc=%i\n", in of_unittest_parse_interrupts()
1114 bool passed = true; in of_unittest_parse_interrupts_extended() local
1122 passed &= !rc; in of_unittest_parse_interrupts_extended()
1123 passed &= (args.args_count == 1); in of_unittest_parse_interrupts_extended()
1124 passed &= (args.args[0] == 1); in of_unittest_parse_interrupts_extended()
1127 passed &= !rc; in of_unittest_parse_interrupts_extended()
1128 passed &= (args.args_count == 3); in of_unittest_parse_interrupts_extended()
1129 passed &= (args.args[0] == 2); in of_unittest_parse_interrupts_extended()
1130 passed &= (args.args[1] == 3); in of_unittest_parse_interrupts_extended()
1131 passed &= (args.args[2] == 4); in of_unittest_parse_interrupts_extended()
1134 passed &= !rc; in of_unittest_parse_interrupts_extended()
1135 passed &= (args.args_count == 2); in of_unittest_parse_interrupts_extended()
1136 passed &= (args.args[0] == 5); in of_unittest_parse_interrupts_extended()
1137 passed &= (args.args[1] == 6); in of_unittest_parse_interrupts_extended()
1140 passed &= !rc; in of_unittest_parse_interrupts_extended()
1141 passed &= (args.args_count == 1); in of_unittest_parse_interrupts_extended()
1142 passed &= (args.args[0] == 9); in of_unittest_parse_interrupts_extended()
1145 passed &= !rc; in of_unittest_parse_interrupts_extended()
1146 passed &= (args.args_count == 3); in of_unittest_parse_interrupts_extended()
1147 passed &= (args.args[0] == 10); in of_unittest_parse_interrupts_extended()
1148 passed &= (args.args[1] == 11); in of_unittest_parse_interrupts_extended()
1149 passed &= (args.args[2] == 12); in of_unittest_parse_interrupts_extended()
1152 passed &= !rc; in of_unittest_parse_interrupts_extended()
1153 passed &= (args.args_count == 2); in of_unittest_parse_interrupts_extended()
1154 passed &= (args.args[0] == 13); in of_unittest_parse_interrupts_extended()
1155 passed &= (args.args[1] == 14); in of_unittest_parse_interrupts_extended()
1158 passed &= !rc; in of_unittest_parse_interrupts_extended()
1159 passed &= (args.args_count == 1); in of_unittest_parse_interrupts_extended()
1160 passed &= (args.args[0] == 15); in of_unittest_parse_interrupts_extended()
1163 passed = false; in of_unittest_parse_interrupts_extended()
1166 unittest(passed, "index %i - data error on node %pOF rc=%i\n", in of_unittest_parse_interrupts_extended()
1234 unittest(1, "passed"); in of_unittest_match_node()
2116 unittest(1, "overlay test %d passed\n", 0); in of_unittest_overlay_0()
2136 unittest(1, "overlay test %d passed\n", 1); in of_unittest_overlay_1()
2156 unittest(1, "overlay test %d passed\n", 2); in of_unittest_overlay_2()
2176 unittest(1, "overlay test %d passed\n", 3); in of_unittest_overlay_3()
2186 unittest(1, "overlay test %d passed\n", 4); in of_unittest_overlay_4()
2206 unittest(1, "overlay test %d passed\n", 5); in of_unittest_overlay_5()
2307 unittest(1, "overlay test %d passed\n", 6); in of_unittest_overlay_6()
2396 unittest(1, "overlay test %d passed\n", 8); in of_unittest_overlay_8()
2710 unittest(1, "overlay test %d passed\n", 12); in of_unittest_overlay_i2c_12()
2730 unittest(1, "overlay test %d passed\n", 13); in of_unittest_overlay_i2c_13()
2754 unittest(1, "overlay test %d passed\n", 15); in of_unittest_overlay_i2c_15()
2796 unittest(1, "basic infrastructure of overlays passed"); in of_unittest_overlay()
3330 pr_info("end of unittest - %i passed, %i failed\n", in of_unittest()
3331 unittest_results.passed, unittest_results.failed); in of_unittest()