HomeSort by relevance Sort by last modified time
    Searched defs:phandle (Results 1 - 8 of 8) sorted by null

  /external/dtc/tests/
get_phandle.c 33 uint32_t phandle; local
39 phandle = fdt_get_phandle(fdt, offset);
40 if (phandle != checkhandle)
42 path, phandle, checkhandle);
  /system/libufdt/include/
ufdt_types.h 70 uint32_t phandle; member in struct:ufdt_phandle_table_entry
  /external/dtc/
dtc.h 56 extern int phandle_format; /* Use linux,phandle or phandle properties */
160 cell_t phandle; member in struct:node
221 struct node *get_node_by_phandle(struct node *tree, cell_t phandle);
checks.c 406 cell_t phandle; local
422 /* "Set this node's phandle equal to some
423 * other node's phandle". That's nonsensical
428 /* But setting this node's phandle equal to its own
429 * phandle is allowed - that means allocate a unique
430 * phandle for this node, even if it's not otherwise
432 * we treat it as having no phandle data for now. */
436 phandle = propval_cell(prop);
438 if ((phandle == 0) || (phandle == -1))
452 cell_t phandle, linux_phandle; local
526 cell_t phandle; local
    [all...]
livetree.c 532 struct node *get_node_by_phandle(struct node *tree, cell_t phandle)
536 assert((phandle != 0) && (phandle != -1));
538 if (tree->phandle == phandle) {
545 node = get_node_by_phandle(child, phandle);
565 static cell_t phandle = 1; /* FIXME: ick, static local */ local
567 if ((node->phandle != 0) && (node->phandle != -1))
568 return node->phandle;
    [all...]
  /external/dtc/libfdt/
fdt_overlay.c 9 * overlay_get_target_phandle - retrieves the target phandle of a fragment
13 * overlay_get_target_phandle() retrieves the target phandle of an
14 * overlay fragment when that fragment uses a phandle (target
18 * the phandle pointed by the target property
19 * 0, if the phandle was not found
20 * -1, if the phandle was malformed
45 * done (through a phandle or a path)
54 uint32_t phandle; local
58 /* Try first to do a phandle based lookup */
59 phandle = overlay_get_target_phandle(fdto, fragment)
357 uint32_t phandle; local
    [all...]
fdt_ro.c 98 uint32_t phandle; local
106 phandle = fdt_get_phandle(fdt, offset);
107 if (phandle == (uint32_t)-1)
110 if (phandle > max_phandle)
111 max_phandle = phandle;
362 php = fdt_getprop(fdt, nodeoffset, "phandle", &len);
364 php = fdt_getprop(fdt, nodeoffset, "linux,phandle", &len);
525 int fdt_node_offset_by_phandle(const void *fdt, uint32_t phandle)
529 if ((phandle == 0) || (phandle == -1)
    [all...]
  /system/libufdt/
ufdt_overlay.c 68 * Gets the max phandle of a given ufdt.
73 return sorted_table.data[sorted_table.len - 1].phandle;
79 * Tries to increase the phandle value of a node
80 * if the phandle exists.
85 char *prop_data = ufdt_node_get_fdt_prop_data_by_name(node, "phandle", &len);
89 prop_data = ufdt_node_get_fdt_prop_data_by_name(node, "linux,phandle", &len);
113 * In the overlay_tree, there are some references (phandle)
204 * @phandle is value for these locations.
207 int fixups_len, int phandle) {
211 val = cpu_to_fdt32(phandle);
284 uint32_t phandle = ufdt_node_get_phandle(symbol_node); local
    [all...]

Completed in 85 milliseconds