Home
last modified time | relevance | path

Searched refs:num_intlv_bits (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/ras/amd/atl/
H A Ddehash.c89 u8 hashed_bit, intlv_bit, num_intlv_bits; in df3_6chan_dehash_addr() local
97 num_intlv_bits = ilog2(ctx->map.num_intlv_chan) + 1; in df3_6chan_dehash_addr()
105 hashed_bit ^= !!(BIT_ULL(intlv_bit_pos + num_intlv_bits) & ctx->ret_addr); in df3_6chan_dehash_addr()
321 u8 num_intlv_bits, base_bit, i; in mi300_dehash_addr() local
330 num_intlv_bits = ilog2(ctx->map.num_intlv_chan); in mi300_dehash_addr()
332 for (i = 0; i < num_intlv_bits; i++) { in mi300_dehash_addr()
366 num_intlv_bits = ilog2(ctx->map.num_intlv_dies); in mi300_dehash_addr()
368 for (i = 0; i < num_intlv_bits; i++) { in mi300_dehash_addr()
H A Ddenormalize.c96 u8 num_intlv_bits = ilog2(ctx->map.num_intlv_chan); in make_space_for_coh_st_id_mi300() local
105 denorm_addr = expand_bits(8, min(num_intlv_bits, 4), ctx->ret_addr); in make_space_for_coh_st_id_mi300()
111 if (num_intlv_bits > 4) in make_space_for_coh_st_id_mi300()
160 u8 num_intlv_bits; in get_coh_st_id_df2() local
166 num_intlv_bits = order_base_2(ctx->map.num_intlv_chan); in get_coh_st_id_df2()
167 mask = GENMASK(num_intlv_bits - 1, 0); in get_coh_st_id_df2()
178 coh_st_id |= (die_bits & mask) << num_intlv_bits; in get_coh_st_id_df2()
179 num_intlv_bits += num_die_intlv_bits; in get_coh_st_id_df2()
190 coh_st_id |= (socket_bits & mask) << num_intlv_bits; in get_coh_st_id_df2()
202 u8 num_intlv_bits = ilog2(ctx->map.num_intlv_chan); in get_coh_st_id_df4() local
[all …]