Searched refs:phandle (Results 1 – 6 of 6) sorted by relevance
/scripts/dtc/ |
A D | checks.c | 492 cell_t phandle; in check_phandle_prop() local 530 return phandle; in check_phandle_prop() 541 assert(!node->phandle); in check_explicit_phandles() 551 if (linux_phandle && phandle && (phandle != linux_phandle)) in check_explicit_phandles() 565 node->phandle = phandle; in check_explicit_phandles() 612 cell_t phandle; in fixup_phandle_references() local 1405 cell_t phandle; in check_property_phandle_args() local 1635 int phandle; in check_interrupt_map() local 1652 cell, phandle); in check_interrupt_map() 1660 phandle, cell); in check_interrupt_map() [all …]
|
A D | livetree.c | 563 if (!phandle_is_valid(phandle)) { in get_node_by_phandle() 568 if (tree->phandle == phandle) { in get_node_by_phandle() 575 node = get_node_by_phandle(child, phandle); in get_node_by_phandle() 631 d = data_append_cell(d, node->phandle); in add_phandle_property() 638 static cell_t phandle = 1; /* FIXME: ick, static local */ in get_node_phandle() local 640 if (phandle_is_valid(node->phandle)) in get_node_phandle() 641 return node->phandle; in get_node_phandle() 643 while (get_node_by_phandle(root, phandle)) in get_node_phandle() 644 phandle++; in get_node_phandle() 646 node->phandle = phandle; in get_node_phandle() [all …]
|
A D | dtc.h | 54 static inline bool phandle_is_valid(cell_t phandle) in phandle_is_valid() argument 56 return phandle != 0 && phandle != ~0U; in phandle_is_valid() 229 cell_t phandle; member 300 struct node *get_node_by_phandle(struct node *tree, cell_t phandle);
|
/scripts/dtc/libfdt/ |
A D | fdt_overlay.c | 46 uint32_t phandle; in fdt_overlay_target_offset() local 51 phandle = overlay_get_target_phandle(fdto, fragment_offset); in fdt_overlay_target_offset() 52 if (phandle == (uint32_t)-1) in fdt_overlay_target_offset() 56 if (!phandle) { in fdt_overlay_target_offset() 64 ret = fdt_node_offset_by_phandle(fdt, phandle); in fdt_overlay_target_offset() 335 int poffset, uint32_t phandle) in overlay_fixup_one_phandle() argument 349 phandle_prop = cpu_to_fdt32(phandle); in overlay_fixup_one_phandle() 384 uint32_t phandle; in overlay_fixup_phandle() local 403 phandle = fdt_get_phandle(fdt, symbol_off); in overlay_fixup_phandle() 404 if (!phandle) in overlay_fixup_phandle() [all …]
|
A 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() 710 int fdt_node_offset_by_phandle(const void *fdt, uint32_t phandle) in fdt_node_offset_by_phandle() argument 714 if ((phandle == 0) || (phandle == ~0U)) in fdt_node_offset_by_phandle() 728 if (fdt_get_phandle(fdt, offset) == phandle) in fdt_node_offset_by_phandle()
|
A D | libfdt.h | 381 int fdt_find_max_phandle(const void *fdt, uint32_t *phandle); 400 uint32_t phandle; in fdt_get_max_phandle() local 403 err = fdt_find_max_phandle(fdt, &phandle); in fdt_get_max_phandle() 407 return phandle; in fdt_get_max_phandle() 422 int fdt_generate_phandle(const void *fdt, uint32_t *phandle); 1098 int fdt_node_offset_by_phandle(const void *fdt, uint32_t phandle);
|
Completed in 20 milliseconds