Searched refs:prot_type (Results 1 - 11 of 11) sorted by relevance

/drivers/target/
H A Dtarget_core_sbc.c559 sbc_set_prot_op_checks(u8 protect, enum target_prot_type prot_type, argument
573 if (prot_type == TARGET_DIF_TYPE1_PROT)
577 if (prot_type == TARGET_DIF_TYPE1_PROT)
595 if (prot_type == TARGET_DIF_TYPE1_PROT)
599 if (prot_type == TARGET_DIF_TYPE1_PROT)
648 cmd->prot_type = dev->dev_attrib.pi_prot_type;
660 pr_debug("%s: prot_type=%d, data_length=%d, prot_length=%d "
662 __func__, cmd->prot_type, cmd->data_length, cmd->prot_length,
H A Dtarget_core_file.c631 if (cmd->prot_type) {
639 if (ret > 0 && cmd->prot_type) {
655 if (cmd->prot_type) {
693 if (ret > 0 && cmd->prot_type) {
H A Dtarget_core_rd.c421 if (cmd->prot_type && data_direction == DMA_TO_DEVICE) {
504 if (cmd->prot_type && data_direction == DMA_FROM_DEVICE) {
H A Dtarget_core_iblock.c771 if (cmd->prot_type) {
/drivers/s390/net/
H A Dqeth_core_main.c2300 char prot_type; local
2313 prot_type = QETH_PROT_OSN2;
2315 prot_type = QETH_PROT_LAYER2;
2317 prot_type = QETH_PROT_TCPIP;
2319 memcpy(QETH_ULP_ENABLE_PROT_TYPE(iob->data), &prot_type, 1);
2918 char prot_type)
2921 memcpy(QETH_IPA_CMD_PROT_TYPE(iob->data), &prot_type, 1);
2933 char prot_type; local
2939 prot_type = QETH_PROT_OSN2;
2941 prot_type
2917 qeth_prepare_ipa_cmd(struct qeth_card *card, struct qeth_cmd_buffer *iob, char prot_type) argument
[all...]
/drivers/scsi/csiostor/
H A Dcsio_hw.c3841 uint32_t adap_type, prot_type; local
3844 prot_type = (dev_id & CSIO_ASIC_DEVID_PROTO_MASK);
3847 if (prot_type == CSIO_T4_FCOE_ASIC) {
3853 } else if (prot_type == CSIO_T5_FCOE_ASIC) {
/drivers/scsi/isci/
H A Drequest.c425 u8 prot_type = scsi_get_prot_type(scmd); local
450 if (prot_type != SCSI_PROT_DIF_TYPE0) {
452 scu_ssp_ireq_dif_strip(ireq, prot_type, prot_op);
454 scu_ssp_ireq_dif_insert(ireq, prot_type, prot_op);
/drivers/scsi/qla2xxx/
H A Dqla_target.c2019 switch (se_cmd->prot_type) {
2142 if ((se_cmd->prot_type == TARGET_DIF_TYPE1_PROT) ||
2143 (se_cmd->prot_type == TARGET_DIF_TYPE2_PROT))
2145 else if (se_cmd->prot_type == TARGET_DIF_TYPE3_PROT)
2555 ((cmd->se_cmd.prot_type != TARGET_DIF_TYPE3_PROT) ||
2603 if (cmd->se_cmd.prot_type == SCSI_PROT_DIF_TYPE3)
/drivers/infiniband/ulp/isert/
H A Dib_isert.c2643 if (se_cmd->prot_type == TARGET_DIF_TYPE1_PROT ||
2644 se_cmd->prot_type == TARGET_DIF_TYPE2_PROT)
/drivers/scsi/mpt2sas/
H A Dmpt2sas_scsih.c3749 unsigned char prot_type = scsi_get_prot_type(scmd); local
3751 if (prot_type == SCSI_PROT_DIF_TYPE0 || prot_op == SCSI_PROT_NORMAL)
3761 switch (prot_type) {
/drivers/scsi/mpt3sas/
H A Dmpt3sas_scsih.c3439 unsigned char prot_type = scsi_get_prot_type(scmd); local
3443 if (prot_type == SCSI_PROT_DIF_TYPE0 || prot_op == SCSI_PROT_NORMAL)
3453 switch (prot_type) {

Completed in 2877 milliseconds