Lines Matching defs:this_leaf
20 cache_get_priv_group(struct cacheinfo *this_leaf)
23 return rv_cache_ops->get_priv_group(this_leaf);
39 struct cacheinfo *this_leaf;
43 this_leaf = this_cpu_ci->info_list + index;
44 if (this_leaf->level == level && this_leaf->type == type)
45 return this_leaf;
53 struct cacheinfo *this_leaf = get_cacheinfo(level, type);
55 return this_leaf ? this_leaf->size : 0;
60 struct cacheinfo *this_leaf = get_cacheinfo(level, type);
62 return this_leaf ? (this_leaf->ways_of_associativity << 16 |
63 this_leaf->coherency_line_size) :
67 static void ci_leaf_init(struct cacheinfo *this_leaf,
70 this_leaf->level = level;
71 this_leaf->type = type;
82 struct cacheinfo *this_leaf = this_cpu_ci->info_list;
98 ci_leaf_init(this_leaf++, CACHE_TYPE_DATA, level);
99 ci_leaf_init(this_leaf++, CACHE_TYPE_INST, level);
101 ci_leaf_init(this_leaf++, CACHE_TYPE_UNIFIED, level);
112 ci_leaf_init(this_leaf++, CACHE_TYPE_UNIFIED, level);
114 ci_leaf_init(this_leaf++, CACHE_TYPE_INST, level);
116 ci_leaf_init(this_leaf++, CACHE_TYPE_DATA, level);
129 ci_leaf_init(this_leaf++, CACHE_TYPE_UNIFIED, level);
131 ci_leaf_init(this_leaf++, CACHE_TYPE_INST, level);
133 ci_leaf_init(this_leaf++, CACHE_TYPE_DATA, level);