Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/include/scsi/
H A Dscsi_cmnd.h90 unsigned char prot_type; member
281 scmd->prot_type = type; in scsi_set_prot_type()
286 return scmd->prot_type; in scsi_get_prot_type()
/OK3568_Linux_fs/kernel/drivers/target/iscsi/
H A Discsi_target_tpg.c863 u32 prot_type) in iscsit_ta_fabric_prot_type() argument
867 if ((prot_type != 0) && (prot_type != 1) && (prot_type != 3)) { in iscsit_ta_fabric_prot_type()
868 pr_err("Illegal value for fabric_prot_type: %u\n", prot_type); in iscsit_ta_fabric_prot_type()
872 a->fabric_prot_type = prot_type; in iscsit_ta_fabric_prot_type()
874 tpg->tpgt, prot_type); in iscsit_ta_fabric_prot_type()
/OK3568_Linux_fs/kernel/drivers/target/
H A Dtarget_core_sbc.c628 sbc_set_prot_op_checks(u8 protect, bool fabric_prot, enum target_prot_type prot_type, in sbc_set_prot_op_checks() argument
643 if (prot_type == TARGET_DIF_TYPE1_PROT) in sbc_set_prot_op_checks()
647 if (prot_type == TARGET_DIF_TYPE1_PROT) in sbc_set_prot_op_checks()
666 if (prot_type == TARGET_DIF_TYPE1_PROT) in sbc_set_prot_op_checks()
670 if (prot_type == TARGET_DIF_TYPE1_PROT) in sbc_set_prot_op_checks()
746 cmd->prot_type = pi_prot_type; in sbc_check_prot()
760 __func__, cmd->prot_type, cmd->data_length, cmd->prot_length, in sbc_check_prot()
1269 if (cmd->prot_type == TARGET_DIF_TYPE1_PROT) in sbc_dif_generate()
1310 if (cmd->prot_type == TARGET_DIF_TYPE1_PROT && in sbc_dif_v1_verify()
1318 if (cmd->prot_type == TARGET_DIF_TYPE2_PROT && in sbc_dif_v1_verify()
H A Dtarget_core_file.c609 if (cmd->prot_type && dev->dev_attrib.pi_prot_type) { in fd_execute_rw_buffered()
620 if (ret > 0 && cmd->prot_type && dev->dev_attrib.pi_prot_type && in fd_execute_rw_buffered()
631 if (cmd->prot_type && dev->dev_attrib.pi_prot_type && in fd_execute_rw_buffered()
662 if (ret > 0 && cmd->prot_type && dev->dev_attrib.pi_prot_type) { in fd_execute_rw_buffered()
H A Dtarget_core_iblock.c733 if (cmd->prot_type && dev->dev_attrib.pi_prot_type) in iblock_execute_rw()
746 if (cmd->prot_type && dev->dev_attrib.pi_prot_type) { in iblock_execute_rw()
772 if (cmd->prot_type && dev->dev_attrib.pi_prot_type) { in iblock_execute_rw()
H 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()
/OK3568_Linux_fs/kernel/arch/s390/kvm/
H A Dgaccess.c485 enum prot_type { enum
494 u8 ar, enum gacc_mode mode, enum prot_type prot) in trans_exc()
616 enum gacc_mode mode, enum prot_type *prot) in guest_translate()
803 enum prot_type prot; in guest_page_range()
908 enum prot_type prot; in guest_translate_address()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/hal_g6/
H A Dhal_beamform.h115 enum rtw_hal_protection_type prot_type; member
H A Dhal_beamform.c1094 para->prot_type = rts_type; in rtw_hal_bf_set_txmu_para()
1113 para->prot_type, in rtw_hal_bf_set_fix_mode()
1150 sta->hal_sta->prot_type, in hal_bf_set_mu_sta_fw()
H A Dhal_api_mac.h346 enum rtw_hal_protection_type prot_type,
355 void *mac, u8 gid, enum rtw_hal_protection_type prot_type,
H A Dhal_def.h786 enum rtw_hal_protection_type prot_type; member
H A Dhal_api_mac.c4433 enum rtw_hal_protection_type prot_type, in rtw_hal_mac_ax_mu_sta_upd() argument
4451 prot_type & 0xF; in rtw_hal_mac_ax_mu_sta_upd()
4511 void *mac, u8 gid, enum rtw_hal_protection_type prot_type, in rtw_hal_mac_ax_set_mu_fix_mode() argument
4531 fix_info.prot_type_vhtmu = fix_prot ? prot_type : 5;/*default hw setting*/ in rtw_hal_mac_ax_set_mu_fix_mode()
4539 fix_info.prot_type_hemu = fix_prot ? prot_type : 5;/*default hw setting*/ in rtw_hal_mac_ax_set_mu_fix_mode()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/hal_g6/
H A Dhal_beamform.h115 enum rtw_hal_protection_type prot_type; member
H A Dhal_beamform.c1094 para->prot_type = rts_type; in rtw_hal_bf_set_txmu_para()
1113 para->prot_type, in rtw_hal_bf_set_fix_mode()
1150 sta->hal_sta->prot_type, in hal_bf_set_mu_sta_fw()
H A Dhal_api_mac.h346 enum rtw_hal_protection_type prot_type,
355 void *mac, u8 gid, enum rtw_hal_protection_type prot_type,
H A Dhal_def.h787 enum rtw_hal_protection_type prot_type; member
H A Dhal_api_mac.c4415 enum rtw_hal_protection_type prot_type, in rtw_hal_mac_ax_mu_sta_upd() argument
4433 prot_type & 0xF; in rtw_hal_mac_ax_mu_sta_upd()
4493 void *mac, u8 gid, enum rtw_hal_protection_type prot_type, in rtw_hal_mac_ax_set_mu_fix_mode() argument
4513 fix_info.prot_type_vhtmu = fix_prot ? prot_type : 5;/*default hw setting*/ in rtw_hal_mac_ax_set_mu_fix_mode()
4521 fix_info.prot_type_hemu = fix_prot ? prot_type : 5;/*default hw setting*/ in rtw_hal_mac_ax_set_mu_fix_mode()
/OK3568_Linux_fs/kernel/drivers/scsi/isci/
H A Drequest.c425 u8 prot_type = scsi_get_prot_type(scmd); in scu_ssp_io_request_construct_task_context() local
450 if (prot_type != SCSI_PROT_DIF_TYPE0) { in scu_ssp_io_request_construct_task_context()
452 scu_ssp_ireq_dif_strip(ireq, prot_type, prot_op); in scu_ssp_io_request_construct_task_context()
454 scu_ssp_ireq_dif_insert(ireq, prot_type, prot_op); in scu_ssp_io_request_construct_task_context()
/OK3568_Linux_fs/kernel/include/target/
H A Dtarget_core_base.h535 enum target_prot_type prot_type; member
/OK3568_Linux_fs/kernel/drivers/scsi/qla2xxx/
H A Dqla_target.c2935 if ((se_cmd->prot_type == TARGET_DIF_TYPE1_PROT) || in qla_tgt_set_dif_tags()
2936 (se_cmd->prot_type == TARGET_DIF_TYPE2_PROT)) in qla_tgt_set_dif_tags()
2938 else if (se_cmd->prot_type == TARGET_DIF_TYPE3_PROT) in qla_tgt_set_dif_tags()
2944 switch (se_cmd->prot_type) { in qla_tgt_set_dif_tags()
3063 if ((se_cmd->prot_type == TARGET_DIF_TYPE1_PROT) || in qlt_build_ctio_crc2_pkt()
3064 (se_cmd->prot_type == TARGET_DIF_TYPE2_PROT)) in qlt_build_ctio_crc2_pkt()
3066 else if (se_cmd->prot_type == TARGET_DIF_TYPE3_PROT) in qlt_build_ctio_crc2_pkt()
/OK3568_Linux_fs/kernel/drivers/scsi/csiostor/
H 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()
/OK3568_Linux_fs/kernel/drivers/infiniband/ulp/isert/
H A Dib_isert.c1993 if (se_cmd->prot_type == TARGET_DIF_TYPE1_PROT || in isert_set_dif_domain()
1994 se_cmd->prot_type == TARGET_DIF_TYPE2_PROT) in isert_set_dif_domain()
/OK3568_Linux_fs/kernel/drivers/s390/net/
H A Dqeth_core_main.c2524 u8 prot_type = qeth_mpc_select_prot_type(card); in qeth_ulp_enable() local
2536 memcpy(QETH_ULP_ENABLE_PROT_TYPE(iob->data), &prot_type, 1); in qeth_ulp_enable()
3072 u8 prot_type = qeth_mpc_select_prot_type(card); in qeth_prepare_ipa_cmd() local
3082 memcpy(QETH_IPA_CMD_PROT_TYPE(iob->data), &prot_type, 1); in qeth_prepare_ipa_cmd()
/OK3568_Linux_fs/kernel/drivers/scsi/mpt3sas/
H A Dmpt3sas_scsih.c4852 unsigned char prot_type = scsi_get_prot_type(scmd); in _scsih_setup_eedp() local
4856 if (prot_type == SCSI_PROT_DIF_TYPE0 || prot_op == SCSI_PROT_NORMAL) in _scsih_setup_eedp()
4866 switch (prot_type) { in _scsih_setup_eedp()