of_parse_phandle — find a node pointed by phandle in a list
struct device_node * of_parse_phandle ( | const struct device_node * np, |
const char * phandle_name, | |
int index) ; |
np
Pointer to node that contains the phandle list
phandle_name
Name of property that contains the phandle list
index
Index into the phandle list
Resolve a phandle to a device node pointer.
The phandle is an element of the property phandle_name in node np. The property list contains only phandles; it does not contain any arguments.
Index specifies which element of property handle_name_name contains the desired phandle. Index is zero-based.