Lines Matching refs:node
160 nodeoffset: Node offset of previous node
161 depth: The depth of the node at nodeoffset. This is used to
162 calculate the depth of the returned node
167 Offset of the next node, if any, else a -ve error
168 Depth of the returned node, if any, else undefined
176 """Find the first subnode of a parent node
179 nodeoffset: Node offset of parent node
308 parentoffset: Offset of the parent node to check
313 The node offset of the found node, if any
316 FdtException if there is no node with that name, or other error
325 path: Path to the required node, e.g. '/node@3/subnode@1'
337 """Get the name of a node
340 nodeoffset: Offset of node to check
351 """Get the offset of the first property in a node offset
354 nodeoffset: Offset to the node to check
361 FdtException if the associated node has no properties, or some
368 """Get the next property in a node
378 FdtException if the associated node has no more properties, or
405 """Get a property from a node
427 """Get the phandle of a node
433 phandle of node, or 0 if the node has no phandle or another error
445 Full path to the node for the alias named 'name', if it exists
446 None, if the given alias or the /aliases node does not exist
451 """Get the offset of a node's parent
458 The offset of the parent node, if any
466 """Get the offset of a node with the given phandle
473 The offset of node with that phandle, if any
476 FdtException if no node found or other error occurs
555 """Set the name of a node
558 nodeoffset: Node offset of node to update
559 name: New node name (string without \0)
648 """Delete a property from a node
664 """Add a new subnode to a node
668 name: Name of node to add
671 offset of the node created, or negative error code on failure
679 """Delete a node
682 nodeoffset: Offset of node to delete
739 Similarly with nodes, a new node is started with begin_node() and finished
744 # First create the device tree with a node and property:
748 with sw.add_node('node'):
854 """Begin a new node
856 Use this before adding properties to the node. Then call end_node() to
861 name: Name of node to begin
949 """End a node
951 Use this after adding properties to a node to close it off. You can also
964 """Create a new context for adding a node
966 When used in a 'with' clause this starts a new node and finishes it
970 name: Name of node to add
976 """Class to provide a node context
983 The node is automatically completed with a call to end_node() when the