Lines Matching refs:ofnode
118 struct device_node *ofnode; /* OF node for this cache, may be cpu */ member
145 struct device_node *ofnode, int group_id) in cache_init() argument
149 cache->ofnode = of_node_get(ofnode); in cache_init()
156 struct device_node *ofnode, int group_id) in new_cache() argument
162 cache_init(cache, type, level, ofnode, group_id); in new_cache()
174 iter->ofnode, in release_cache_debugcheck()
176 cache->ofnode, in release_cache_debugcheck()
186 cache_type_string(cache), cache->ofnode); in release_cache()
190 of_node_put(cache->ofnode); in release_cache()
201 cpu, next->ofnode, in cache_cpu_set()
215 cache_size = of_get_property(cache->ofnode, propname, NULL); in cache_size()
246 line_size = of_get_property(cache->ofnode, propname, NULL); in cache_get_line_size()
265 nr_sets = of_get_property(cache->ofnode, propname, NULL); in cache_nr_sets()
314 if (iter->ofnode == cache->ofnode && in cache_find_first_sibling()
330 if (iter->ofnode != node || in cache_lookup_by_node_group()
439 smaller->level, smaller->ofnode, bigger->level, bigger->ofnode); in link_cache_lists()
447 cache_type_string(cache), cache->ofnode); in do_subsidiary_caches_debugcheck()
448 WARN_ONCE(!of_node_is_type(cache->ofnode, "cpu"), in do_subsidiary_caches_debugcheck()
450 "instead of a cpu node\n", cache->ofnode, in do_subsidiary_caches_debugcheck()
451 of_node_get_device_type(cache->ofnode)); in do_subsidiary_caches_debugcheck()
484 while ((subcache_node = of_find_next_cache_node(cache->ofnode))) { in do_subsidiary_caches()
773 attr->attr.name, cache->ofnode, in cacheinfo_create_index_opt_attrs()
779 attr->attr.name, cache->ofnode, cache_type); in cacheinfo_create_index_opt_attrs()
897 cpu, cache->ofnode, in cache_cpu_clear()