Searched refs:phandle_cache (Results 1 – 1 of 1) sorted by relevance
141 static struct device_node *phandle_cache[OF_PHANDLE_CACHE_SZ]; variable161 np = phandle_cache[handle_hash]; in __of_phandle_cache_inv_entry()163 phandle_cache[handle_hash] = NULL; in __of_phandle_cache_inv_entry()181 if (np->phandle && !phandle_cache[of_phandle_cache_hash(np->phandle)]) in of_core_init()182 phandle_cache[of_phandle_cache_hash(np->phandle)] = np; in of_core_init()1209 if (phandle_cache[handle_hash] && in of_find_node_by_phandle()1210 handle == phandle_cache[handle_hash]->phandle) in of_find_node_by_phandle()1211 np = phandle_cache[handle_hash]; in of_find_node_by_phandle()1217 phandle_cache[handle_hash] = np; in of_find_node_by_phandle()