Home
last modified time | relevance | path

Searched refs:this_leaf (Results 1 – 3 of 3) sorted by relevance

/drivers/base/
Dcacheinfo.c35 static inline bool cache_leaves_are_shared(struct cacheinfo *this_leaf, in cache_leaves_are_shared() argument
38 return sib_leaf->fw_token == this_leaf->fw_token; in cache_leaves_are_shared()
74 static void cache_size(struct cacheinfo *this_leaf, struct device_node *np) in cache_size() argument
79 ct_idx = get_cacheinfo_idx(this_leaf->type); in cache_size()
82 of_property_read_u32(np, propname, &this_leaf->size); in cache_size()
86 static void cache_get_line_size(struct cacheinfo *this_leaf, in cache_get_line_size() argument
91 ct_idx = get_cacheinfo_idx(this_leaf->type); in cache_get_line_size()
102 this_leaf->coherency_line_size = line_size; in cache_get_line_size()
108 static void cache_nr_sets(struct cacheinfo *this_leaf, struct device_node *np) in cache_nr_sets() argument
113 ct_idx = get_cacheinfo_idx(this_leaf->type); in cache_nr_sets()
[all …]
/drivers/acpi/
Dpptt.c358 static void update_cache_properties(struct cacheinfo *this_leaf, in update_cache_properties() argument
365 this_leaf->fw_token = cpu_node; in update_cache_properties()
367 this_leaf->size = found_cache->size; in update_cache_properties()
369 this_leaf->coherency_line_size = found_cache->line_size; in update_cache_properties()
371 this_leaf->number_of_sets = found_cache->number_of_sets; in update_cache_properties()
373 this_leaf->ways_of_associativity = found_cache->associativity; in update_cache_properties()
377 this_leaf->attributes = CACHE_WRITE_THROUGH; in update_cache_properties()
380 this_leaf->attributes = CACHE_WRITE_BACK; in update_cache_properties()
387 this_leaf->attributes |= CACHE_READ_ALLOCATE; in update_cache_properties()
390 this_leaf->attributes |= CACHE_WRITE_ALLOCATE; in update_cache_properties()
[all …]
/drivers/soc/sifive/
Dsifive_l2_cache.c142 static const struct attribute_group *l2_get_priv_group(struct cacheinfo *this_leaf) in l2_get_priv_group() argument
145 if (this_leaf->level == 2) in l2_get_priv_group()