Home
last modified time | relevance | path

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

/linux/drivers/ras/amd/atl/
H A Ddehash.c36 bool hash_ctl_64k, hash_ctl_2M, hash_ctl_1G; in df3_dehash_addr() local
39 hash_ctl_64k = FIELD_GET(DF3_HASH_CTL_64K, ctx->map.ctl); in df3_dehash_addr()
48 hashed_bit ^= FIELD_GET(BIT_ULL(18), ctx->ret_addr) & hash_ctl_64k; in df3_dehash_addr()
62 hashed_bit ^= FIELD_GET(BIT_ULL(16), ctx->ret_addr) & hash_ctl_64k; in df3_dehash_addr()
76 hashed_bit ^= FIELD_GET(BIT_ULL(17), ctx->ret_addr) & hash_ctl_64k; in df3_dehash_addr()
137 bool hash_ctl_64k, hash_ctl_2M, hash_ctl_1G; in df4_dehash_addr() local
140 hash_ctl_64k = FIELD_GET(DF4_HASH_CTL_64K, ctx->map.ctl); in df4_dehash_addr()
147 hashed_bit ^= FIELD_GET(BIT_ULL(16), ctx->ret_addr) & hash_ctl_64k; in df4_dehash_addr()
169 hashed_bit ^= FIELD_GET(BIT_ULL(17), ctx->ret_addr) & hash_ctl_64k; in df4_dehash_addr()
183 hashed_bit ^= FIELD_GET(BIT_ULL(18), ctx->ret_addr) & hash_ctl_64k; in df4_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
458 hash_ctl_64k = FIELD_GET(DF4_HASH_CTL_64K, ctx->map.ctl); in get_logical_coh_st_fabric_id_for_current_spa()
465 hash_pa8 ^= FIELD_GET(BIT_ULL(16), denorm_ctx->current_spa) & hash_ctl_64k; in get_logical_coh_st_fabric_id_for_current_spa()
471 hash_pa9 ^= FIELD_GET(BIT_ULL(17), denorm_ctx->current_spa) & hash_ctl_64k; in get_logical_coh_st_fabric_id_for_current_spa()
477 hash_pa12 ^= FIELD_GET(BIT_ULL(18), denorm_ctx->current_spa) & hash_ctl_64k; in get_logical_coh_st_fabric_id_for_current_spa()
483 hash_pa13 ^= FIELD_GET(BIT_ULL(19), denorm_ctx->current_spa) & hash_ctl_64k; in get_logical_coh_st_fabric_id_for_current_spa()
655 bool hash_ctl_64k, hash_ctl_2M, hash_ctl_1G; in denorm_addr_df4_np2() local
772 hash_ctl_64k = FIELD_GET(DF4_HASH_CTL_64K, ctx->map.ctl); in denorm_addr_df4_np2()
778 hashed_bit ^= FIELD_GET(BIT_ULL(16), ctx->ret_addr) & hash_ctl_64k; in denorm_addr_df4_np2()
795 hashed_bit ^= FIELD_GET(BIT_ULL(18), ctx->ret_addr) & hash_ctl_64k; in denorm_addr_df4_np2()
[all …]