Home | History | Annotate | Download | only in tests

Lines Matching refs:ref

33 	uint32_t ref;
36 p = fdt_getprop(fdt, node, "ref", &len);
38 FAIL("fdt_getprop(%d, \"ref\"): %s", node, fdt_strerror(len));
40 FAIL("'ref' in node at %d has wrong size (%d instead of %zd)",
42 ref = fdt32_to_cpu(*p);
43 if (ref != checkref)
44 FAIL("'ref' in node at %d has value 0x%x instead of 0x%x",
45 node, ref, checkref);
53 ref = fdt32_to_cpu(*p);
54 if (ref != checkref)
56 node, ref, checkref);
62 uint32_t ref;
71 ref = fdt32_to_cpu(*p);
72 if (ref != fdt_get_phandle(fdt, 0))
73 FAIL("'rref' in root node has value 0x%x instead of 0x0", ref);