Searched refs:fdt_getprop (Results 1 - 25 of 33) sorted by relevance

12

/netbsd-current/external/gpl2/dtc/dist/tests/
H A Dnotfound.c39 fdt_getprop(fdt, 0, "nonexistant-property", &lenerr);
40 check_error("fdt_getprop(\"nonexistant-property\"", lenerr);
46 fdt_getprop(fdt, subnode1_offset, "prop-str", &lenerr);
47 check_error("fdt_getprop(\"prop-str\")", lenerr);
H A Dnop_property.c39 intp = fdt_getprop(fdt, 0, "prop-int", &lenerr);
52 strp = fdt_getprop(fdt, 0, "prop-str", &lenerr);
H A Dpath-references.c24 p = fdt_getprop(fdt, node, "ref", &len);
26 FAIL("fdt_getprop(%d, \"ref\"): %s", node, fdt_strerror(len));
31 p = fdt_getprop(fdt, node, "lref", &len);
33 FAIL("fdt_getprop(%d, \"lref\"): %s", node, fdt_strerror(len));
45 p = fdt_getprop(fdt, 0, "rref", &len);
47 FAIL("fdt_getprop(0, \"rref\"): %s", fdt_strerror(len));
75 p = fdt_getprop(fdt, 0, "multiref", &len);
77 FAIL("fdt_getprop(0, \"multiref\"): %s", fdt_strerror(len));
H A Dtruncated_property.c30 prop = fdt_getprop(fdt, 0, "truncated", &len);
32 FAIL("fdt_getprop() succeeded on truncated property");
34 FAIL("fdt_getprop() failed with \"%s\" instead of \"%s\"",
H A Dphandle_format.c56 if (fdt_getprop(fdt, n4, "linux,phandle", NULL))
62 if (fdt_getprop(fdt, n4, "phandle", NULL))
H A Ddel_property.c43 intp = fdt_getprop(fdt, 0, "prop-int", &lenerr);
57 strp = fdt_getprop(fdt, 0, "prop-str", &lenerr);
H A Dreferences.c25 p = fdt_getprop(fdt, node, "ref", &len);
27 FAIL("fdt_getprop(%d, \"ref\"): %s", node, fdt_strerror(len));
36 p = fdt_getprop(fdt, node, "lref", &len);
38 FAIL("fdt_getprop(%d, \"lref\"): %s", node, fdt_strerror(len));
54 p = fdt_getprop(fdt, 0, "rref", &len);
56 FAIL("fdt_getprop(0, \"rref\"): %s", fdt_strerror(len));
H A Dproperty_iterate.c35 prop = fdt_getprop(fdt, parent_offset, "test-properties", &len);
H A Dsized_cells.c27 propval = fdt_getprop(fdt, 0, name_one, &proplen);
30 FAIL("fdt_getprop(\"%s\"): %s",
H A Dsubnode_iterate.c32 prop = fdt_getprop(fdt, parent_offset, "subnodes", &len);
H A Dinteger-expressions.c86 res = fdt_getprop(fdt, 0, "expressions", &reslen);
H A Doverlay.c39 val = fdt_getprop(fdt, node_off, name, &len);
H A Ddtbs_equal_unordered.c114 data2 = fdt_getprop(fdt2, offset2, name, &len2);
/netbsd-current/sys/stand/efiboot/bootriscv64/
H A Defibootriscv64.c45 data = fdt_getprop(efi_fdt_data(), chosen, "boot-hartid", NULL);
/netbsd-current/sys/external/bsd/libfdt/dist/
H A Dfdt_wip.c41 propval = fdt_getprop(fdt, nodeoffset, name, &proplen);
H A Dfdt_ro.c483 const void *fdt_getprop(const void *fdt, int nodeoffset, function
496 php = fdt_getprop(fdt, nodeoffset, "phandle", &len);
498 php = fdt_getprop(fdt, nodeoffset, "linux,phandle", &len);
643 * property of a node in fdt_getprop(), then if that didn't
650 val = fdt_getprop(fdt, offset, propname, &len);
706 list = fdt_getprop(fdt, nodeoffset, property, &length);
732 list = fdt_getprop(fdt, nodeoffset, property, &length);
763 list = fdt_getprop(fdt, nodeoffset, property, &length);
807 prop = fdt_getprop(fdt, nodeoffset, "compatible", &len);
H A Dfdt_addresses.c22 c = fdt_getprop(fdt, nodeoffset, name, &len);
H A Dfdt_overlay.c35 val = fdt_getprop(fdto, fragment, "target", &len);
75 path = fdt_getprop(fdto, fragment, "target-path", &path_len);
125 val = fdt_getprop(fdt, node, name, &len);
247 tree_val = fdt_getprop(fdto, tree_node, name, &tree_len);
384 symbol_path = fdt_getprop(fdt, symbols_off, label,
H A Dlibfdt.h623 * Note that this code only works on device tree versions >= 16. fdt_getprop()
743 * Identical to fdt_getprop(), but only examine the first namelen
759 * fdt_getprop - retrieve the value of a given property
765 * fdt_getprop() retrieves a pointer to the value of the property
786 const void *fdt_getprop(const void *fdt, int nodeoffset,
791 return (void *)(uintptr_t)fdt_getprop(fdt, nodeoffset, name, lenp);
/netbsd-current/sys/dev/fdt/
H A Dfdt_subr.c128 buf = fdt_getprop(fdtbus_get_data(),
221 buf = fdt_getprop(fdtbus_get_data(),
307 buf = fdt_getprop(fdtbus_get_data(),
379 prop = fdt_getprop(fdtbus_get_data(), off, "stdout-path", NULL);
476 const char *prop = fdt_getprop(fdtbus_get_data(), off, "status", NULL);
488 return fdt_getprop(fdtbus_get_data(), off, prop, plen);
499 return fdt_getprop(fdtbus_get_data(), off, prop, NULL);
/netbsd-current/sys/arch/arm/sunxi/
H A Dsunxi_dep.c97 buf = fdt_getprop(fdtbus_get_data(),
/netbsd-current/external/gpl2/dtc/dist/
H A Dfdtget.c228 value = fdt_getprop(blob, node, property, &len);
/netbsd-current/sys/arch/arm/samsung/
H A Dexynos_platform.c352 const void *prop = fdt_getprop(fdt_data, cpu_off, "reg", &len);
/netbsd-current/sys/arch/arm/rockchip/
H A Drk_platform.c91 const char *status = fdt_getprop(fdt_data,
/netbsd-current/sys/arch/arm/xilinx/
H A Dzynq_platform.c232 const char *status = fdt_getprop(fdt_data,

Completed in 516 milliseconds

12