Lines Matching refs:parent_offset
756 static int fdt_del_subnodes(const void *blob, int parent_offset) in fdt_del_subnodes() argument
761 for (ndepth = 0, off = fdt_next_node(blob, parent_offset, &ndepth); in fdt_del_subnodes()
774 off = parent_offset; in fdt_del_subnodes()
781 static int fdt_del_partitions(void *blob, int parent_offset) in fdt_del_partitions() argument
788 off = fdt_next_node(blob, parent_offset, &ndepth); in fdt_del_partitions()
798 ret = fdt_del_subnodes(blob, parent_offset); in fdt_del_partitions()
809 static int fdt_node_set_part_info(void *blob, int parent_offset, in fdt_node_set_part_info() argument
819 ret = fdt_del_partitions(blob, parent_offset); in fdt_node_set_part_info()
827 sizecell = fdt_getprop_u32_default_node(blob, parent_offset, in fdt_node_set_part_info()
834 off = fdt_next_node(blob, parent_offset, &ndepth); in fdt_node_set_part_info()
836 parent_offset = off; in fdt_node_set_part_info()
850 ret = fdt_add_subnode(blob, parent_offset, buf); in fdt_node_set_part_info()