Lines Matching defs:offset
338 * Returns node offset on success and a negative FDT error code on failure.
565 VERBOSE("DT: Translation lookup in node %s at offset %d\n", node_name,
580 * pointer to the FDT and the offset of the CPU node. If the return value of the
624 * Returns offset of node found/added on success, and < 0 on error.
628 int offset;
630 offset = fdt_subnode_offset(fdt, parentoffset, name);
632 if (offset == -FDT_ERR_NOTFOUND) {
633 offset = fdt_add_subnode(fdt, parentoffset, name);
636 if (offset < 0) {
637 ERROR("%s: %s: %s\n", __func__, name, fdt_strerror(offset));
640 return offset;