Searched refs:tcache (Results 1 – 5 of 5) sorted by relevance
124 struct target_cache *tcache; in hmat_get_extended_linear_cache_size() local131 list_for_each_entry(tcache, &target->caches, node) { in hmat_get_extended_linear_cache_size()132 if (tcache->cache_attrs.address_mode != in hmat_get_extended_linear_cache_size()140 *cache_size = tcache->cache_attrs.size; in hmat_get_extended_linear_cache_size()487 struct target_cache *tcache; in hmat_parse_cache() local505 tcache = kzalloc(sizeof(*tcache), GFP_KERNEL); in hmat_parse_cache()506 if (!tcache) { in hmat_parse_cache()511 tcache->cache_attrs.size = cache->cache_size; in hmat_parse_cache()512 tcache->cache_attrs.level = (attrs & ACPI_HMAT_CACHE_LEVEL) >> 4; in hmat_parse_cache()513 tcache->cache_attrs.line_size = (attrs & ACPI_HMAT_CACHE_LINE_SIZE) >> 16; in hmat_parse_cache()[all …]
48 if (c->tcache.waysize) { in init_cache_level()110 if (c->tcache.waysize) in populate_cache_leaves()111 populate_cache(tcache, this_leaf, level, CACHE_TYPE_UNIFIED); in populate_cache_leaves()
21 long getcpu(unsigned *cpu, unsigned *node, struct getcpu_cache *tcache)
267 c->tcache.linesz = tc_lsize; in rm7k_sc_init()268 c->tcache.ways = 1; in rm7k_sc_init()
517 #define cpu_tcache_line_size() cpu_data[0].tcache.linesz