Lines Matching full:quiet
51 # QUIET_ALL can be passed as the 'quiet' parameter to avoid exceptions
55 # Pass this as the 'quiet' parameter to return -ENOTFOUND on NOTFOUND errors,
80 def check_err(val, quiet=()):
87 quiet: Errors to ignore (empty to raise on all errors)
96 if -val not in quiet:
100 def check_err_null(val, quiet=()):
108 quiet: Errors to ignore (empty to raise on all errors)
115 is not in @quiet.
120 if -val not in quiet:
152 def next_node(self, nodeoffset, depth, quiet=()):
159 quiet: Errors to ignore (empty to raise on all errors)
169 return check_err(fdt_next_node(self._fdt, nodeoffset, depth), quiet)
171 def first_subnode(self, nodeoffset, quiet=()):
176 quiet: Errors to ignore (empty to raise on all errors)
184 return check_err(fdt_first_subnode(self._fdt, nodeoffset), quiet)
186 def next_subnode(self, nodeoffset, quiet=()):
191 quiet: Errors to ignore (empty to raise on all errors)
199 return check_err(fdt_next_subnode(self._fdt, nodeoffset), quiet)
281 def num_mem_rsv(self, quiet=()):
287 return check_err(fdt_num_mem_rsv(self._fdt), quiet)
289 def get_mem_rsv(self, index, quiet=()):
298 return check_err(fdt_get_mem_rsv(self._fdt, index), quiet)
300 def subnode_offset(self, parentoffset, name, quiet=()):
306 quiet: Errors to ignore (empty to raise on all errors)
315 quiet)
317 def path_offset(self, path, quiet=()):
322 quiet: Errors to ignore (empty to raise on all errors)
330 return check_err(fdt_path_offset(self._fdt, path), quiet)
346 def first_property_offset(self, nodeoffset, quiet=()):
351 quiet: Errors to ignore (empty to raise on all errors)
361 quiet)
363 def next_property_offset(self, prop_offset, quiet=()):
368 quiet: Errors to ignore (empty to raise on all errors)
378 quiet)
380 def get_property_by_offset(self, prop_offset, quiet=()):
385 quiet: Errors to ignore (empty to raise on all errors)
395 fdt_get_property_by_offset(self._fdt, prop_offset), quiet)
400 def getprop(self, nodeoffset, prop_name, quiet=()):
406 quiet: Errors to ignore (empty to raise on all errors)
417 quiet)
446 def parent_offset(self, nodeoffset, quiet=()):
451 quiet: Errors to ignore (empty to raise on all errors)
459 return check_err(fdt_parent_offset(self._fdt, nodeoffset), quiet)
461 def node_offset_by_phandle(self, phandle, quiet=()):
466 quiet: Errors to ignore (empty to raise on all errors)
474 return check_err(fdt_node_offset_by_phandle(self._fdt, phandle), quiet)
489 behaviour a 'quiet' parameter is provided for some functions. This
498 def create_empty_tree(size, quiet=()):
508 err = check_err(fdt_create_empty_tree(data, size), quiet)
513 def resize(self, size, quiet=()):
525 err = check_err(fdt_open_into(self._fdt, fdt, size), quiet)
530 def pack(self, quiet=()):
536 quiet: Errors to ignore (empty to raise on all errors)
544 err = check_err(fdt_pack(self._fdt), quiet)
550 def set_name(self, nodeoffset, name, quiet=()):
565 return check_err(fdt_set_name(self._fdt, nodeoffset, name), quiet)
567 def setprop(self, nodeoffset, prop_name, val, quiet=()):
574 quiet: Errors to ignore (empty to raise on all errors)
583 len(val)), quiet)
585 def setprop_u32(self, nodeoffset, prop_name, val, quiet=()):
592 quiet: Errors to ignore (empty to raise on all errors)
601 quiet)
603 def setprop_u64(self, nodeoffset, prop_name, val, quiet=()):
610 quiet: Errors to ignore (empty to raise on all errors)
619 quiet)
621 def setprop_str(self, nodeoffset, prop_name, val, quiet=()):
631 quiet: Errors to ignore (empty to raise on all errors)
641 val, len(val)), quiet)
643 def delprop(self, nodeoffset, prop_name, quiet=()):
649 quiet: Errors to ignore (empty to raise on all errors)
657 return check_err(fdt_delprop(self._fdt, nodeoffset, prop_name), quiet)
659 def add_subnode(self, parentoffset, name, quiet=()):
672 return check_err(fdt_add_subnode(self._fdt, parentoffset, name), quiet)
674 def del_node(self, nodeoffset, quiet=()):
686 return check_err(fdt_del_node(self._fdt, nodeoffset), quiet)
917 quiet: Errors to ignore (empty to raise on all errors)
934 quiet: Errors to ignore (empty to raise on all errors)
950 quiet: Errors to ignore (empty to raise on all errors)