• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-12-stable/contrib/dtc/libfdt/

Lines Matching defs:phandle

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;
58 /* Try first to do a phandle based lookup */
59 phandle = overlay_get_target_phandle(fdto, fragment);
60 if (phandle == (uint32_t)-1)
63 if (phandle)
64 return fdt_node_offset_by_phandle(fdt, phandle);
86 * overlay_phandle_add_offset - Increases a phandle by an offset
89 * @name: Name of the property to modify (phandle or linux,phandle)
92 * overlay_phandle_add_offset() increments a node phandle by a given
145 ret = overlay_phandle_add_offset(fdto, node, "phandle", delta);
149 ret = overlay_phandle_add_offset(fdto, node, "linux,phandle", delta);
329 * overlay_fixup_one_phandle - Set an overlay phandle to the base one
333 * @path: Path to a node holding a phandle in the overlay
335 * @name: Name of the property holding the phandle reference in the overlay
337 * @poffset: Offset within the overlay property where the phandle is stored
338 * @label: Label of the node referenced by the phandle
340 * overlay_fixup_one_phandle() resolves an overlay phandle pointing to
358 uint32_t phandle;
374 phandle = fdt_get_phandle(fdt, symbol_off);
375 if (!phandle)
384 phandle = cpu_to_fdt32(phandle);
387 &phandle, sizeof(phandle));
391 * overlay_fixup_phandle - Set an overlay phandle to the base one