Home
last modified time | relevance | path

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

/openbmc/linux/drivers/base/test/
H A Dproperty-entry-test.c21 u8 val_u8, array_u8[2]; in pe_test_uints() local
37 error = fwnode_property_read_u8_array(node, "prop-u8", array_u8, 1); in pe_test_uints()
39 KUNIT_EXPECT_EQ(test, array_u8[0], 8); in pe_test_uints()
41 error = fwnode_property_read_u8_array(node, "prop-u8", array_u8, 2); in pe_test_uints()
47 error = fwnode_property_read_u8_array(node, "no-prop-u8", array_u8, 1); in pe_test_uints()
132 u8 val_u8, array_u8[32]; in pe_test_uint_arrays() local
148 error = fwnode_property_read_u8_array(node, "prop-u8", array_u8, 1); in pe_test_uint_arrays()
150 KUNIT_EXPECT_EQ(test, array_u8[0], 8); in pe_test_uint_arrays()
152 error = fwnode_property_read_u8_array(node, "prop-u8", array_u8, 2); in pe_test_uint_arrays()
154 KUNIT_EXPECT_EQ(test, array_u8[0], 8); in pe_test_uint_arrays()
[all …]