Home
last modified time | relevance | path

Searched refs:prot_type (Results 1 – 14 of 14) sorted by relevance

/drivers/target/iscsi/
A Discsi_target_tpg.c831 u32 prot_type) in iscsit_ta_fabric_prot_type() argument
835 if ((prot_type != 0) && (prot_type != 1) && (prot_type != 3)) { in iscsit_ta_fabric_prot_type()
836 pr_err("Illegal value for fabric_prot_type: %u\n", prot_type); in iscsit_ta_fabric_prot_type()
840 a->fabric_prot_type = prot_type; in iscsit_ta_fabric_prot_type()
842 tpg->tpgt, prot_type); in iscsit_ta_fabric_prot_type()
/drivers/target/
A Dtarget_core_sbc.c606 sbc_set_prot_op_checks(u8 protect, bool fabric_prot, enum target_prot_type prot_type, in sbc_set_prot_op_checks() argument
621 if (prot_type == TARGET_DIF_TYPE1_PROT) in sbc_set_prot_op_checks()
625 if (prot_type == TARGET_DIF_TYPE1_PROT) in sbc_set_prot_op_checks()
644 if (prot_type == TARGET_DIF_TYPE1_PROT) in sbc_set_prot_op_checks()
648 if (prot_type == TARGET_DIF_TYPE1_PROT) in sbc_set_prot_op_checks()
724 cmd->prot_type = pi_prot_type; in sbc_check_prot()
738 __func__, cmd->prot_type, cmd->data_length, cmd->prot_length, in sbc_check_prot()
1210 if (cmd->prot_type == TARGET_DIF_TYPE1_PROT) in sbc_dif_generate()
1251 if (cmd->prot_type == TARGET_DIF_TYPE1_PROT && in sbc_dif_v1_verify()
1259 if (cmd->prot_type == TARGET_DIF_TYPE2_PROT && in sbc_dif_v1_verify()
A Dtarget_core_file.c598 if (cmd->prot_type && dev->dev_attrib.pi_prot_type) { in fd_execute_rw_buffered()
609 if (ret > 0 && cmd->prot_type && dev->dev_attrib.pi_prot_type && in fd_execute_rw_buffered()
620 if (cmd->prot_type && dev->dev_attrib.pi_prot_type && in fd_execute_rw_buffered()
651 if (ret > 0 && cmd->prot_type && dev->dev_attrib.pi_prot_type) { in fd_execute_rw_buffered()
A Dtarget_core_iblock.c802 if (cmd->prot_type && dev->dev_attrib.pi_prot_type) in iblock_execute_rw()
814 if (cmd->prot_type && dev->dev_attrib.pi_prot_type) { in iblock_execute_rw()
839 if (cmd->prot_type && dev->dev_attrib.pi_prot_type) { in iblock_execute_rw()
A Dtarget_core_rd.c453 if (cmd->prot_type && se_dev->dev_attrib.pi_prot_type && in rd_execute_rw()
521 if (cmd->prot_type && se_dev->dev_attrib.pi_prot_type && in rd_execute_rw()
/drivers/net/ethernet/intel/ice/
A Dice_protocol_type.h451 enum ice_protocol_type prot_type; member
A Dice_switch.c4610 .prot_type = id, \
/drivers/soc/tegra/cbb/
A Dtegra234-cbb.c424 u8 cache_type, prot_type, burst_length, mstr_id, grpsec, vqc, falconsec, beat_size; in print_errlog_err() local
457 prot_type = FIELD_GET(FAB_EM_EL_AXPROT, cbb->mn_attr0); in print_errlog_err()
478 tegra_cbb_print_prot(file, prot_type); in print_errlog_err()
/drivers/scsi/isci/
A Drequest.c420 u8 prot_type = scsi_get_prot_type(scmd); in scu_ssp_io_request_construct_task_context() local
445 if (prot_type != SCSI_PROT_DIF_TYPE0) { in scu_ssp_io_request_construct_task_context()
447 scu_ssp_ireq_dif_strip(ireq, prot_type, prot_op); in scu_ssp_io_request_construct_task_context()
449 scu_ssp_ireq_dif_insert(ireq, prot_type, prot_op); in scu_ssp_io_request_construct_task_context()
/drivers/scsi/qla2xxx/
A Dqla_target.c2933 if ((se_cmd->prot_type == TARGET_DIF_TYPE1_PROT) || in qla_tgt_set_dif_tags()
2934 (se_cmd->prot_type == TARGET_DIF_TYPE2_PROT)) in qla_tgt_set_dif_tags()
2936 else if (se_cmd->prot_type == TARGET_DIF_TYPE3_PROT) in qla_tgt_set_dif_tags()
2942 switch (se_cmd->prot_type) { in qla_tgt_set_dif_tags()
3061 if ((se_cmd->prot_type == TARGET_DIF_TYPE1_PROT) || in qlt_build_ctio_crc2_pkt()
3062 (se_cmd->prot_type == TARGET_DIF_TYPE2_PROT)) in qlt_build_ctio_crc2_pkt()
3064 else if (se_cmd->prot_type == TARGET_DIF_TYPE3_PROT) in qlt_build_ctio_crc2_pkt()
/drivers/scsi/csiostor/
A Dcsio_hw.c4313 uint32_t adap_type, prot_type; in csio_hw_set_description() local
4316 prot_type = (dev_id & CSIO_ASIC_DEVID_PROTO_MASK); in csio_hw_set_description()
4319 if (prot_type == CSIO_T5_FCOE_ASIC) { in csio_hw_set_description()
/drivers/infiniband/ulp/isert/
A Dib_isert.c1994 if (se_cmd->prot_type == TARGET_DIF_TYPE1_PROT || in isert_set_dif_domain()
1995 se_cmd->prot_type == TARGET_DIF_TYPE2_PROT) in isert_set_dif_domain()
/drivers/s390/net/
A Dqeth_core_main.c2499 u8 prot_type = qeth_mpc_select_prot_type(card); in qeth_ulp_enable() local
2511 memcpy(QETH_ULP_ENABLE_PROT_TYPE(iob->data), &prot_type, 1); in qeth_ulp_enable()
3051 u8 prot_type = qeth_mpc_select_prot_type(card); in qeth_prepare_ipa_cmd() local
3060 memcpy(QETH_IPA_CMD_PROT_TYPE(iob->data), &prot_type, 1); in qeth_prepare_ipa_cmd()
/drivers/scsi/
A Dscsi_lib.c1662 cmd->prot_type = 0; in scsi_prepare_cmd()

Completed in 65 milliseconds