Searched refs:phandle (Results 1 – 6 of 6) sorted by relevance
/scripts/dtc/ |
D | checks.c | 468 cell_t phandle; in check_phandle_prop() local 498 phandle = propval_cell(prop); in check_phandle_prop() 500 if ((phandle == 0) || (phandle == -1)) { in check_phandle_prop() 502 phandle, prop->name); in check_phandle_prop() 506 return phandle; in check_phandle_prop() 514 cell_t phandle, linux_phandle; in check_explicit_phandles() local 517 assert(!node->phandle); in check_explicit_phandles() 519 phandle = check_phandle_prop(c, dti, node, "phandle"); in check_explicit_phandles() 523 if (!phandle && !linux_phandle) in check_explicit_phandles() 527 if (linux_phandle && phandle && (phandle != linux_phandle)) in check_explicit_phandles() [all …]
|
D | livetree.c | 558 struct node *get_node_by_phandle(struct node *tree, cell_t phandle) in get_node_by_phandle() argument 562 if ((phandle == 0) || (phandle == -1)) { in get_node_by_phandle() 567 if (tree->phandle == phandle) { in get_node_by_phandle() 574 node = get_node_by_phandle(child, phandle); in get_node_by_phandle() 594 static cell_t phandle = 1; /* FIXME: ick, static local */ in get_node_phandle() local 597 if ((node->phandle != 0) && (node->phandle != -1)) in get_node_phandle() 598 return node->phandle; in get_node_phandle() 600 while (get_node_by_phandle(root, phandle)) in get_node_phandle() 601 phandle++; in get_node_phandle() 603 node->phandle = phandle; in get_node_phandle() [all …]
|
D | dtc.h | 193 cell_t phandle; member 264 struct node *get_node_by_phandle(struct node *tree, cell_t phandle);
|
/scripts/dtc/libfdt/ |
D | fdt_overlay.c | 61 uint32_t phandle; in overlay_get_target() local 66 phandle = overlay_get_target_phandle(fdto, fragment); in overlay_get_target() 67 if (phandle == (uint32_t)-1) in overlay_get_target() 71 if (!phandle) { in overlay_get_target() 79 ret = fdt_node_offset_by_phandle(fdt, phandle); in overlay_get_target() 375 uint32_t phandle; in overlay_fixup_one_phandle() local 392 phandle = fdt_get_phandle(fdt, symbol_off); in overlay_fixup_one_phandle() 393 if (!phandle) in overlay_fixup_one_phandle() 402 phandle_prop = cpu_to_fdt32(phandle); in overlay_fixup_one_phandle()
|
D | fdt_ro.c | 114 int fdt_find_max_phandle(const void *fdt, uint32_t *phandle) in fdt_find_max_phandle() argument 136 if (phandle) in fdt_find_max_phandle() 137 *phandle = max; in fdt_find_max_phandle() 142 int fdt_generate_phandle(const void *fdt, uint32_t *phandle) in fdt_generate_phandle() argument 154 if (phandle) in fdt_generate_phandle() 155 *phandle = max + 1; in fdt_generate_phandle() 681 int fdt_node_offset_by_phandle(const void *fdt, uint32_t phandle) in fdt_node_offset_by_phandle() argument 685 if ((phandle == 0) || (phandle == ~0U)) in fdt_node_offset_by_phandle() 699 if (fdt_get_phandle(fdt, offset) == phandle) in fdt_node_offset_by_phandle()
|
D | libfdt.h | 368 int fdt_find_max_phandle(const void *fdt, uint32_t *phandle); 387 uint32_t phandle; in fdt_get_max_phandle() local 390 err = fdt_find_max_phandle(fdt, &phandle); in fdt_get_max_phandle() 394 return phandle; in fdt_get_max_phandle() 410 int fdt_generate_phandle(const void *fdt, uint32_t *phandle); 1004 int fdt_node_offset_by_phandle(const void *fdt, uint32_t phandle);
|