Lines Matching refs:phandle

60  * overlay_get_target_phandle - retrieves the target phandle of a fragment
64 * overlay_get_target_phandle() retrieves the target phandle of an
65 * overlay fragment when that fragment uses a phandle (target
69 * the phandle pointed by the target property
70 * 0, if the phandle was not found
71 * -1, if the phandle was malformed
97 * done (through a phandle or a path)
106 uint32_t phandle;
110 /* Try first to do a phandle based lookup */
111 phandle = overlay_get_target_phandle(fdto, fragment);
112 if (phandle == (uint32_t)-1)
115 /* no phandle, try path */
116 if (!phandle) {
124 ret = fdt_node_offset_by_phandle(fdt, phandle);
148 * overlay_phandle_add_offset - Increases a phandle by an offset
151 * @name: Name of the property to modify (phandle or linux,phandle)
154 * overlay_phandle_add_offset() increments a node phandle by a given
207 ret = overlay_phandle_add_offset(fdto, node, "phandle", delta);
211 ret = overlay_phandle_add_offset(fdto, node, "linux,phandle", delta);
390 * overlay_fixup_one_phandle - Set an overlay phandle to the base one
394 * @path: Path to a node holding a phandle in the overlay
396 * @name: Name of the property holding the phandle reference in the overlay
398 * @poffset: Offset within the overlay property where the phandle is stored
399 * @label: Label of the node referenced by the phandle
401 * overlay_fixup_one_phandle() resolves an overlay phandle pointing to
419 uint32_t phandle;
436 phandle = fdt_get_phandle(fdt, symbol_off);
437 if (!phandle)
446 phandle_prop = cpu_to_fdt32(phandle);
454 * overlay_fixup_phandle - Set an overlay phandle to the base one