Searched refs:phandle_cache (Results 1 – 1 of 1) sorted by relevance
168 static struct device_node *phandle_cache[OF_PHANDLE_CACHE_SZ]; variable188 np = phandle_cache[handle_hash]; in __of_phandle_cache_inv_entry()190 phandle_cache[handle_hash] = NULL; in __of_phandle_cache_inv_entry()209 if (np->phandle && !phandle_cache[of_phandle_cache_hash(np->phandle)]) in of_core_init()210 phandle_cache[of_phandle_cache_hash(np->phandle)] = np; in of_core_init()1281 if (phandle_cache[handle_hash] && in of_find_node_by_phandle()1282 handle == phandle_cache[handle_hash]->phandle) in of_find_node_by_phandle()1283 np = phandle_cache[handle_hash]; in of_find_node_by_phandle()1289 phandle_cache[handle_hash] = np; in of_find_node_by_phandle()