Lines Matching refs:unittest_nr
1089 static int of_unittest_device_exists(int unittest_nr, enum overlay_type ovtype) in of_unittest_device_exists() argument
1093 path = unittest_path(unittest_nr, ovtype); in of_unittest_device_exists()
1170 static int of_unittest_apply_overlay(int unittest_nr, int overlay_nr, in of_unittest_apply_overlay() argument
1205 static int of_unittest_apply_overlay_check(int overlay_nr, int unittest_nr, in of_unittest_apply_overlay_check() argument
1211 if (of_unittest_device_exists(unittest_nr, ovtype) != before) { in of_unittest_apply_overlay_check()
1214 unittest_path(unittest_nr, ovtype), in of_unittest_apply_overlay_check()
1219 ret = of_unittest_apply_overlay(overlay_nr, unittest_nr, NULL); in of_unittest_apply_overlay_check()
1226 if (of_unittest_device_exists(unittest_nr, ovtype) != after) { in of_unittest_apply_overlay_check()
1229 unittest_path(unittest_nr, ovtype), in of_unittest_apply_overlay_check()
1239 int unittest_nr, int before, int after, in of_unittest_apply_revert_overlay_check() argument
1245 if (of_unittest_device_exists(unittest_nr, ovtype) != before) { in of_unittest_apply_revert_overlay_check()
1248 unittest_path(unittest_nr, ovtype), in of_unittest_apply_revert_overlay_check()
1254 ret = of_unittest_apply_overlay(overlay_nr, unittest_nr, &ov_id); in of_unittest_apply_revert_overlay_check()
1261 if (of_unittest_device_exists(unittest_nr, ovtype) != after) { in of_unittest_apply_revert_overlay_check()
1264 unittest_path(unittest_nr, ovtype), in of_unittest_apply_revert_overlay_check()
1273 unittest_path(unittest_nr, ovtype)); in of_unittest_apply_revert_overlay_check()
1278 if (of_unittest_device_exists(unittest_nr, PDEV_OVERLAY) != before) { in of_unittest_apply_revert_overlay_check()
1281 unittest_path(unittest_nr, ovtype), in of_unittest_apply_revert_overlay_check()
1372 int overlay_nr = 6, unittest_nr = 6; in of_unittest_overlay_6() local
1377 if (of_unittest_device_exists(unittest_nr + i, PDEV_OVERLAY) in of_unittest_overlay_6()
1381 unittest_path(unittest_nr + i, in of_unittest_overlay_6()
1410 if (of_unittest_device_exists(unittest_nr + i, PDEV_OVERLAY) in of_unittest_overlay_6()
1414 unittest_path(unittest_nr + i, in of_unittest_overlay_6()
1426 unittest_path(unittest_nr + i, in of_unittest_overlay_6()
1435 if (of_unittest_device_exists(unittest_nr + i, PDEV_OVERLAY) in of_unittest_overlay_6()
1439 unittest_path(unittest_nr + i, in of_unittest_overlay_6()
1454 int overlay_nr = 8, unittest_nr = 8; in of_unittest_overlay_8() local
1483 unittest_path(unittest_nr, in of_unittest_overlay_8()
1494 unittest_path(unittest_nr, in of_unittest_overlay_8()