Lines Matching full:nodeoffset
152 def next_node(self, nodeoffset, depth, quiet=()):
156 nodeoffset: Node offset of previous node
157 depth: The depth of the node at nodeoffset. This is used to
169 return check_err(fdt_next_node(self._fdt, nodeoffset, depth), quiet)
171 def first_subnode(self, nodeoffset, quiet=()):
175 nodeoffset: Node offset of parent node
184 return check_err(fdt_first_subnode(self._fdt, nodeoffset), quiet)
186 def next_subnode(self, nodeoffset, quiet=()):
190 nodeoffset: Node offset of previous subnode
199 return check_err(fdt_next_subnode(self._fdt, nodeoffset), quiet)
332 def get_name(self, nodeoffset):
336 nodeoffset: Offset of node to check
342 FdtException on error (e.g. nodeoffset is invalid)
344 return check_err_null(fdt_get_name(self._fdt, nodeoffset))[0]
346 def first_property_offset(self, nodeoffset, quiet=()):
350 nodeoffset: Offset to the node to check
360 return check_err(fdt_first_property_offset(self._fdt, nodeoffset),
400 def getprop(self, nodeoffset, prop_name, quiet=()):
404 nodeoffset: Node offset containing property to get
416 pdata = check_err_null(fdt_getprop(self._fdt, nodeoffset, prop_name),
422 def get_phandle(self, nodeoffset):
426 nodeoffset: Node offset to check
432 return fdt_get_phandle(self._fdt, nodeoffset)
446 def parent_offset(self, nodeoffset, quiet=()):
450 nodeoffset: Node offset to check
459 return check_err(fdt_parent_offset(self._fdt, nodeoffset), quiet)
550 def set_name(self, nodeoffset, name, quiet=()):
554 nodeoffset: Node offset of node to update
565 return check_err(fdt_set_name(self._fdt, nodeoffset, name), quiet)
567 def setprop(self, nodeoffset, prop_name, val, quiet=()):
571 nodeoffset: Node offset containing the property to create/update
582 return check_err(fdt_setprop(self._fdt, nodeoffset, prop_name, val,
585 def setprop_u32(self, nodeoffset, prop_name, val, quiet=()):
589 nodeoffset: Node offset containing the property to create/update
600 return check_err(fdt_setprop_u32(self._fdt, nodeoffset, prop_name, val),
603 def setprop_u64(self, nodeoffset, prop_name, val, quiet=()):
607 nodeoffset: Node offset containing the property to create/update
618 return check_err(fdt_setprop_u64(self._fdt, nodeoffset, prop_name, val),
621 def setprop_str(self, nodeoffset, prop_name, val, quiet=()):
627 nodeoffset: Node offset containing the property to create/update
640 return check_err(fdt_setprop(self._fdt, nodeoffset, prop_name,
643 def delprop(self, nodeoffset, prop_name, quiet=()):
647 nodeoffset: Node offset containing property to delete
657 return check_err(fdt_delprop(self._fdt, nodeoffset, prop_name), quiet)
674 def del_node(self, nodeoffset, quiet=()):
678 nodeoffset: Offset of node to delete
686 return check_err(fdt_del_node(self._fdt, nodeoffset), quiet)