Searched refs:phandle (Results 1 – 7 of 7) sorted by relevance
| /scripts/dtc/ |
| A D | checks.c | 448 cell_t phandle; in check_phandle_prop() local 480 if ((phandle == 0) || (phandle == -1)) { in check_phandle_prop() 486 return phandle; in check_phandle_prop() 507 if (linux_phandle && phandle && (phandle != linux_phandle)) in check_explicit_phandles() 521 node->phandle = phandle; in check_explicit_phandles() 568 cell_t phandle; in fixup_phandle_references() local 1164 int phandle; in check_property_phandle_args() local 1171 if (phandle == 0 || phandle == -1) { in check_property_phandle_args() 1367 if ((phandle == 0 || phandle == -1) && in check_interrupts_property() 1509 int phandle; in get_remote_endpoint() local [all …]
|
| A D | livetree.c | 564 if ((phandle == 0) || (phandle == -1)) { in get_node_by_phandle() 569 if (tree->phandle == phandle) { in get_node_by_phandle() 576 node = get_node_by_phandle(child, phandle); in get_node_by_phandle() 625 if ((node->phandle != 0) && (node->phandle != -1)) in get_node_phandle() 626 return node->phandle; in get_node_phandle() 628 while (get_node_by_phandle(root, phandle)) in get_node_phandle() 629 phandle++; in get_node_phandle() 631 node->phandle = phandle; in get_node_phandle() 637 data_append_cell(empty_data, phandle))); in get_node_phandle() 643 data_append_cell(empty_data, phandle))); in get_node_phandle() [all …]
|
| A D | dtc.h | 164 cell_t phandle; member 231 struct node *get_node_by_phandle(struct node *tree, cell_t phandle);
|
| /scripts/dtc/libfdt/ |
| A 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()
|
| 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() 678 int fdt_node_offset_by_phandle(const void *fdt, uint32_t phandle) in fdt_node_offset_by_phandle() argument 682 if ((phandle == 0) || (phandle == ~0U)) in fdt_node_offset_by_phandle() 696 if (fdt_get_phandle(fdt, offset) == phandle) in fdt_node_offset_by_phandle()
|
| A D | libfdt.h | 333 int fdt_find_max_phandle(const void *fdt, uint32_t *phandle); 352 uint32_t phandle; in fdt_get_max_phandle() local 355 err = fdt_find_max_phandle(fdt, &phandle); in fdt_get_max_phandle() 359 return phandle; in fdt_get_max_phandle() 375 int fdt_generate_phandle(const void *fdt, uint32_t *phandle); 969 int fdt_node_offset_by_phandle(const void *fdt, uint32_t phandle);
|
| /scripts/dtc/pylibfdt/ |
| A D | libfdt.i_shipped | 427 """Get the phandle of a node 433 phandle of node, or 0 if the node has no phandle or another error 465 def node_offset_by_phandle(self, phandle, quiet=()): 466 """Get the offset of a node with the given phandle 469 phandle: Phandle to search for 473 The offset of node with that phandle, if any 478 return check_err(fdt_node_offset_by_phandle(self._fdt, phandle), quiet)
|
Completed in 28 milliseconds