Lines Matching refs:ref
392 struct fwnode_reference_args ref; in pe_test_reference() local
402 0, 0, &ref); in pe_test_reference()
404 KUNIT_EXPECT_PTR_EQ(test, to_software_node(ref.fwnode), &nodes[0]); in pe_test_reference()
405 KUNIT_EXPECT_EQ(test, ref.nargs, 0U); in pe_test_reference()
409 0, 1, &ref); in pe_test_reference()
413 1, 0, &ref); in pe_test_reference()
415 KUNIT_EXPECT_PTR_EQ(test, to_software_node(ref.fwnode), &nodes[1]); in pe_test_reference()
416 KUNIT_EXPECT_EQ(test, ref.nargs, 1U); in pe_test_reference()
417 KUNIT_EXPECT_EQ(test, ref.args[0], 1LLU); in pe_test_reference()
421 3, 0, &ref); in pe_test_reference()
423 KUNIT_EXPECT_PTR_EQ(test, to_software_node(ref.fwnode), &nodes[1]); in pe_test_reference()
424 KUNIT_EXPECT_EQ(test, ref.nargs, 3U); in pe_test_reference()
425 KUNIT_EXPECT_EQ(test, ref.args[0], 1LLU); in pe_test_reference()
426 KUNIT_EXPECT_EQ(test, ref.args[1], 2LLU); in pe_test_reference()
427 KUNIT_EXPECT_EQ(test, ref.args[2], 0LLU); in pe_test_reference()
431 2, 1, &ref); in pe_test_reference()
436 0, 0, &ref); in pe_test_reference()
438 KUNIT_EXPECT_PTR_EQ(test, to_software_node(ref.fwnode), &nodes[0]); in pe_test_reference()
439 KUNIT_EXPECT_EQ(test, ref.nargs, 0U); in pe_test_reference()
443 2, 1, &ref); in pe_test_reference()
445 KUNIT_EXPECT_PTR_EQ(test, to_software_node(ref.fwnode), &nodes[1]); in pe_test_reference()
446 KUNIT_EXPECT_EQ(test, ref.nargs, 2U); in pe_test_reference()
447 KUNIT_EXPECT_EQ(test, ref.args[0], 3LLU); in pe_test_reference()
448 KUNIT_EXPECT_EQ(test, ref.args[1], 4LLU); in pe_test_reference()
452 0, 2, &ref); in pe_test_reference()