• Home
  • Raw
  • Download

Lines Matching refs:intlv_en

298 	u32 intlv_en, bits;  in find_mc_by_sys_addr()  local
311 intlv_en = dram_intlv_en(pvt, 0); in find_mc_by_sys_addr()
313 if (intlv_en == 0) { in find_mc_by_sys_addr()
321 if (unlikely((intlv_en != 0x01) && in find_mc_by_sys_addr()
322 (intlv_en != 0x03) && in find_mc_by_sys_addr()
323 (intlv_en != 0x07))) { in find_mc_by_sys_addr()
324 amd64_warn("DRAM Base[IntlvEn] junk value: 0x%x, BIOS bug?\n", intlv_en); in find_mc_by_sys_addr()
328 bits = (((u32) sys_addr) >> 12) & intlv_en; in find_mc_by_sys_addr()
331 if ((dram_intlv_sel(pvt, node_id) & intlv_en) == bits) in find_mc_by_sys_addr()
605 static int num_node_interleave_bits(unsigned intlv_en) in num_node_interleave_bits() argument
610 BUG_ON(intlv_en > 7); in num_node_interleave_bits()
611 n = intlv_shift_table[intlv_en]; in num_node_interleave_bits()
947 u8 intlv_en; in get_error_address() local
954 intlv_en = tmp >> 21 & 0x7; in get_error_address()
960 cc6_base |= intlv_en ^ 0x7; in get_error_address()
965 if (!intlv_en) in get_error_address()
971 tmp_addr = (addr & GENMASK_ULL(23, 12)) << __fls(intlv_en + 1); in get_error_address()
1382 u8 intlv_en, int num_dcts_intlv, in f15_m30h_determine_channel() argument
1388 if (!(intlv_en)) in f15_m30h_determine_channel()
1413 bool hi_range_sel, u8 intlv_en) in f1x_determine_channel() argument
1440 return (sys_addr >> (12 + hweight8(intlv_en))) & 1; in f1x_determine_channel()
1615 u8 intlv_en = dram_intlv_en(pvt, range); in f1x_match_to_this_node() local
1629 if (intlv_en && (intlv_sel != ((sys_addr >> 12) & intlv_en))) in f1x_match_to_this_node()
1645 channel = f1x_determine_channel(pvt, sys_addr, high_range, intlv_en); in f1x_match_to_this_node()
1651 if (intlv_en) in f1x_match_to_this_node()
1652 chan_addr = ((chan_addr >> (12 + hweight8(intlv_en))) << 12) | in f1x_match_to_this_node()
1698 u8 intlv_en = dram_intlv_en(pvt, range); in f15_m30h_match_to_this_node() local
1731 num_dcts_intlv = (int) hweight8(intlv_en); in f15_m30h_match_to_this_node()
1736 channel = f15_m30h_determine_channel(pvt, sys_addr, intlv_en, in f15_m30h_match_to_this_node()