Lines Matching refs:phandle
82 /* FDT_ERR_BADPHANDLE: Function was passed an invalid phandle.
83 * This can be caused either by an invalid phandle property
84 * length, or the phandle value was either 0 or -1, which are
138 * phandle available anymore without causing an overflow */
302 * fdt_get_max_phandle - retrieves the highest phandle in a tree
305 * fdt_get_max_phandle retrieves the highest phandle in the given
310 * the highest phandle on success
311 * 0, if no phandle was found in the device tree
702 * fdt_get_phandle - retrieve the phandle of a given node
706 * fdt_get_phandle() retrieves the phandle of the device tree node at
710 * the phandle of the node at nodeoffset, on success (!= 0, != -1)
711 * 0, if the node has no phandle, or another error occurs
890 * fdt_node_offset_by_phandle - find the node with a given phandle
892 * @phandle: phandle value
895 * which has the given phandle value. If there is more than one node
896 * in the tree with the given phandle (an invalid tree), results are
901 * -FDT_ERR_NOTFOUND, no node with that phandle exists
902 * -FDT_ERR_BADPHANDLE, given phandle value was invalid (0 or -1)
908 int fdt_node_offset_by_phandle(const void *fdt, uint32_t phandle);