Lines Matching refs:phandle
406 cell_t phandle; in check_phandle_prop() local
436 phandle = propval_cell(prop); in check_phandle_prop()
438 if ((phandle == 0) || (phandle == -1)) { in check_phandle_prop()
440 node->fullpath, phandle, prop->name); in check_phandle_prop()
444 return phandle; in check_phandle_prop()
452 cell_t phandle, linux_phandle; in check_explicit_phandles() local
455 assert(!node->phandle); in check_explicit_phandles()
457 phandle = check_phandle_prop(c, dti, node, "phandle"); in check_explicit_phandles()
461 if (!phandle && !linux_phandle) in check_explicit_phandles()
465 if (linux_phandle && phandle && (phandle != linux_phandle)) in check_explicit_phandles()
469 if (linux_phandle && !phandle) in check_explicit_phandles()
470 phandle = linux_phandle; in check_explicit_phandles()
472 other = get_node_by_phandle(root, phandle); in check_explicit_phandles()
475 node->fullpath, phandle, other->fullpath); in check_explicit_phandles()
479 node->phandle = phandle; in check_explicit_phandles()
526 cell_t phandle; in fixup_phandle_references() local
542 phandle = get_node_phandle(dt, refnode); in fixup_phandle_references()
543 *((fdt32_t *)(prop->val.val + m->offset)) = cpu_to_fdt32(phandle); in fixup_phandle_references()