Lines Matching full:passed
37 int passed; member
47 unittest_results.passed++; \
215 "Updating an existing property should have passed\n"); in of_unittest_dynamic()
223 "Updating a missing property should have passed\n"); in of_unittest_dynamic()
227 "Removing a property should have passed\n"); in of_unittest_dynamic()
237 "Adding a large property should have passed\n"); in of_unittest_dynamic()
412 bool passed = true; in of_unittest_parse_phandle_with_args() local
421 passed &= !rc; in of_unittest_parse_phandle_with_args()
422 passed &= (args.args_count == 1); in of_unittest_parse_phandle_with_args()
423 passed &= (args.args[0] == (i + 1)); in of_unittest_parse_phandle_with_args()
426 passed &= !rc; in of_unittest_parse_phandle_with_args()
427 passed &= (args.args_count == 2); 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] == 0); in of_unittest_parse_phandle_with_args()
432 passed &= (rc == -ENOENT); in of_unittest_parse_phandle_with_args()
435 passed &= !rc; in of_unittest_parse_phandle_with_args()
436 passed &= (args.args_count == 3); in of_unittest_parse_phandle_with_args()
437 passed &= (args.args[0] == (i + 1)); in of_unittest_parse_phandle_with_args()
438 passed &= (args.args[1] == 4); in of_unittest_parse_phandle_with_args()
439 passed &= (args.args[2] == 3); in of_unittest_parse_phandle_with_args()
442 passed &= !rc; in of_unittest_parse_phandle_with_args()
443 passed &= (args.args_count == 2); in of_unittest_parse_phandle_with_args()
444 passed &= (args.args[0] == (i + 1)); in of_unittest_parse_phandle_with_args()
445 passed &= (args.args[1] == 100); in of_unittest_parse_phandle_with_args()
448 passed &= !rc; in of_unittest_parse_phandle_with_args()
449 passed &= (args.args_count == 0); in of_unittest_parse_phandle_with_args()
452 passed &= !rc; in of_unittest_parse_phandle_with_args()
453 passed &= (args.args_count == 1); in of_unittest_parse_phandle_with_args()
454 passed &= (args.args[0] == (i + 1)); in of_unittest_parse_phandle_with_args()
457 passed &= (rc == -ENOENT); in of_unittest_parse_phandle_with_args()
460 passed = false; in of_unittest_parse_phandle_with_args()
463 unittest(passed, "index %i - data error on node %pOF rc=%i\n", in of_unittest_parse_phandle_with_args()
586 bool passed = true; in of_unittest_parse_phandle_with_args_map() local
595 passed &= !rc; in of_unittest_parse_phandle_with_args_map()
596 passed &= (args.np == p[1]); in of_unittest_parse_phandle_with_args_map()
597 passed &= (args.args_count == 1); in of_unittest_parse_phandle_with_args_map()
598 passed &= (args.args[0] == 1); in of_unittest_parse_phandle_with_args_map()
601 passed &= !rc; in of_unittest_parse_phandle_with_args_map()
602 passed &= (args.np == p[3]); in of_unittest_parse_phandle_with_args_map()
603 passed &= (args.args_count == 3); in of_unittest_parse_phandle_with_args_map()
604 passed &= (args.args[0] == 2); in of_unittest_parse_phandle_with_args_map()
605 passed &= (args.args[1] == 5); in of_unittest_parse_phandle_with_args_map()
606 passed &= (args.args[2] == 3); in of_unittest_parse_phandle_with_args_map()
609 passed &= (rc == -ENOENT); in of_unittest_parse_phandle_with_args_map()
612 passed &= !rc; in of_unittest_parse_phandle_with_args_map()
613 passed &= (args.np == p[0]); in of_unittest_parse_phandle_with_args_map()
614 passed &= (args.args_count == 0); in of_unittest_parse_phandle_with_args_map()
617 passed &= !rc; in of_unittest_parse_phandle_with_args_map()
618 passed &= (args.np == p[1]); in of_unittest_parse_phandle_with_args_map()
619 passed &= (args.args_count == 1); in of_unittest_parse_phandle_with_args_map()
620 passed &= (args.args[0] == 3); in of_unittest_parse_phandle_with_args_map()
623 passed &= !rc; in of_unittest_parse_phandle_with_args_map()
624 passed &= (args.np == p[0]); in of_unittest_parse_phandle_with_args_map()
625 passed &= (args.args_count == 0); in of_unittest_parse_phandle_with_args_map()
628 passed &= !rc; in of_unittest_parse_phandle_with_args_map()
629 passed &= (args.np == p[2]); in of_unittest_parse_phandle_with_args_map()
630 passed &= (args.args_count == 2); in of_unittest_parse_phandle_with_args_map()
631 passed &= (args.args[0] == 15); in of_unittest_parse_phandle_with_args_map()
632 passed &= (args.args[1] == 0x20); in of_unittest_parse_phandle_with_args_map()
635 passed &= !rc; in of_unittest_parse_phandle_with_args_map()
636 passed &= (args.np == p[3]); in of_unittest_parse_phandle_with_args_map()
637 passed &= (args.args_count == 3); in of_unittest_parse_phandle_with_args_map()
638 passed &= (args.args[0] == 2); in of_unittest_parse_phandle_with_args_map()
639 passed &= (args.args[1] == 5); in of_unittest_parse_phandle_with_args_map()
640 passed &= (args.args[2] == 3); in of_unittest_parse_phandle_with_args_map()
643 passed &= (rc == -ENOENT); in of_unittest_parse_phandle_with_args_map()
646 passed = false; in of_unittest_parse_phandle_with_args_map()
649 unittest(passed, "index %i - data error on node %s rc=%i\n", in of_unittest_parse_phandle_with_args_map()
1237 bool passed = true; in of_unittest_parse_interrupts() local
1242 passed &= !rc; in of_unittest_parse_interrupts()
1243 passed &= (args.args_count == 1); in of_unittest_parse_interrupts()
1244 passed &= (args.args[0] == (i + 1)); in of_unittest_parse_interrupts()
1246 unittest(passed, "index %i - data error on node %pOF rc=%i\n", in of_unittest_parse_interrupts()
1258 bool passed = true; in of_unittest_parse_interrupts() local
1266 passed &= !rc; in of_unittest_parse_interrupts()
1267 passed &= (args.args_count == 1); in of_unittest_parse_interrupts()
1268 passed &= (args.args[0] == 9); in of_unittest_parse_interrupts()
1271 passed &= !rc; in of_unittest_parse_interrupts()
1272 passed &= (args.args_count == 3); in of_unittest_parse_interrupts()
1273 passed &= (args.args[0] == 10); in of_unittest_parse_interrupts()
1274 passed &= (args.args[1] == 11); in of_unittest_parse_interrupts()
1275 passed &= (args.args[2] == 12); in of_unittest_parse_interrupts()
1278 passed &= !rc; in of_unittest_parse_interrupts()
1279 passed &= (args.args_count == 2); in of_unittest_parse_interrupts()
1280 passed &= (args.args[0] == 13); in of_unittest_parse_interrupts()
1281 passed &= (args.args[1] == 14); in of_unittest_parse_interrupts()
1284 passed &= !rc; in of_unittest_parse_interrupts()
1285 passed &= (args.args_count == 2); in of_unittest_parse_interrupts()
1286 passed &= (args.args[0] == 15); in of_unittest_parse_interrupts()
1287 passed &= (args.args[1] == 16); in of_unittest_parse_interrupts()
1290 passed = false; in of_unittest_parse_interrupts()
1292 unittest(passed, "index %i - data error on node %pOF rc=%i\n", in of_unittest_parse_interrupts()
1314 bool passed = true; in of_unittest_parse_interrupts_extended() local
1322 passed &= !rc; in of_unittest_parse_interrupts_extended()
1323 passed &= (args.args_count == 1); in of_unittest_parse_interrupts_extended()
1324 passed &= (args.args[0] == 1); in of_unittest_parse_interrupts_extended()
1327 passed &= !rc; in of_unittest_parse_interrupts_extended()
1328 passed &= (args.args_count == 3); in of_unittest_parse_interrupts_extended()
1329 passed &= (args.args[0] == 2); in of_unittest_parse_interrupts_extended()
1330 passed &= (args.args[1] == 3); in of_unittest_parse_interrupts_extended()
1331 passed &= (args.args[2] == 4); in of_unittest_parse_interrupts_extended()
1334 passed &= !rc; in of_unittest_parse_interrupts_extended()
1335 passed &= (args.args_count == 2); in of_unittest_parse_interrupts_extended()
1336 passed &= (args.args[0] == 5); in of_unittest_parse_interrupts_extended()
1337 passed &= (args.args[1] == 6); in of_unittest_parse_interrupts_extended()
1340 passed &= !rc; in of_unittest_parse_interrupts_extended()
1341 passed &= (args.args_count == 1); in of_unittest_parse_interrupts_extended()
1342 passed &= (args.args[0] == 9); in of_unittest_parse_interrupts_extended()
1345 passed &= !rc; in of_unittest_parse_interrupts_extended()
1346 passed &= (args.args_count == 3); in of_unittest_parse_interrupts_extended()
1347 passed &= (args.args[0] == 10); in of_unittest_parse_interrupts_extended()
1348 passed &= (args.args[1] == 11); in of_unittest_parse_interrupts_extended()
1349 passed &= (args.args[2] == 12); in of_unittest_parse_interrupts_extended()
1352 passed &= !rc; in of_unittest_parse_interrupts_extended()
1353 passed &= (args.args_count == 2); in of_unittest_parse_interrupts_extended()
1354 passed &= (args.args[0] == 13); in of_unittest_parse_interrupts_extended()
1355 passed &= (args.args[1] == 14); in of_unittest_parse_interrupts_extended()
1364 passed &= !rc; in of_unittest_parse_interrupts_extended()
1365 passed &= (args.args_count == 1); in of_unittest_parse_interrupts_extended()
1366 passed &= (args.args[0] == 15); in of_unittest_parse_interrupts_extended()
1369 passed = false; in of_unittest_parse_interrupts_extended()
1372 unittest(passed, "index %i - data error on node %pOF rc=%i\n", in of_unittest_parse_interrupts_extended()
1440 unittest(1, "passed"); in of_unittest_match_node()
2269 unittest(1, "overlay test %d passed\n", 0); in of_unittest_overlay_0()
2289 unittest(1, "overlay test %d passed\n", 1); in of_unittest_overlay_1()
2309 unittest(1, "overlay test %d passed\n", 2); in of_unittest_overlay_2()
2329 unittest(1, "overlay test %d passed\n", 3); in of_unittest_overlay_3()
2339 unittest(1, "overlay test %d passed\n", 4); in of_unittest_overlay_4()
2359 unittest(1, "overlay test %d passed\n", 5); in of_unittest_overlay_5()
2460 unittest(1, "overlay test %d passed\n", 6); in of_unittest_overlay_6()
2553 unittest(1, "overlay test %d passed\n", 8); in of_unittest_overlay_8()
2861 unittest(1, "overlay test %d passed\n", 12); in of_unittest_overlay_i2c_12()
2881 unittest(1, "overlay test %d passed\n", 13); in of_unittest_overlay_i2c_13()
2905 unittest(1, "overlay test %d passed\n", 15); in of_unittest_overlay_i2c_15()
3131 unittest(1, "basic infrastructure of overlays passed"); in of_unittest_overlay()
3505 int passed = 1; in overlay_data_apply() local
3538 passed = 0; in overlay_data_apply()
3548 passed = 0; in overlay_data_apply()
3552 return passed; in overlay_data_apply()
4076 pr_info("end of unittest - %i passed, %i failed\n", in of_unittest()
4077 unittest_results.passed, unittest_results.failed); in of_unittest()