/drivers/scsi/isci/ |
D | task.h | 99 static inline void isci_print_tmf(struct isci_host *ihost, struct isci_tmf *tmf) in isci_print_tmf() argument 101 if (SAS_PROTOCOL_SATA == tmf->proto) in isci_print_tmf() 107 tmf->status, in isci_print_tmf() 108 tmf->resp.d2h_fis.status, in isci_print_tmf() 109 tmf->resp.d2h_fis.error); in isci_print_tmf() 121 tmf->status, in isci_print_tmf() 122 tmf->resp.resp_iu.datapres, in isci_print_tmf() 123 tmf->resp.resp_iu.status, in isci_print_tmf() 124 be32_to_cpu(tmf->resp.resp_iu.response_data_len), in isci_print_tmf() 125 tmf->resp.resp_iu.resp_data[0], in isci_print_tmf() [all …]
|
D | task.c | 265 struct isci_tmf *tmf, unsigned long timeout_ms) in isci_task_execute_tmf() argument 299 tmf->complete = &completion; in isci_task_execute_tmf() 300 tmf->status = SCI_FAILURE_TIMEOUT; in isci_task_execute_tmf() 302 ireq = isci_task_request_build(ihost, idev, tag, tmf); in isci_task_execute_tmf() 336 isci_print_tmf(ihost, tmf); in isci_task_execute_tmf() 338 if (tmf->status == SCI_SUCCESS) in isci_task_execute_tmf() 340 else if (tmf->status == SCI_FAILURE_IO_RESPONSE_VALID) { in isci_task_execute_tmf() 364 static void isci_task_build_tmf(struct isci_tmf *tmf, in isci_task_build_tmf() argument 367 memset(tmf, 0, sizeof(*tmf)); in isci_task_build_tmf() 368 tmf->tmf_code = code; in isci_task_build_tmf() [all …]
|
D | request.h | 135 struct ssp_task_iu tmf; member
|
D | request.c | 197 task_iu = &ireq->ssp.tmf; in sci_task_request_build_ssp_task_iu() 677 struct isci_tmf *tmf = isci_request_access_tmf(ireq); in sci_io_request_construct_sata() local 682 __func__, ireq, tmf->tmf_code); in sci_io_request_construct_sata()
|
/drivers/scsi/ibmvscsi/ |
D | ibmvfc.c | 1719 struct ibmvfc_tmf *tmf; in ibmvfc_bsg_timeout() local 1735 tmf = &evt->iu.tmf; in ibmvfc_bsg_timeout() 1736 memset(tmf, 0, sizeof(*tmf)); in ibmvfc_bsg_timeout() 1737 tmf->common.version = cpu_to_be32(1); in ibmvfc_bsg_timeout() 1738 tmf->common.opcode = cpu_to_be32(IBMVFC_TMF_MAD); in ibmvfc_bsg_timeout() 1739 tmf->common.length = cpu_to_be16(sizeof(*tmf)); in ibmvfc_bsg_timeout() 1740 tmf->scsi_id = cpu_to_be64(port_id); in ibmvfc_bsg_timeout() 1741 tmf->cancel_key = cpu_to_be32(IBMVFC_PASSTHRU_CANCEL_KEY); in ibmvfc_bsg_timeout() 1742 tmf->my_cancel_key = cpu_to_be32(IBMVFC_INTERNAL_CANCEL_KEY); in ibmvfc_bsg_timeout() 1976 struct ibmvfc_cmd *tmf; in ibmvfc_reset_device() local [all …]
|
D | ibmvfc.h | 598 struct ibmvfc_tmf tmf; member
|
/drivers/scsi/pm8001/ |
D | pm8001_sas.c | 309 struct pm8001_ccb_info *ccb, struct pm8001_tmf_task *tmf) in pm8001_task_prep_ssp_tm() argument 311 return PM8001_CHIP_DISP->ssp_tm_req(pm8001_ha, ccb, tmf); in pm8001_task_prep_ssp_tm() 354 gfp_t gfp_flags, int is_tmf, struct pm8001_tmf_task *tmf) in pm8001_task_exec() argument 437 ccb, tmf); in pm8001_task_exec() 689 void *parameter, u32 para_len, struct pm8001_tmf_task *tmf) in pm8001_exec_internal_tmf_task() argument 711 res = pm8001_task_exec(task, 1, GFP_KERNEL, 1, tmf); in pm8001_exec_internal_tmf_task() 733 tmf->tmf)); in pm8001_exec_internal_tmf_task() 889 u8 *lun, struct pm8001_tmf_task *tmf) in pm8001_issue_ssp_tmf() argument 897 tmf); in pm8001_issue_ssp_tmf() 1099 tmf_task.tmf = TMF_LU_RESET; in pm8001_lu_reset() [all …]
|
D | pm8001_sas.h | 121 u8 tmf; member 220 struct pm8001_ccb_info *ccb, struct pm8001_tmf_task *tmf); 667 struct pm8001_tmf_task *tmf);
|
D | pm8001_hwi.h | 545 __le32 tmf; member
|
D | pm8001_hwi.c | 4693 struct pm8001_ccb_info *ccb, struct pm8001_tmf_task *tmf) in pm8001_chip_ssp_tm_req() argument 4705 sspTMCmd.relate_tag = cpu_to_le32(tmf->tag_of_task_to_be_managed); in pm8001_chip_ssp_tm_req() 4706 sspTMCmd.tmf = cpu_to_le32(tmf->tmf); in pm8001_chip_ssp_tm_req()
|
D | pm80xx_hwi.h | 669 __le32 tmf; member
|
/drivers/scsi/mvsas/ |
D | mv_sas.c | 569 struct mvs_tmf_task *tmf) in mvs_task_prep_ssp() argument 689 buf_cmd[10] = tmf->tmf; in mvs_task_prep_ssp() 690 switch (tmf->tmf) { in mvs_task_prep_ssp() 694 (tmf->tag_of_task_to_be_managed >> 8) & 0xff; in mvs_task_prep_ssp() 696 tmf->tag_of_task_to_be_managed & 0xff; in mvs_task_prep_ssp() 709 struct mvs_tmf_task *tmf, int *pass) in mvs_task_prep() argument 744 if (tei.port && !tei.port->port_attached && !tmf) { in mvs_task_prep() 804 rc = mvs_task_prep_ssp(mvi, &tei, is_tmf, tmf); in mvs_task_prep() 890 struct mvs_tmf_task *tmf) in mvs_task_exec() argument 900 rc = mvs_task_prep(task, mvi, is_tmf, tmf, &pass); in mvs_task_exec() [all …]
|
D | mv_defs.h | 507 u8 tmf; member
|
/drivers/scsi/aic94xx/ |
D | aic94xx_tmf.c | 463 scb->abort_task.ssp_task.tmf = TMF_ABORT_TASK; in asd_abort_task() 576 int tmf, int index) in asd_initiate_ssp_tmf() argument 596 if (tmf == TMF_QUERY_TASK) in asd_initiate_ssp_tmf() 612 scb->ssp_tmf.ssp_task.tmf = tmf; in asd_initiate_ssp_tmf() 619 if (tmf == TMF_QUERY_TASK) in asd_initiate_ssp_tmf()
|
D | aic94xx_sas.h | 335 u8 tmf; member
|
/drivers/scsi/ |
D | virtio_scsi.c | 44 struct virtio_scsi_ctrl_tmf_req tmf; member 49 struct virtio_scsi_ctrl_tmf_resp tmf; member 619 sizeof cmd->req.tmf, sizeof cmd->resp.tmf) < 0) in virtscsi_tmf() 623 if (cmd->resp.tmf.response == VIRTIO_SCSI_S_OK || in virtscsi_tmf() 624 cmd->resp.tmf.response == VIRTIO_SCSI_S_FUNCTION_SUCCEEDED) in virtscsi_tmf() 656 cmd->req.tmf = (struct virtio_scsi_ctrl_tmf_req){ in virtscsi_device_reset() 709 cmd->req.tmf = (struct virtio_scsi_ctrl_tmf_req){ in virtscsi_abort()
|
D | libiscsi.c | 262 struct iscsi_tm *tmf = &conn->tmhdr; in iscsi_check_tmf_restrictions() local 268 if ((tmf->opcode & ISCSI_OPCODE_MASK) != ISCSI_OP_SCSI_TMFUNC) in iscsi_check_tmf_restrictions() 271 switch (ISCSI_TM_FUNC_VALUE(tmf)) { in iscsi_check_tmf_restrictions() 276 hdr_lun = scsilun_to_int(&tmf->lun); in iscsi_check_tmf_restrictions() 314 task->hdr_itt == tmf->rtt) { in iscsi_check_tmf_restrictions() 971 struct iscsi_tm_rsp *tmf = (struct iscsi_tm_rsp *)hdr; in iscsi_tmf_rsp() local 979 if (tmf->response == ISCSI_TMF_RSP_COMPLETE) in iscsi_tmf_rsp() 981 else if (tmf->response == ISCSI_TMF_RSP_NO_TASK) in iscsi_tmf_rsp()
|
D | hpsa_cmd.h | 554 u8 tmf; /* Task Management Function */ member
|
/drivers/scsi/qla2xxx/ |
D | qla_init.c | 279 struct srb_iocb *tmf = &sp->u.iocb_cmd; in qla2x00_tmf_iocb_timeout() local 281 tmf->u.tmf.comp_status = CS_TIMEOUT; in qla2x00_tmf_iocb_timeout() 282 complete(&tmf->u.tmf.comp); in qla2x00_tmf_iocb_timeout() 289 struct srb_iocb *tmf = &sp->u.iocb_cmd; in qla2x00_tmf_sp_done() local 290 complete(&tmf->u.tmf.comp); in qla2x00_tmf_sp_done() 310 tm_iocb->u.tmf.flags = flags; in qla2x00_async_tm_cmd() 311 tm_iocb->u.tmf.lun = lun; in qla2x00_async_tm_cmd() 312 tm_iocb->u.tmf.data = tag; in qla2x00_async_tm_cmd() 315 init_completion(&tm_iocb->u.tmf.comp); in qla2x00_async_tm_cmd() 326 wait_for_completion(&tm_iocb->u.tmf.comp); in qla2x00_async_tm_cmd() [all …]
|
D | qla_mr.c | 2177 struct srb_iocb *tmf; in qlafx00_tm_iocb_entry() local 2179 tmf = &sp->u.iocb_cmd; in qlafx00_tm_iocb_entry() 2183 tmf->u.tmf.comp_status = cpstatus; in qlafx00_tm_iocb_entry() 3234 tm_iocb.control_flags = cpu_to_le32(fxio->u.tmf.flags); in qlafx00_tm_iocb() 3236 int_to_scsilun(fxio->u.tmf.lun, &llun); in qlafx00_tm_iocb()
|
D | qla_isr.c | 1550 iocb->u.tmf.data = QLA_SUCCESS; in qla24xx_tm_iocb_entry() 1556 iocb->u.tmf.data = QLA_FUNCTION_FAILED; in qla24xx_tm_iocb_entry() 1561 iocb->u.tmf.data = QLA_FUNCTION_FAILED; in qla24xx_tm_iocb_entry() 1572 iocb->u.tmf.data = QLA_FUNCTION_FAILED; in qla24xx_tm_iocb_entry() 1576 if (iocb->u.tmf.data != QLA_SUCCESS) in qla24xx_tm_iocb_entry()
|
D | qla_iocb.c | 2070 flags = iocb->u.tmf.flags; in qla24xx_tm_iocb() 2071 lun = iocb->u.tmf.lun; in qla24xx_tm_iocb()
|
D | qla_def.h | 335 } tmf; member
|
/drivers/scsi/bnx2i/ |
D | 57xx_iscsi_hsi.h | 1395 struct bnx2i_tmf_request tmf; member 1516 struct bnx2i_tmf_response tmf; member
|