Lines Matching refs:l3
238 union l3_cache l3; in amd_cpuid4() local
246 cpuid(0x80000006, &dummy, &dummy, &l2.val, &l3.val); in amd_cpuid4()
270 if (!l3.val) in amd_cpuid4()
272 assoc = assocs[l3.assoc]; in amd_cpuid4()
273 line_size = l3.line_size; in amd_cpuid4()
274 lines_per_tag = l3.lines_per_tag; in amd_cpuid4()
275 size_in_kb = l3.size_encoded * 512; in amd_cpuid4()
308 struct amd_l3_cache *l3 = &nb->l3_cache; in amd_calc_l3_indices() local
315 l3->subcaches[0] = sc0 = !(val & BIT(0)); in amd_calc_l3_indices()
316 l3->subcaches[1] = sc1 = !(val & BIT(4)); in amd_calc_l3_indices()
319 l3->subcaches[0] = sc0 += !(val & BIT(1)); in amd_calc_l3_indices()
320 l3->subcaches[1] = sc1 += !(val & BIT(5)); in amd_calc_l3_indices()
323 l3->subcaches[2] = sc2 = !(val & BIT(8)) + !(val & BIT(9)); in amd_calc_l3_indices()
324 l3->subcaches[3] = sc3 = !(val & BIT(12)) + !(val & BIT(13)); in amd_calc_l3_indices()
326 l3->indices = (max(max3(sc0, sc1, sc2), sc3) << 10) - 1; in amd_calc_l3_indices()
724 unsigned int trace = 0, l1i = 0, l1d = 0, l2 = 0, l3 = 0; in init_intel_cacheinfo() local
823 l3 += cache_table[k].size; in init_intel_cacheinfo()
853 l3 = new_l3; in init_intel_cacheinfo()
871 c->x86_cache_size = l3 ? l3 : (l2 ? l2 : (l1i+l1d)); in init_intel_cacheinfo()