Lines Matching refs:hw_dif_info

84 	ocs_hw_dif_info_t *hw_dif_info);
795 …si_convert_dif_info(ocs_t *ocs, ocs_scsi_dif_info_t *scsi_dif_info, ocs_hw_dif_info_t *hw_dif_info) in ocs_scsi_convert_dif_info() argument
798 ocs_memset(hw_dif_info, 0, sizeof(ocs_hw_dif_info_t)); in ocs_scsi_convert_dif_info()
801 hw_dif_info->dif_oper = OCS_HW_DIF_OPER_DISABLED; in ocs_scsi_convert_dif_info()
802 hw_dif_info->blk_size = OCS_HW_DIF_BK_SIZE_NA; in ocs_scsi_convert_dif_info()
809 hw_dif_info->dif_oper = OCS_HW_SGE_DIF_OP_IN_NODIF_OUT_CRC; in ocs_scsi_convert_dif_info()
810 hw_dif_info->dif = SLI4_DIF_INSERT; in ocs_scsi_convert_dif_info()
813 hw_dif_info->dif_oper = OCS_HW_SGE_DIF_OP_IN_CRC_OUT_NODIF; in ocs_scsi_convert_dif_info()
814 hw_dif_info->dif = SLI4_DIF_STRIP; in ocs_scsi_convert_dif_info()
817 hw_dif_info->dif_oper = OCS_HW_SGE_DIF_OP_IN_NODIF_OUT_CHKSUM; in ocs_scsi_convert_dif_info()
818 hw_dif_info->dif = SLI4_DIF_INSERT; in ocs_scsi_convert_dif_info()
821 hw_dif_info->dif_oper = OCS_HW_SGE_DIF_OP_IN_CHKSUM_OUT_NODIF; in ocs_scsi_convert_dif_info()
822 hw_dif_info->dif = SLI4_DIF_STRIP; in ocs_scsi_convert_dif_info()
825 hw_dif_info->dif_oper = OCS_HW_SGE_DIF_OP_IN_CRC_OUT_CRC; in ocs_scsi_convert_dif_info()
826 hw_dif_info->dif = SLI4_DIF_PASS_THROUGH; in ocs_scsi_convert_dif_info()
829 hw_dif_info->dif_oper = OCS_HW_SGE_DIF_OP_IN_CHKSUM_OUT_CHKSUM; in ocs_scsi_convert_dif_info()
830 hw_dif_info->dif = SLI4_DIF_PASS_THROUGH; in ocs_scsi_convert_dif_info()
833 hw_dif_info->dif_oper = OCS_HW_SGE_DIF_OP_IN_CRC_OUT_CHKSUM; in ocs_scsi_convert_dif_info()
834 hw_dif_info->dif = SLI4_DIF_PASS_THROUGH; in ocs_scsi_convert_dif_info()
837 hw_dif_info->dif_oper = OCS_HW_SGE_DIF_OP_IN_CHKSUM_OUT_CRC; in ocs_scsi_convert_dif_info()
838 hw_dif_info->dif = SLI4_DIF_PASS_THROUGH; in ocs_scsi_convert_dif_info()
841 hw_dif_info->dif_oper = OCS_HW_SGE_DIF_OP_IN_RAW_OUT_RAW; in ocs_scsi_convert_dif_info()
842 hw_dif_info->dif = SLI4_DIF_PASS_THROUGH; in ocs_scsi_convert_dif_info()
852 hw_dif_info->blk_size = OCS_HW_DIF_BK_SIZE_512; in ocs_scsi_convert_dif_info()
855 hw_dif_info->blk_size = OCS_HW_DIF_BK_SIZE_1024; in ocs_scsi_convert_dif_info()
858 hw_dif_info->blk_size = OCS_HW_DIF_BK_SIZE_2048; in ocs_scsi_convert_dif_info()
861 hw_dif_info->blk_size = OCS_HW_DIF_BK_SIZE_4096; in ocs_scsi_convert_dif_info()
864 hw_dif_info->blk_size = OCS_HW_DIF_BK_SIZE_520; in ocs_scsi_convert_dif_info()
867 hw_dif_info->blk_size = OCS_HW_DIF_BK_SIZE_4104; in ocs_scsi_convert_dif_info()
877 if (hw_dif_info->dif == SLI4_DIF_INSERT ) { in ocs_scsi_convert_dif_info()
878 hw_dif_info->ref_tag_repl = scsi_dif_info->ref_tag; in ocs_scsi_convert_dif_info()
879 hw_dif_info->app_tag_repl = scsi_dif_info->app_tag; in ocs_scsi_convert_dif_info()
881 hw_dif_info->ref_tag_cmp = scsi_dif_info->ref_tag; in ocs_scsi_convert_dif_info()
882 hw_dif_info->app_tag_cmp = scsi_dif_info->app_tag; in ocs_scsi_convert_dif_info()
885 hw_dif_info->check_ref_tag = scsi_dif_info->check_ref_tag; in ocs_scsi_convert_dif_info()
886 hw_dif_info->check_app_tag = scsi_dif_info->check_app_tag; in ocs_scsi_convert_dif_info()
887 hw_dif_info->check_guard = scsi_dif_info->check_guard; in ocs_scsi_convert_dif_info()
888 hw_dif_info->auto_incr_ref_tag = 1; in ocs_scsi_convert_dif_info()
889 hw_dif_info->dif_separate = scsi_dif_info->dif_separate; in ocs_scsi_convert_dif_info()
890 hw_dif_info->disable_app_ffff = scsi_dif_info->disable_app_ffff; in ocs_scsi_convert_dif_info()
891 hw_dif_info->disable_app_ref_ffff = scsi_dif_info->disable_app_ref_ffff; in ocs_scsi_convert_dif_info()
894 hw_dif_info->dif_seed = dif_seed; in ocs_scsi_convert_dif_info()