Lines Matching refs:handle
143 static u32 of_phandle_cache_hash(phandle handle) in of_phandle_cache_hash() argument
145 return hash_32(handle, OF_PHANDLE_CACHE_BITS); in of_phandle_cache_hash()
151 void __of_phandle_cache_inv_entry(phandle handle) in __of_phandle_cache_inv_entry() argument
156 if (!handle) in __of_phandle_cache_inv_entry()
159 handle_hash = of_phandle_cache_hash(handle); in __of_phandle_cache_inv_entry()
162 if (np && handle == np->phandle) in __of_phandle_cache_inv_entry()
1062 struct device_node *of_find_node_by_phandle(phandle handle) in of_find_node_by_phandle() argument
1068 if (!handle) in of_find_node_by_phandle()
1071 handle_hash = of_phandle_cache_hash(handle); in of_find_node_by_phandle()
1076 handle == phandle_cache[handle_hash]->phandle) in of_find_node_by_phandle()
1081 if (np->phandle == handle && in of_find_node_by_phandle()