Lines Matching refs:amd_northbridges
143 static struct amd_northbridge_info amd_northbridges; variable
147 return amd_northbridges.num; in amd_nb_num()
153 return ((amd_northbridges.flags & feature) == feature); in amd_nb_has_feature()
159 return (node < amd_northbridges.num) ? &amd_northbridges.nb[node] : NULL; in node_to_amd_nb()
179 if (node >= amd_northbridges.num) in __amd_smn_rw()
232 if (amd_northbridges.num) in amd_cache_northbridges()
269 amd_northbridges.nb = nb; in amd_cache_northbridges()
270 amd_northbridges.num = misc_count; in amd_cache_northbridges()
273 for (i = 0; i < amd_northbridges.num; i++) { in amd_cache_northbridges()
295 amd_northbridges.flags |= AMD_NB_GART; in amd_cache_northbridges()
311 amd_northbridges.flags |= AMD_NB_L3_INDEX_DISABLE; in amd_cache_northbridges()
314 amd_northbridges.flags |= AMD_NB_L3_INDEX_DISABLE; in amd_cache_northbridges()
318 amd_northbridges.flags |= AMD_NB_L3_PARTITIONING; in amd_cache_northbridges()
439 flush_words = kmalloc_array(amd_northbridges.num, sizeof(u32), GFP_KERNEL); in amd_cache_gart()
441 amd_northbridges.flags &= ~AMD_NB_GART; in amd_cache_gart()
446 for (i = 0; i != amd_northbridges.num; i++) in amd_cache_gart()
467 for (i = 0; i < amd_northbridges.num; i++) { in amd_flush_garts()
472 for (i = 0; i < amd_northbridges.num; i++) { in amd_flush_garts()
506 if (!amd_northbridges.num) in fix_erratum_688()