Home
last modified time | relevance | path

Searched +full:a +full:- +full:child +full:- +full:node +full:- +full:property (Results 1 – 3 of 3) sorted by relevance

/kvm-unit-tests/lib/libfdt/
H A Dfdt_overlay.c1 // SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause)
3 * libfdt - Flat Device Tree manipulation
15 * overlay_get_target_phandle - retrieves the target phandle of a fragment
17 * @fragment: node offset of the fragment in the overlay
20 * overlay fragment when that fragment uses a phandle (target
21 * property) instead of a path (target-path property).
24 * the phandle pointed by the target property
26 * -1, if the phandle was malformed
37 if ((len != sizeof(*val)) || (fdt32_to_cpu(*val) == (uint32_t)-1)) in overlay_get_target_phandle()
38 return (uint32_t)-1; in overlay_get_target_phandle()
[all …]
H A Dlibfdt.h1 /* SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause) */
5 * libfdt - Flat Device Tree manipulation
22 /* FDT_ERR_NOTFOUND: The requested node or property does not exist */
24 /* FDT_ERR_EXISTS: Attempted to create a node or property which
30 * device tree to a buffer with more space. */
34 /* FDT_ERR_BADOFFSET: Function was passed a structure block
35 * offset which is out-of-bounds, or which points to an
38 /* FDT_ERR_BADPATH: Function was passed a badly formatted path
39 * (e.g. missing a leading / for a function which requires an
43 * This can be caused either by an invalid phandle property
[all …]
/kvm-unit-tests/lib/
H A Ddevicetree.h7 * Documentation/devicetree/booting-without-of.txt
20 /* dt_init initializes devicetree with a pointer to an fdt, @fdt_ptr */
29 /* traverse child nodes */
32 s != -FDT_ERR_NOTFOUND; \
36 * Abstractions for required node types and properties
44 * info is a pointer to device specific data, which may be
52 * match a device @dev to an fdt node @fdtnode
54 * - a positive value on match
55 * - zero on no match
56 * - a negative FDT_ERR_* value on failure
[all …]