Lines Matching refs:phandle
575 * of_find_node_by_phandle - Find a node given a phandle
576 * @handle: phandle of the node to find
581 struct device_node *of_find_node_by_phandle(phandle handle)
587 if (np->phandle == handle)
596 * of_parse_phandle - Resolve a phandle property to a device_node pointer
597 * @np: Pointer to device node holding phandle property
598 * @phandle_name: Name of property holding a phandle value
608 const __be32 *phandle;
611 phandle = of_get_property(np, phandle_name, &size);
612 if ((!phandle) || (size < sizeof(*phandle) * (index + 1)))
615 return of_find_node_by_phandle(be32_to_cpup(phandle + index));
620 * of_parse_phandles_with_args - Find a node pointed by phandle in a list
624 * @index: index of a phandle to parse out
671 phandle phandle;
673 phandle = be32_to_cpup(list++);
677 if (!phandle)
680 node = of_find_node_by_phandle(phandle);
682 pr_debug("%s: could not find phandle\n",