Lines Matching full:node

41     An entry corresponds to a single node in the device-tree description
51 node: The node that created this entry
63 def __init__(self, section, etype, node, read_node=True, name_prefix=''): argument
66 self._node = node
67 self.name = node and (name_prefix + node.name) or 'none'
85 """Look up the entry class for a node.
88 section: Section object containing this node
89 node_node: Path name of Node object containing information about
115 … raise ValueError("Unknown entry type '%s' in node '%s' (expected etype/%s.py, error '%s'" %
125 def Create(section, node, etype=None): argument
126 """Create a new entry for a node.
129 section: Section object containing this node
130 node: Node object containing information about the entry to
138 etype = fdt_util.GetString(node, 'type', node.name)
139 obj = Entry.Lookup(section, node.path, etype)
142 return obj(section, etype, node)
145 """Read entry information from the node
147 This reads all the fields we recognise from the node, ready for use.
155 raise ValueError("Node '%s': Alignment %s must be a power of two" %
161 raise ValueError("Node '%s': Alignment size %s must be a power "
219 """Set the name prefix for a node
317 """Convenience function to raise an error referencing a node"""
318 raise ValueError("Node '%s': %s" % (self._node.path, msg))
348 """Get the path of a node
351 Full path of the node for this entry
425 """Get the value of an entry argument or device-tree-node property
427 Some node properties can be provided as arguments to binman. First check
508 """Get a unique name for a node
511 String containing a unique name for a node, consisting of the name
512 of all ancestors (starting from within the 'binman' node) separated
517 node = self._node
518 while node.parent:
519 node = node.parent
520 if node.name == 'binman':
522 name = '%s.%s' % (node.name, name)