Lines Matching full:node
156 nodeoffset: Node offset of previous node
157 depth: The depth of the node at nodeoffset. This is used to
158 calculate the depth of the returned node
163 Offset of the next node, if any, else a -ve error
164 Depth of the returned node, if any, else undefined
172 """Find the first subnode of a parent node
175 nodeoffset: Node offset of parent node
190 nodeoffset: Node offset of previous subnode
304 parentoffset: Offset of the parent node to check
309 The node offset of the found node, if any
312 FdtException if there is no node with that name, or other error
321 path: Path to the required node, e.g. '/node@3/subnode@1'
325 Node offset
333 """Get the name of a node
336 nodeoffset: Offset of node to check
339 Node name
347 """Get the offset of the first property in a node offset
350 nodeoffset: Offset to the node to check
357 FdtException if the associated node has no properties, or some
364 """Get the next property in a node
374 FdtException if the associated node has no more properties, or
401 """Get a property from a node
404 nodeoffset: Node offset containing property to get
423 """Get the phandle of a node
426 nodeoffset: Node offset to check
429 phandle of node, or 0 if the node has no phandle or another error
435 """Get the offset of a node's parent
438 nodeoffset: Node offset to check
442 The offset of the parent node, if any
450 """Get the offset of a node with the given phandle
457 The offset of node with that phandle, if any
460 FdtException if no node found or other error occurs
539 """Set the name of a node
542 nodeoffset: Node offset of node to update
543 name: New node name (string without \0)
559 nodeoffset: Node offset containing the property to create/update
577 nodeoffset: Node offset containing the property to create/update
595 nodeoffset: Node offset containing the property to create/update
615 nodeoffset: Node offset containing the property to create/update
632 """Delete a property from a node
635 nodeoffset: Node offset containing property to delete
648 """Add a new subnode to a node
652 name: Name of node to add
655 offset of the node created, or negative error code on failure
663 """Delete a node
666 nodeoffset: Offset of node to delete
723 Similarly with nodes, a new node is started with begin_node() and finished
728 # First create the device tree with a node and property:
730 with sw.add_node('node'):
835 """Begin a new node
837 Use this before adding properties to the node. Then call end_node() to
842 name: Name of node to begin
930 """End a node
932 Use this after adding properties to a node to close it off. You can also
945 """Create a new context for adding a node
947 When used in a 'with' clause this starts a new node and finishes it
951 name: Name of node to add
957 """Class to provide a node context
964 The node is automatically completed with a call to end_node() when the