Home
last modified time | relevance | path

Searched refs:array_u32 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/base/test/
H A Dproperty-entry-test.c23 u32 val_u32, array_u32[2]; in pe_test_uints() local
77 error = fwnode_property_read_u32_array(node, "prop-u32", array_u32, 1); in pe_test_uints()
79 KUNIT_EXPECT_EQ(test, array_u32[0], 32); in pe_test_uints()
81 error = fwnode_property_read_u32_array(node, "prop-u32", array_u32, 2); in pe_test_uints()
87 error = fwnode_property_read_u32_array(node, "no-prop-u32", array_u32, 1); in pe_test_uints()
134 u32 val_u32, array_u32[32]; in pe_test_uint_arrays() local
198 error = fwnode_property_read_u32_array(node, "prop-u32", array_u32, 1); in pe_test_uint_arrays()
200 KUNIT_EXPECT_EQ(test, array_u32[0], 32); in pe_test_uint_arrays()
202 error = fwnode_property_read_u32_array(node, "prop-u32", array_u32, 2); in pe_test_uint_arrays()
204 KUNIT_EXPECT_EQ(test, array_u32[0], 32); in pe_test_uint_arrays()
[all …]