Lines Matching refs:current_spa
463 hash_pa8 = FIELD_GET(BIT_ULL(8), denorm_ctx->current_spa); in get_logical_coh_st_fabric_id_for_current_spa()
464 hash_pa8 ^= FIELD_GET(BIT_ULL(14), denorm_ctx->current_spa); 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()
466 hash_pa8 ^= FIELD_GET(BIT_ULL(21), denorm_ctx->current_spa) & hash_ctl_2M; in get_logical_coh_st_fabric_id_for_current_spa()
467 hash_pa8 ^= FIELD_GET(BIT_ULL(30), denorm_ctx->current_spa) & hash_ctl_1G; 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()
470 hash_pa9 = FIELD_GET(BIT_ULL(9), denorm_ctx->current_spa); 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()
472 hash_pa9 ^= FIELD_GET(BIT_ULL(22), denorm_ctx->current_spa) & hash_ctl_2M; in get_logical_coh_st_fabric_id_for_current_spa()
473 hash_pa9 ^= FIELD_GET(BIT_ULL(31), denorm_ctx->current_spa) & hash_ctl_1G; 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()
476 hash_pa12 = FIELD_GET(BIT_ULL(12), denorm_ctx->current_spa); 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()
478 hash_pa12 ^= FIELD_GET(BIT_ULL(23), denorm_ctx->current_spa) & hash_ctl_2M; in get_logical_coh_st_fabric_id_for_current_spa()
479 hash_pa12 ^= FIELD_GET(BIT_ULL(32), denorm_ctx->current_spa) & hash_ctl_1G; 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()
482 hash_pa13 = FIELD_GET(BIT_ULL(13), denorm_ctx->current_spa); 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()
484 hash_pa13 ^= FIELD_GET(BIT_ULL(24), denorm_ctx->current_spa) & hash_ctl_2M; in get_logical_coh_st_fabric_id_for_current_spa()
485 hash_pa13 ^= FIELD_GET(BIT_ULL(33), denorm_ctx->current_spa) & hash_ctl_1G; 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()
490 cs_id = FIELD_GET(GENMASK_ULL(63, 13), denorm_ctx->current_spa) << 3; in get_logical_coh_st_fabric_id_for_current_spa()
498 cs_id = FIELD_GET(GENMASK_ULL(63, 14), denorm_ctx->current_spa) << 4; in get_logical_coh_st_fabric_id_for_current_spa()
506 cs_id = FIELD_GET(GENMASK_ULL(63, 12), denorm_ctx->current_spa) << 2; in get_logical_coh_st_fabric_id_for_current_spa()
513 cs_id = FIELD_GET(GENMASK_ULL(63, 13), denorm_ctx->current_spa) << 3; in get_logical_coh_st_fabric_id_for_current_spa()
521 cs_id = FIELD_GET(GENMASK_ULL(63, 12), denorm_ctx->current_spa) << 2; in get_logical_coh_st_fabric_id_for_current_spa()
522 cs_id |= (FIELD_GET(BIT_ULL(9), denorm_ctx->current_spa) << 1); in get_logical_coh_st_fabric_id_for_current_spa()
530 cs_id = FIELD_GET(GENMASK_ULL(63, 12), denorm_ctx->current_spa) << 2; in get_logical_coh_st_fabric_id_for_current_spa()
538 cs_id = FIELD_GET(GENMASK_ULL(63, 12), denorm_ctx->current_spa) << 2; in get_logical_coh_st_fabric_id_for_current_spa()
539 cs_id |= FIELD_GET(GENMASK_ULL(9, 8), denorm_ctx->current_spa); in get_logical_coh_st_fabric_id_for_current_spa()
545 cs_id = FIELD_GET(GENMASK_ULL(63, 12), denorm_ctx->current_spa) << 2; in get_logical_coh_st_fabric_id_for_current_spa()
546 cs_id |= FIELD_GET(BIT_ULL(8), denorm_ctx->current_spa) << 1; in get_logical_coh_st_fabric_id_for_current_spa()
916 hashed_bit = FIELD_GET(BIT_ULL(8), denorm_ctx->current_spa); in recalculate_hashed_bits_df4p5_np2()
917 hashed_bit ^= FIELD_GET(BIT_ULL(14), denorm_ctx->current_spa); in recalculate_hashed_bits_df4p5_np2()
918 hashed_bit ^= FIELD_GET(BIT_ULL(16), denorm_ctx->current_spa) & hash_ctl_64k; in recalculate_hashed_bits_df4p5_np2()
919 hashed_bit ^= FIELD_GET(BIT_ULL(21), denorm_ctx->current_spa) & hash_ctl_2M; in recalculate_hashed_bits_df4p5_np2()
920 hashed_bit ^= FIELD_GET(BIT_ULL(30), denorm_ctx->current_spa) & hash_ctl_1G; 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()
923 if (FIELD_GET(BIT_ULL(8), denorm_ctx->current_spa) != hashed_bit) in recalculate_hashed_bits_df4p5_np2()
924 denorm_ctx->current_spa ^= BIT_ULL(8); in recalculate_hashed_bits_df4p5_np2()
928 hashed_bit = FIELD_GET(BIT_ULL(9), denorm_ctx->current_spa); in recalculate_hashed_bits_df4p5_np2()
929 hashed_bit ^= FIELD_GET(BIT_ULL(17), denorm_ctx->current_spa) & hash_ctl_64k; in recalculate_hashed_bits_df4p5_np2()
930 hashed_bit ^= FIELD_GET(BIT_ULL(22), denorm_ctx->current_spa) & hash_ctl_2M; in recalculate_hashed_bits_df4p5_np2()
931 hashed_bit ^= FIELD_GET(BIT_ULL(31), denorm_ctx->current_spa) & hash_ctl_1G; 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()
934 if (FIELD_GET(BIT_ULL(9), denorm_ctx->current_spa) != hashed_bit) in recalculate_hashed_bits_df4p5_np2()
935 denorm_ctx->current_spa ^= BIT_ULL(9); in recalculate_hashed_bits_df4p5_np2()
939 hashed_bit = FIELD_GET(BIT_ULL(12), denorm_ctx->current_spa); in recalculate_hashed_bits_df4p5_np2()
940 hashed_bit ^= FIELD_GET(BIT_ULL(18), denorm_ctx->current_spa) & hash_ctl_64k; in recalculate_hashed_bits_df4p5_np2()
941 hashed_bit ^= FIELD_GET(BIT_ULL(23), denorm_ctx->current_spa) & hash_ctl_2M; in recalculate_hashed_bits_df4p5_np2()
942 hashed_bit ^= FIELD_GET(BIT_ULL(32), denorm_ctx->current_spa) & hash_ctl_1G; in recalculate_hashed_bits_df4p5_np2()
943 hashed_bit ^= FIELD_GET(BIT_ULL(42), denorm_ctx->current_spa) & hash_ctl_1T; in recalculate_hashed_bits_df4p5_np2()
945 if (FIELD_GET(BIT_ULL(12), denorm_ctx->current_spa) != hashed_bit) in recalculate_hashed_bits_df4p5_np2()
946 denorm_ctx->current_spa ^= BIT_ULL(12); in recalculate_hashed_bits_df4p5_np2()
950 hashed_bit = FIELD_GET(BIT_ULL(13), denorm_ctx->current_spa); in recalculate_hashed_bits_df4p5_np2()
951 hashed_bit ^= FIELD_GET(BIT_ULL(19), denorm_ctx->current_spa) & hash_ctl_64k; in recalculate_hashed_bits_df4p5_np2()
952 hashed_bit ^= FIELD_GET(BIT_ULL(24), denorm_ctx->current_spa) & hash_ctl_2M; in recalculate_hashed_bits_df4p5_np2()
953 hashed_bit ^= FIELD_GET(BIT_ULL(33), denorm_ctx->current_spa) & hash_ctl_1G; in recalculate_hashed_bits_df4p5_np2()
954 hashed_bit ^= FIELD_GET(BIT_ULL(43), denorm_ctx->current_spa) & hash_ctl_1T; in recalculate_hashed_bits_df4p5_np2()
956 if (FIELD_GET(BIT_ULL(13), denorm_ctx->current_spa) != hashed_bit) in recalculate_hashed_bits_df4p5_np2()
957 denorm_ctx->current_spa ^= BIT_ULL(13); in recalculate_hashed_bits_df4p5_np2()
979 u64 addr = remove_base_and_hole(ctx, denorm_ctx->current_spa); in match_norm_addr()
1093 denorm_ctx->current_spa = add_base_and_hole(ctx, denorm_addr); in check_permutations()
1097 denorm_ctx->current_spa); in check_permutations()
1106 denorm_ctx->current_spa > denorm_ctx->resolved_spa) in check_permutations()
1107 denorm_ctx->resolved_spa = denorm_ctx->current_spa; in check_permutations()
1124 denorm_ctx->current_spa = INVALID_SPA; in init_df4p5_denorm_ctx()