[go: nahoru, domu]

Lines Matching refs:phandle

1013  * of_find_node_by_phandle - Find a node given a phandle
1014 * @handle: phandle of the node to find
1019 struct device_node *of_find_node_by_phandle(phandle handle)
1029 if (np->phandle == handle)
1375 phandle phandle;
1377 /* Retrieve the phandle list property */
1389 * If phandle is 0, then it is an empty entry with no
1392 phandle = be32_to_cpup(list++);
1393 if (phandle) {
1404 node = of_find_node_by_phandle(phandle);
1406 pr_err("%s: could not find phandle\n",
1443 if (!phandle)
1470 * -ENOENT : index is for empty phandle
1472 * [1..n] : Number of phandle (count mode; when index = -1)
1482 * of_parse_phandle - Resolve a phandle property to a device_node pointer
1483 * @np: Pointer to device node holding phandle property
1484 * @phandle_name: Name of property holding a phandle value
1508 * of_parse_phandle_with_args() - Find a node pointed by phandle in a list
1512 * @index: index of a phandle to parse out
1551 * of_parse_phandle_with_fixed_args() - Find a node pointed by phandle in a list
1554 * @cell_count: number of argument cells following the phandle
1555 * @index: index of a phandle to parse out
1597 * Returns the number of phandle + argument tuples within a property. It
1598 * is a typical pattern to encode a list of phandle and variable
1600 * by a property in the phandle-target node. For example, a gpios
1602 * phandle and 1 or more arguments. The number of arguments are
1604 * phandle.
1849 !strcmp(pp->name, "phandle") ||
1850 !strcmp(pp->name, "linux,phandle"))
1975 const phandle *handle;