Name
of_find_next_cache_node —
find node's subsidiary cache
Synopsis
struct device_node * of_find_next_cache_node ( | const struct device_node * np) ; |
Arguments
np
Pointer to node of type “cpu” or “cache”
Description
Find node referenced by phandle in property 'l2-cache' or
'next-level-cache'. If phandle not found and type of np is 'cpu'
then find child node of np named 'cache'.
Caller should hold a reference to np.
Return
A node pointer with refcount incremented, use
of_node_put
on it when done. NULL if node is not found.