Lines Matching refs:cs_id
456 u64 cs_id = 0; in get_logical_coh_st_fabric_id_for_current_spa() local
490 cs_id = FIELD_GET(GENMASK_ULL(63, 13), denorm_ctx->current_spa) << 3; in get_logical_coh_st_fabric_id_for_current_spa()
491 cs_id %= denorm_ctx->mod_value; in get_logical_coh_st_fabric_id_for_current_spa()
492 cs_id <<= 2; in get_logical_coh_st_fabric_id_for_current_spa()
493 cs_id |= (hash_pa9 | (hash_pa12 << 1)); in get_logical_coh_st_fabric_id_for_current_spa()
494 cs_id |= hash_pa8 << df_cfg.socket_id_shift; 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()
499 cs_id %= denorm_ctx->mod_value; in get_logical_coh_st_fabric_id_for_current_spa()
500 cs_id <<= 2; in get_logical_coh_st_fabric_id_for_current_spa()
501 cs_id |= (hash_pa12 | (hash_pa13 << 1)); in get_logical_coh_st_fabric_id_for_current_spa()
502 cs_id |= hash_pa8 << df_cfg.socket_id_shift; 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()
507 cs_id %= denorm_ctx->mod_value; in get_logical_coh_st_fabric_id_for_current_spa()
508 cs_id <<= 2; in get_logical_coh_st_fabric_id_for_current_spa()
509 cs_id |= (hash_pa8 | (hash_pa9 << 1)); 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()
514 cs_id %= denorm_ctx->mod_value; in get_logical_coh_st_fabric_id_for_current_spa()
515 cs_id <<= 2; in get_logical_coh_st_fabric_id_for_current_spa()
516 cs_id |= (hash_pa8 | (hash_pa12 << 1)); 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()
523 cs_id %= denorm_ctx->mod_value; in get_logical_coh_st_fabric_id_for_current_spa()
524 cs_id <<= 1; in get_logical_coh_st_fabric_id_for_current_spa()
525 cs_id |= hash_pa8; 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()
531 cs_id %= denorm_ctx->mod_value; in get_logical_coh_st_fabric_id_for_current_spa()
532 cs_id <<= 1; in get_logical_coh_st_fabric_id_for_current_spa()
533 cs_id |= hash_pa8; 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()
540 cs_id %= denorm_ctx->mod_value; 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()
547 cs_id %= denorm_ctx->mod_value; in get_logical_coh_st_fabric_id_for_current_spa()
555 if (cs_id > 0xffff) { in get_logical_coh_st_fabric_id_for_current_spa()
560 return cs_id; in get_logical_coh_st_fabric_id_for_current_spa()