Lines Matching +full:device +full:- +full:tree
1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
8 * Cambridge Computer Laboratory under DARPA/AFRL contract (FA8750-10-C-0237)
60 * Type for device tree write functions.
64 * Type for device tree read functions.
104 * property-coded arrays will appear simply as binary (or possibly
105 * string, if they happen to be nul-terminated and printable), and must
127 /** This contains a short-form address that should be replaced
128 * by a fully-qualified version. This will only appear when
129 * the input is a device tree source. When parsed from a
130 * device tree blob, the cross reference will have already been
138 * will contain a 32-bit integer that should match the phandle
179 * Returns true if this value is a string list (a nul-separated
194 * Returns this property value as a 32-bit integer. Returns 0 if this
196 * are assumed to be in big-endian format, but the return value is in
213 * - If the value is nul-terminated and only contains printable
215 * - If it is a multiple of 4 bytes long, then it is printed as cells.
216 * - Otherwise, it is printed as a byte buffer.
252 * 32-bit big-endian cells. This is used when generating DTS.
290 * Parses one or more 32-bit values enclosed in angle brackets.
312 * struct and strings tables in the device tree blob, respectively.
404 * Class encapsulating a device tree node. Nodes may contain properties and
429 * A flag indicating that this node has been marked /omit-if-no-ref/ and
436 * or indirectly, by a node that is not marked /omit-if-no-ref/.
453 * Recurse as normal through the rest of the tree.
457 * Continue recursing through the device tree, but do not
458 * recurse through this branch of the tree any further.
468 * Adaptor to use children in range-based for loops.
479 * Adaptor to use properties in range-based for loops.
519 * and strings tables in the device tree blob, respectively.
529 device_tree &tree,
545 return p1->get_key() < p2->get_key();
575 * Returns a range suitable for use in a range-based for loop describing
597 * Returns a range suitable for use in a range-based for loop describing
626 device_tree &tree,
699 * Class encapsulating the entire parsed FDT. This is the top-level class,
736 * Flag indicating that this tree is valid. This will be set to false
741 * Flag indicating that this tree requires garbage collection. This will be
742 * set to true if a node marked /omit-if-no-ref/ is encountered.
746 * Type used for memory reservations. A reservation is two 64-bit
748 * kernel should not use. The high 32 bits are ignored on 32-bit
762 * duplicate names are stored as (node*)-1.
787 * Labels collected from top-level /delete-node/ directives.
826 * them for the lifetime of the device tree.
841 * nul-terminated strings, which are not owned by this class and so
850 * The default boot CPU, specified in the device tree header.
866 * Is this tree a plugin?
884 * require one. This method will recursively visit the tree starting at
902 * Garbage collects nodes that have been marked /omit-if-no-ref/ and do not
905 * tree has been dirtied as a result of this operation, so that the caller
906 * may take appropriate measures to bring the device tree into a consistent
914 * rather than in the top-level file.
932 * Returns the node referenced by the property. If this is a tree that
948 * Writes the tree in DTS (source) format.
956 * Constructs a device tree from the specified file name, referring to
957 * a file that contains a device tree blob.
970 * can circumvent any errors that might normally arise from a non-/ root.
981 * Constructs a device tree from the specified file name, referring to
982 * a file that contains device tree source.
986 * Returns whether this tree is valid.
993 * Mark this tree as needing garbage collection, because an /omit-if-no-ref/
1008 * Returns a pointer to the root node of this tree. No ownership
1023 * Sorts the tree. Useful for debugging device trees.
1029 root->sort(); in sort()
1034 * nul-terminated string representing the path. The device tree keeps