Searched defs:phandle (Results 1 - 9 of 9) sorted by relevance

/external/dtc/tests/
H A Dget_phandle.c33 uint32_t phandle; local
39 phandle = fdt_get_phandle(fdt, offset);
40 if (phandle != checkhandle)
42 path, phandle, checkhandle);
H A Dnode_offset_by_phandle.c31 static void check_search(void *fdt, uint32_t phandle, int target) argument
35 offset = fdt_node_offset_by_phandle(fdt, phandle);
39 "instead of %d", phandle, offset, target);
/external/dtc/
H A Ddtc.h56 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);
H A Dchecks.c406 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
452 cell_t phandle, linux_phandle; local
526 cell_t phandle; local
[all...]
H A Dlivetree.c532 struct node *get_node_by_phandle(struct node *tree, cell_t phandle) argument
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/
H A Dfdt_overlay.c9 * 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
357 uint32_t phandle; local
[all...]
H A Dfdt_ro.c98 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) argument
529 if ((phandle == 0) || (phandle
[all...]
/external/mesa3d/src/gallium/drivers/nouveau/nv50/
H A Dnv50_state.c1233 nv50_set_global_handle(uint32_t *phandle, struct pipe_resource *res) argument
1239 *phandle = (uint32_t)buf->address;
1243 *phandle = 0;
1246 *phandle = 0;
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/
H A Dnvc0_state.c1303 nvc0_set_global_handle(uint32_t *phandle, struct pipe_resource *res) argument
1309 *phandle = (uint32_t)buf->address;
1313 *phandle = 0;
1316 *phandle = 0;

Completed in 210 milliseconds