Home
last modified time | relevance | path

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

/openbmc/linux/drivers/base/test/
H A Dproperty-entry-test.c22 u16 val_u16, array_u16[2]; in pe_test_uints() local
57 error = fwnode_property_read_u16_array(node, "prop-u16", array_u16, 1); in pe_test_uints()
59 KUNIT_EXPECT_EQ(test, array_u16[0], 16); in pe_test_uints()
61 error = fwnode_property_read_u16_array(node, "prop-u16", array_u16, 2); in pe_test_uints()
67 error = fwnode_property_read_u16_array(node, "no-prop-u16", array_u16, 1); in pe_test_uints()
133 u16 val_u16, array_u16[32]; in pe_test_uint_arrays() local
173 error = fwnode_property_read_u16_array(node, "prop-u16", array_u16, 1); in pe_test_uint_arrays()
175 KUNIT_EXPECT_EQ(test, array_u16[0], 16); in pe_test_uint_arrays()
177 error = fwnode_property_read_u16_array(node, "prop-u16", array_u16, 2); in pe_test_uint_arrays()
179 KUNIT_EXPECT_EQ(test, array_u16[0], 16); in pe_test_uint_arrays()
[all …]