Lines Matching refs:array_u16
22 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()
180 KUNIT_EXPECT_EQ(test, array_u16[1], 17); in pe_test_uint_arrays()
182 error = fwnode_property_read_u16_array(node, "prop-u16", array_u16, 17); in pe_test_uint_arrays()
188 error = fwnode_property_read_u16_array(node, "no-prop-u16", array_u16, 1); in pe_test_uint_arrays()