Lines Matching defs:offset
105 * Call in a loop until it returns 0. Recalculate the node offset after
108 static int dt_update_one_cpu_node(void *fdt, int offset)
113 for (offs = fdt_first_subnode(fdt, offset); offs >= 0;
243 * Return the offset of the new node or a negative value in case of error
267 ERROR ("FDT: write to \"%s\" property of node at offset %i failed\n",
274 ERROR ("FDT: write to \"%s\" property of node at offset %i failed\n",
281 ERROR ("FDT: write to \"%s\" property of node at offset %i failed\n",
288 ERROR ("FDT: write to \"%s\" property of node at offset %i failed\n",
330 * Return the offset of the node or a negative value on error.
354 ERROR ("FDT: write to \"%s\" property of node at offset %i failed\n",
361 ERROR ("FDT: write to \"%s\" property of node at offset %i failed\n",
526 int offset = fdt_node_offset_by_compatible(dtb, 0, "arm,gic-v3");
533 if (offset < 0) {
534 return offset;
537 parent = fdt_parent_offset(dtb, offset);
560 ret = fdt_setprop_inplace_namelen_partial(dtb, offset,
582 return fdt_setprop_inplace_namelen_partial(dtb, offset, "reg", 3,