Home
last modified time | relevance | path

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

/linux/drivers/ras/amd/atl/
H A Ddehash.c209 bool hash_ctl_64k, hash_ctl_2M, hash_ctl_1G, hash_ctl_1T; in df4p5_dehash_addr() local
216 hash_ctl_1T = FIELD_GET(DF4p5_HASH_CTL_1T, ctx->map.ctl); in df4p5_dehash_addr()
245 hashed_bit ^= FIELD_GET(BIT_ULL(40), ctx->ret_addr) & hash_ctl_1T; in df4p5_dehash_addr()
258 hashed_bit ^= FIELD_GET(BIT_ULL(41), ctx->ret_addr) & hash_ctl_1T; in df4p5_dehash_addr()
271 hashed_bit ^= FIELD_GET(BIT_ULL(42), ctx->ret_addr) & hash_ctl_1T; in df4p5_dehash_addr()
284 hashed_bit ^= FIELD_GET(BIT_ULL(43), ctx->ret_addr) & hash_ctl_1T; in df4p5_dehash_addr()
297 hashed_bit ^= FIELD_GET(BIT_ULL(44), ctx->ret_addr) & hash_ctl_1T; in df4p5_dehash_addr()
319 bool hash_ctl_4k, hash_ctl_64k, hash_ctl_2M, hash_ctl_1G, hash_ctl_1T; in mi300_dehash_addr() local
327 hash_ctl_1T = FIELD_GET(DF4p5_HASH_CTL_1T, ctx->map.ctl); in mi300_dehash_addr()
357 hashed_bit ^= test_bit & hash_ctl_1T; in mi300_dehash_addr()
[all …]
H A Ddenormalize.c454 bool hash_ctl_64k, hash_ctl_2M, hash_ctl_1G, hash_ctl_1T; in get_logical_coh_st_fabric_id_for_current_spa() local
461 hash_ctl_1T = FIELD_GET(DF4p5_HASH_CTL_1T, ctx->map.ctl); in get_logical_coh_st_fabric_id_for_current_spa()
468 hash_pa8 ^= FIELD_GET(BIT_ULL(40), denorm_ctx->current_spa) & hash_ctl_1T; in get_logical_coh_st_fabric_id_for_current_spa()
474 hash_pa9 ^= FIELD_GET(BIT_ULL(41), denorm_ctx->current_spa) & hash_ctl_1T; in get_logical_coh_st_fabric_id_for_current_spa()
480 hash_pa12 ^= FIELD_GET(BIT_ULL(42), denorm_ctx->current_spa) & hash_ctl_1T; in get_logical_coh_st_fabric_id_for_current_spa()
486 hash_pa13 ^= FIELD_GET(BIT_ULL(43), denorm_ctx->current_spa) & hash_ctl_1T; in get_logical_coh_st_fabric_id_for_current_spa()
905 bool hash_ctl_64k, hash_ctl_2M, hash_ctl_1G, hash_ctl_1T, hashed_bit; in recalculate_hashed_bits_df4p5_np2() local
913 hash_ctl_1T = FIELD_GET(DF4p5_HASH_CTL_1T, ctx->map.ctl); in recalculate_hashed_bits_df4p5_np2()
921 hashed_bit ^= FIELD_GET(BIT_ULL(40), denorm_ctx->current_spa) & hash_ctl_1T; in recalculate_hashed_bits_df4p5_np2()
932 hashed_bit ^= FIELD_GET(BIT_ULL(41), denorm_ctx->current_spa) & hash_ctl_1T; in recalculate_hashed_bits_df4p5_np2()
[all …]