Lines Matching refs:unittest_nr
1086 static int of_unittest_device_exists(int unittest_nr, enum overlay_type ovtype) in of_unittest_device_exists() argument
1090 path = unittest_path(unittest_nr, ovtype); in of_unittest_device_exists()
1167 static int of_unittest_apply_overlay(int unittest_nr, int overlay_nr, in of_unittest_apply_overlay() argument
1202 static int of_unittest_apply_overlay_check(int overlay_nr, int unittest_nr, in of_unittest_apply_overlay_check() argument
1208 if (of_unittest_device_exists(unittest_nr, ovtype) != before) { in of_unittest_apply_overlay_check()
1211 unittest_path(unittest_nr, ovtype), in of_unittest_apply_overlay_check()
1216 ret = of_unittest_apply_overlay(overlay_nr, unittest_nr, NULL); in of_unittest_apply_overlay_check()
1223 if (of_unittest_device_exists(unittest_nr, ovtype) != after) { in of_unittest_apply_overlay_check()
1226 unittest_path(unittest_nr, ovtype), in of_unittest_apply_overlay_check()
1236 int unittest_nr, int before, int after, in of_unittest_apply_revert_overlay_check() argument
1242 if (of_unittest_device_exists(unittest_nr, ovtype) != before) { in of_unittest_apply_revert_overlay_check()
1245 unittest_path(unittest_nr, ovtype), in of_unittest_apply_revert_overlay_check()
1251 ret = of_unittest_apply_overlay(overlay_nr, unittest_nr, &ov_id); in of_unittest_apply_revert_overlay_check()
1258 if (of_unittest_device_exists(unittest_nr, ovtype) != after) { in of_unittest_apply_revert_overlay_check()
1261 unittest_path(unittest_nr, ovtype), in of_unittest_apply_revert_overlay_check()
1270 unittest_path(unittest_nr, ovtype)); in of_unittest_apply_revert_overlay_check()
1275 if (of_unittest_device_exists(unittest_nr, PDEV_OVERLAY) != before) { in of_unittest_apply_revert_overlay_check()
1278 unittest_path(unittest_nr, ovtype), in of_unittest_apply_revert_overlay_check()
1369 int overlay_nr = 6, unittest_nr = 6; in of_unittest_overlay_6() local
1374 if (of_unittest_device_exists(unittest_nr + i, PDEV_OVERLAY) in of_unittest_overlay_6()
1378 unittest_path(unittest_nr + i, in of_unittest_overlay_6()
1407 if (of_unittest_device_exists(unittest_nr + i, PDEV_OVERLAY) in of_unittest_overlay_6()
1411 unittest_path(unittest_nr + i, in of_unittest_overlay_6()
1423 unittest_path(unittest_nr + i, in of_unittest_overlay_6()
1432 if (of_unittest_device_exists(unittest_nr + i, PDEV_OVERLAY) in of_unittest_overlay_6()
1436 unittest_path(unittest_nr + i, in of_unittest_overlay_6()
1451 int overlay_nr = 8, unittest_nr = 8; in of_unittest_overlay_8() local
1480 unittest_path(unittest_nr, in of_unittest_overlay_8()
1491 unittest_path(unittest_nr, in of_unittest_overlay_8()