Searched refs:intlv_bit (Results 1 – 3 of 3) sorted by relevance
/linux/drivers/ras/amd/atl/ |
H A D | dehash.c | 17 u8 hashed_bit, intlv_bit, intlv_bit_pos; in df2_dehash_addr() local 20 intlv_bit = !!(BIT_ULL(intlv_bit_pos) & ctx->ret_addr); in df2_dehash_addr() 22 hashed_bit = intlv_bit; in df2_dehash_addr() 28 if (hashed_bit != intlv_bit) in df2_dehash_addr() 37 u8 hashed_bit, intlv_bit, intlv_bit_pos; in df3_dehash_addr() local 44 intlv_bit = !!(BIT_ULL(intlv_bit_pos) & ctx->ret_addr); in df3_dehash_addr() 46 hashed_bit = intlv_bit; in df3_dehash_addr() 52 if (hashed_bit != intlv_bit) in df3_dehash_addr() 59 intlv_bit = FIELD_GET(BIT_ULL(12), ctx->ret_addr); in df3_dehash_addr() 61 hashed_bit = intlv_bit; in df3_dehash_addr() [all …]
|
H A D | denormalize.c | 584 u8 low_bit, intlv_bit = ctx->map.intlv_bit_pos; in denorm_addr_df3_6chan() local 618 temp_addr_b = GENMASK_ULL(low_bit - 1, intlv_bit) & ctx->ret_addr; in denorm_addr_df3_6chan() 619 temp_addr_b >>= intlv_bit; in denorm_addr_df3_6chan() 628 phys_addr_msb = (intlv_bit + np2_bits + 1); in denorm_addr_df3_6chan() 635 temp_addr_b |= phys_addr_msb << (low_bit - total_intlv_bits - intlv_bit); in denorm_addr_df3_6chan() 641 temp_addr_b = GENMASK_ULL(63, intlv_bit) & ctx->ret_addr; in denorm_addr_df3_6chan() 642 temp_addr_b >>= intlv_bit; in denorm_addr_df3_6chan() 645 temp_addr_a = GENMASK_ULL(intlv_bit - 1, 0) & ctx->ret_addr; in denorm_addr_df3_6chan() 646 temp_addr_b <<= intlv_bit + total_intlv_bits; in denorm_addr_df3_6chan() 649 ctx->ret_addr |= coh_st_id << intlv_bit; in denorm_addr_df3_6chan()
|
/linux/drivers/edac/ |
H A D | igen6_edac.c | 398 static u64 mem_slice_hash(u64 addr, u64 mask, u64 hash_init, int intlv_bit) in mem_slice_hash() argument 401 u64 intlv = (addr >> intlv_bit) & 1; in mem_slice_hash() 413 int intlv_bit; in tgl_err_addr_to_mem_addr() local 423 intlv_bit = MEM_SLICE_HASH_LSB_MASK_BIT(ms_hash) + 6; in tgl_err_addr_to_mem_addr() 425 maddr = GET_BITFIELD(eaddr, intlv_bit, 63) << (intlv_bit + 1) | in tgl_err_addr_to_mem_addr() 426 GET_BITFIELD(eaddr, 0, intlv_bit - 1); in tgl_err_addr_to_mem_addr() 428 hash = mem_slice_hash(maddr, mask, mc, intlv_bit); in tgl_err_addr_to_mem_addr() 430 return maddr | (hash << intlv_bit); in tgl_err_addr_to_mem_addr() 454 int intlv_bit; in adl_err_addr_to_imc_addr() local 462 intlv_bit = MAC_MC_HASH_LSB(mc_hash) + 6; in adl_err_addr_to_imc_addr() [all …]
|