Home
last modified time | relevance | path

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

/openbmc/qemu/tests/unit/
H A Dtest-qdev-global-props.c46 uint32_t prop2; member
51 DEFINE_PROP_UINT32("prop2", MyType, prop2, PROP_DEFAULT),
119 g_assert_cmpuint(mt->prop2, ==, PROP_DEFAULT); in test_static_globalprop_subprocess()
150 visit_type_uint32(v, name, &mt->prop2, errp); in prop2_accessor()
237 g_assert_cmpuint(mt->prop2, ==, 102); in test_dynamic_globalprop_subprocess()
283 g_assert_cmpuint(mt->prop2, ==, 104); in test_subclass_global_props()
/openbmc/u-boot/tools/dtoc/
H A Dtest_fdt294 prop2 = node2.props['intval']
295 prop.Widen(prop2)
300 prop2 = self.node.props['intarray']
301 prop.Widen(prop2)
308 prop2 = node2.props['longbytearray']
309 self.assertFalse(isinstance(prop2.value, list))
310 self.assertEqual(4, len(prop2.value))
311 prop2.Widen(prop)
312 self.assertTrue(isinstance(prop2.value, list))
313 self.assertEqual(9, len(prop2.value))
[all …]
H A Dtest_fdt.py294 prop2 = node2.props['intval']
295 prop.Widen(prop2)
300 prop2 = self.node.props['intarray']
301 prop.Widen(prop2)
308 prop2 = node2.props['longbytearray']
309 self.assertFalse(isinstance(prop2.value, list))
310 self.assertEqual(4, len(prop2.value))
311 prop2.Widen(prop)
312 self.assertTrue(isinstance(prop2.value, list))
313 self.assertEqual(9, len(prop2.value))
[all …]
/openbmc/u-boot/board/ti/ks2_evm/
H A Dboard.c174 u64 *prop1, *prop2; in ft_board_setup_ex() local
181 prop2 = (u64 *)fdt_getprop(blob, nodeoffset, in ft_board_setup_ex()
183 if (prop1 && prop2) { in ft_board_setup_ex()
188 initrd_end = __be64_to_cpu(*prop2); in ft_board_setup_ex()
/openbmc/u-boot/scripts/dtc/
H A Dchecks.c265 struct property *prop, *prop2; in check_duplicate_property_names() local
268 for (prop2 = prop->next; prop2; prop2 = prop2->next) { in check_duplicate_property_names()
269 if (prop2->deleted) in check_duplicate_property_names()
271 if (streq(prop->name, prop2->name)) in check_duplicate_property_names()
/openbmc/linux/drivers/pinctrl/
H A Dpinctrl-single.c923 static const struct pcs_conf_type prop2[] = { in pcs_parse_pinconf() local
942 for (i = 0; i < ARRAY_SIZE(prop2); i++) { in pcs_parse_pinconf()
943 if (of_property_present(np, prop2[i].name)) in pcs_parse_pinconf()
967 for (i = 0; i < ARRAY_SIZE(prop2); i++) in pcs_parse_pinconf()
968 pcs_add_conf2(pcs, np, prop2[i].name, prop2[i].param, in pcs_parse_pinconf()
/openbmc/linux/scripts/dtc/
H A Dchecks.c292 struct property *prop, *prop2; in check_duplicate_property_names() local
295 for (prop2 = prop->next; prop2; prop2 = prop2->next) { in check_duplicate_property_names()
296 if (prop2->deleted) in check_duplicate_property_names()
298 if (streq(prop->name, prop2->name)) in check_duplicate_property_names()
/openbmc/linux/drivers/hwmon/
H A Dadt7475.c1524 const char *prop1, *prop2; in load_config() local
1530 prop2 = "adi,pin9-function"; in load_config()
1535 prop2 = "adi,pin14-function"; in load_config()
1545 err = load_config4(client, prop2); in load_config()
1547 dev_err(&client->dev, "failed to configure %s\n", prop2); in load_config()