Home
last modified time | relevance | path

Searched refs:fcp_rsp (Results 1 – 17 of 17) sorted by relevance

/openbmc/linux/drivers/s390/scsi/
H A Dzfcp_fc.h272 void zfcp_fc_eval_fcp_rsp(struct fcp_resp_with_ext *fcp_rsp, in zfcp_fc_eval_fcp_rsp() argument
280 scsi->result |= fcp_rsp->resp.fr_status; in zfcp_fc_eval_fcp_rsp()
282 rsp_flags = fcp_rsp->resp.fr_flags; in zfcp_fc_eval_fcp_rsp()
285 rsp_info = (struct fcp_resp_rsp_info *) &fcp_rsp[1]; in zfcp_fc_eval_fcp_rsp()
295 sense = (char *) &fcp_rsp[1]; in zfcp_fc_eval_fcp_rsp()
297 sense += be32_to_cpu(fcp_rsp->ext.fr_rsp_len); in zfcp_fc_eval_fcp_rsp()
298 sense_len = min_t(u32, be32_to_cpu(fcp_rsp->ext.fr_sns_len), in zfcp_fc_eval_fcp_rsp()
304 resid = be32_to_cpu(fcp_rsp->ext.fr_resid); in zfcp_fc_eval_fcp_rsp()
308 fcp_rsp->resp.fr_status == SAM_STAT_GOOD) in zfcp_fc_eval_fcp_rsp()
312 if (fcp_rsp->resp.fr_status == SAM_STAT_GOOD) in zfcp_fc_eval_fcp_rsp()
H A Dzfcp_dbf.h266 struct fcp_resp_with_ext fcp_rsp; member
332 struct fcp_resp *fcp_rsp; in zfcp_dbf_hba_fsf_resp_suppress() local
337 fcp_rsp = &qtcb->bottom.io.fcp_rsp.iu.resp; in zfcp_dbf_hba_fsf_resp_suppress()
338 rsp_flags = fcp_rsp->fr_flags; in zfcp_dbf_hba_fsf_resp_suppress()
339 fr_status = fcp_rsp->fr_status; in zfcp_dbf_hba_fsf_resp_suppress()
H A Dzfcp_dbf.c678 struct fcp_resp_with_ext *fcp_rsp; in zfcp_dbf_scsi_common() local
713 fcp_rsp = &(fsf->qtcb->bottom.io.fcp_rsp.iu); in zfcp_dbf_scsi_common()
715 memcpy(&rec->fcp_rsp, fcp_rsp, FCP_RESP_WITH_EXT); in zfcp_dbf_scsi_common()
716 if (fcp_rsp->resp.fr_flags & FCP_RSP_LEN_VAL) { in zfcp_dbf_scsi_common()
717 fcp_rsp_info = (struct fcp_resp_rsp_info *) &fcp_rsp[1]; in zfcp_dbf_scsi_common()
719 rec->pl_len += be32_to_cpu(fcp_rsp->ext.fr_rsp_len); in zfcp_dbf_scsi_common()
721 if (fcp_rsp->resp.fr_flags & FCP_SNS_LEN_VAL) { in zfcp_dbf_scsi_common()
722 rec->pl_len += be32_to_cpu(fcp_rsp->ext.fr_sns_len); in zfcp_dbf_scsi_common()
727 if (fcp_rsp->resp.fr_flags != 0) in zfcp_dbf_scsi_common()
729 dbf, fcp_rsp, in zfcp_dbf_scsi_common()
H A Dzfcp_fsf.c2465 struct fcp_resp_with_ext *fcp_rsp; in zfcp_fsf_fcp_cmnd_handler() local
2499 fcp_rsp = &req->qtcb->bottom.io.fcp_rsp.iu; in zfcp_fsf_fcp_cmnd_handler()
2500 zfcp_fc_eval_fcp_rsp(fcp_rsp, scpnt); in zfcp_fsf_fcp_cmnd_handler()
2656 struct fcp_resp_with_ext *fcp_rsp; in zfcp_fsf_fcp_task_mgmt_handler() local
2661 fcp_rsp = &req->qtcb->bottom.io.fcp_rsp.iu; in zfcp_fsf_fcp_task_mgmt_handler()
2662 rsp_info = (struct fcp_resp_rsp_info *) &fcp_rsp[1]; in zfcp_fsf_fcp_task_mgmt_handler()
H A Dzfcp_fsf.h351 } fcp_rsp; member
/openbmc/linux/drivers/scsi/bnx2fc/
H A Dbnx2fc_io.c26 struct fcoe_fcp_rsp_payload *fcp_rsp,
1758 struct fcoe_fcp_rsp_payload *fcp_rsp, in bnx2fc_parse_fcp_rsp() argument
1762 u8 rsp_flags = fcp_rsp->fcp_flags.flags; in bnx2fc_parse_fcp_rsp()
1771 io_req->fcp_resid = fcp_rsp->fcp_resid; in bnx2fc_parse_fcp_rsp()
1774 io_req->cdb_status = fcp_rsp->scsi_status_code; in bnx2fc_parse_fcp_rsp()
1788 = fcp_rsp->fcp_rsp_len; in bnx2fc_parse_fcp_rsp()
1793 fcp_sns_len = fcp_rsp->fcp_sns_len; in bnx2fc_parse_fcp_rsp()
1794 rq_buff_len += fcp_rsp->fcp_sns_len; in bnx2fc_parse_fcp_rsp()
1908 struct fcoe_fcp_rsp_payload *fcp_rsp; in bnx2fc_process_scsi_cmd_compl() local
1940 fcp_rsp = (struct fcoe_fcp_rsp_payload *) in bnx2fc_process_scsi_cmd_compl()
[all …]
H A D57xx_hsi_bnx2fc.h199 struct fcoe_fcp_rsp_union fcp_rsp; member
H A Dbnx2fc.h442 struct fcp_rsp *rsp;
/openbmc/linux/drivers/scsi/qedf/
H A Dqedf_io.c1051 struct fcoe_cqe_rsp_info *fcp_rsp) in qedf_parse_fcp_rsp() argument
1055 u8 rsp_flags = fcp_rsp->rsp_flags.flags; in qedf_parse_fcp_rsp()
1064 io_req->fcp_resid = fcp_rsp->fcp_resid; in qedf_parse_fcp_rsp()
1067 io_req->cdb_status = fcp_rsp->scsi_status_code; in qedf_parse_fcp_rsp()
1071 fcp_rsp_len = fcp_rsp->fcp_rsp_len; in qedf_parse_fcp_rsp()
1075 fcp_sns_len = fcp_rsp->fcp_sns_len; in qedf_parse_fcp_rsp()
1121 struct fcoe_cqe_rsp_info *fcp_rsp; in qedf_scsi_completion() local
1144 fcp_rsp = &cqe->cqe_info.rsp_info; in qedf_scsi_completion()
1184 qedf_parse_fcp_rsp(io_req, fcp_rsp); in qedf_scsi_completion()
1203 io_req->xid, fcp_rsp->rsp_flags.flags, in qedf_scsi_completion()
[all …]
/openbmc/linux/drivers/scsi/lpfc/
H A Dlpfc_scsi.c259 (sizeof(struct fcp_cmnd) + sizeof(struct fcp_rsp)); in lpfc_new_scsi_buf_s3()
265 (int)sizeof(struct fcp_rsp), bpl_size); in lpfc_new_scsi_buf_s3()
297 psb->fcp_rsp = psb->data + sizeof(struct fcp_cmnd); in lpfc_new_scsi_buf_s3()
299 sizeof(struct fcp_rsp); in lpfc_new_scsi_buf_s3()
306 sizeof(struct fcp_rsp); in lpfc_new_scsi_buf_s3()
322 bpl[1].tus.f.bdeSize = sizeof(struct fcp_rsp); in lpfc_new_scsi_buf_s3()
346 sizeof(struct fcp_rsp); in lpfc_new_scsi_buf_s3()
645 lpfc_cmd->fcp_rsp = tmp->fcp_rsp; in lpfc_get_scsi_buf_s4()
669 sgl->sge_len = cpu_to_le32(sizeof(struct fcp_rsp)); in lpfc_get_scsi_buf_s4()
903 sizeof(struct fcp_rsp) + in lpfc_scsi_prep_dma_buf_s3()
[all …]
H A Dlpfc_scsi.h61 struct fcp_rsp { struct
H A Dlpfc_sli.h452 struct fcp_rsp *fcp_rsp; member
H A Dlpfc_hw4.h2160 struct fcp_rsp *fcp_rsp; member
H A Dlpfc_init.c7804 sizeof(struct fcp_rsp) + in lpfc_sli_driver_resource_setup()
7819 sizeof(struct fcp_rsp) + in lpfc_sli_driver_resource_setup()
7857 sizeof(struct fcp_rsp), in lpfc_sli_driver_resource_setup()
8244 sizeof(struct fcp_rsp) + max_buf_size; in lpfc_sli4_driver_resource_setup()
8266 sizeof(struct fcp_rsp) + in lpfc_sli4_driver_resource_setup()
8329 sizeof(struct fcp_rsp), in lpfc_sli4_driver_resource_setup()
H A Dlpfc_sli.c22513 tmp->fcp_rsp = (struct fcp_rsp *)((uint8_t *)tmp->fcp_cmnd + in lpfc_get_cmd_rsp_buf_per_hdwq()
/openbmc/linux/drivers/net/ethernet/broadcom/
H A Dcnic_defs.h2501 struct fcoe_fcp_rsp_union fcp_rsp; member
/openbmc/linux/Documentation/scsi/
H A DChangeLog.lpfc1027 * Changed FCP_RSP to struct fcp_rsp.