Home
last modified time | relevance | path

Searched refs:tmf (Results 1 – 23 of 23) sorted by relevance

/drivers/scsi/isci/
Dtask.h99 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 …]
Dtask.c265 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 …]
Drequest.h135 struct ssp_task_iu tmf; member
Drequest.c197 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/
Dibmvfc.c1717 struct ibmvfc_tmf *tmf; in ibmvfc_bsg_timeout() local
1733 tmf = &evt->iu.tmf; in ibmvfc_bsg_timeout()
1734 memset(tmf, 0, sizeof(*tmf)); in ibmvfc_bsg_timeout()
1735 tmf->common.version = 1; in ibmvfc_bsg_timeout()
1736 tmf->common.opcode = IBMVFC_TMF_MAD; in ibmvfc_bsg_timeout()
1737 tmf->common.length = sizeof(*tmf); in ibmvfc_bsg_timeout()
1738 tmf->scsi_id = port_id; in ibmvfc_bsg_timeout()
1739 tmf->cancel_key = IBMVFC_PASSTHRU_CANCEL_KEY; in ibmvfc_bsg_timeout()
1740 tmf->my_cancel_key = IBMVFC_INTERNAL_CANCEL_KEY; in ibmvfc_bsg_timeout()
1974 struct ibmvfc_cmd *tmf; in ibmvfc_reset_device() local
[all …]
Dibmvfc.h598 struct ibmvfc_tmf tmf; member
/drivers/scsi/pm8001/
Dpm8001_sas.c317 struct pm8001_ccb_info *ccb, struct pm8001_tmf_task *tmf) in pm8001_task_prep_ssp_tm() argument
319 return PM8001_CHIP_DISP->ssp_tm_req(pm8001_ha, ccb, tmf); in pm8001_task_prep_ssp_tm()
362 gfp_t gfp_flags, int is_tmf, struct pm8001_tmf_task *tmf) in pm8001_task_exec() argument
444 ccb, tmf); in pm8001_task_exec()
702 void *parameter, u32 para_len, struct pm8001_tmf_task *tmf) in pm8001_exec_internal_tmf_task() argument
722 res = pm8001_task_exec(task, 1, GFP_KERNEL, 1, tmf); in pm8001_exec_internal_tmf_task()
738 tmf->tmf)); in pm8001_exec_internal_tmf_task()
896 u8 *lun, struct pm8001_tmf_task *tmf) in pm8001_issue_ssp_tmf() argument
904 tmf); in pm8001_issue_ssp_tmf()
1104 tmf_task.tmf = TMF_LU_RESET; in pm8001_lu_reset()
[all …]
Dpm8001_sas.h118 u8 tmf; member
162 struct pm8001_ccb_info *ccb, struct pm8001_tmf_task *tmf);
597 struct pm8001_tmf_task *tmf);
Dpm8001_hwi.h541 __le32 tmf; member
Dpm8001_hwi.c4686 struct pm8001_ccb_info *ccb, struct pm8001_tmf_task *tmf) in pm8001_chip_ssp_tm_req() argument
4698 sspTMCmd.relate_tag = cpu_to_le32(tmf->tag_of_task_to_be_managed); in pm8001_chip_ssp_tm_req()
4699 sspTMCmd.tmf = cpu_to_le32(tmf->tmf); in pm8001_chip_ssp_tm_req()
Dpm80xx_hwi.h662 __le32 tmf; member
/drivers/scsi/mvsas/
Dmv_sas.c572 struct mvs_tmf_task *tmf) in mvs_task_prep_ssp() argument
691 buf_cmd[10] = tmf->tmf; in mvs_task_prep_ssp()
692 switch (tmf->tmf) { in mvs_task_prep_ssp()
696 (tmf->tag_of_task_to_be_managed >> 8) & 0xff; in mvs_task_prep_ssp()
698 tmf->tag_of_task_to_be_managed & 0xff; in mvs_task_prep_ssp()
711 struct mvs_tmf_task *tmf, int *pass) in mvs_task_prep() argument
746 if (tei.port && !tei.port->port_attached && !tmf) { in mvs_task_prep()
806 rc = mvs_task_prep_ssp(mvi, &tei, is_tmf, tmf); in mvs_task_prep()
892 struct mvs_tmf_task *tmf) in mvs_task_exec() argument
902 rc = mvs_task_prep(task, mvi, is_tmf, tmf, &pass); in mvs_task_exec()
[all …]
Dmv_defs.h507 u8 tmf; member
/drivers/scsi/aic94xx/
Daic94xx_tmf.c463 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()
Daic94xx_sas.h335 u8 tmf; member
/drivers/scsi/
Dvirtio_scsi.c40 struct virtio_scsi_ctrl_tmf_req tmf; member
45 struct virtio_scsi_ctrl_tmf_resp tmf; member
596 sizeof cmd->req.tmf, sizeof cmd->resp.tmf, in virtscsi_tmf()
601 if (cmd->resp.tmf.response == VIRTIO_SCSI_S_OK || in virtscsi_tmf()
602 cmd->resp.tmf.response == VIRTIO_SCSI_S_FUNCTION_SUCCEEDED) in virtscsi_tmf()
622 cmd->req.tmf = (struct virtio_scsi_ctrl_tmf_req){ in virtscsi_device_reset()
645 cmd->req.tmf = (struct virtio_scsi_ctrl_tmf_req){ in virtscsi_abort()
Dlibiscsi.c270 struct iscsi_tm *tmf = &conn->tmhdr; in iscsi_check_tmf_restrictions() local
276 if ((tmf->opcode & ISCSI_OPCODE_MASK) != ISCSI_OP_SCSI_TMFUNC) in iscsi_check_tmf_restrictions()
279 switch (ISCSI_TM_FUNC_VALUE(tmf)) { in iscsi_check_tmf_restrictions()
284 hdr_lun = scsilun_to_int(&tmf->lun); in iscsi_check_tmf_restrictions()
322 task->hdr_itt == tmf->rtt) { in iscsi_check_tmf_restrictions()
925 struct iscsi_tm_rsp *tmf = (struct iscsi_tm_rsp *)hdr; in iscsi_tmf_rsp() local
933 if (tmf->response == ISCSI_TMF_RSP_COMPLETE) in iscsi_tmf_rsp()
935 else if (tmf->response == ISCSI_TMF_RSP_NO_TASK) in iscsi_tmf_rsp()
/drivers/scsi/qla2xxx/
Dqla_mr.c708 struct srb_iocb *tmf = &sp->u.iocb_cmd; in qlafx00_tmf_iocb_timeout() local
710 tmf->u.tmf.comp_status = CS_TIMEOUT; in qlafx00_tmf_iocb_timeout()
711 complete(&tmf->u.tmf.comp); in qlafx00_tmf_iocb_timeout()
718 struct srb_iocb *tmf = &sp->u.iocb_cmd; in qlafx00_tmf_sp_done() local
720 complete(&tmf->u.tmf.comp); in qlafx00_tmf_sp_done()
740 tm_iocb->u.tmf.flags = flags; in qlafx00_async_tm_cmd()
741 tm_iocb->u.tmf.lun = lun; in qlafx00_async_tm_cmd()
742 tm_iocb->u.tmf.data = tag; in qlafx00_async_tm_cmd()
745 init_completion(&tm_iocb->u.tmf.comp); in qlafx00_async_tm_cmd()
755 wait_for_completion(&tm_iocb->u.tmf.comp); in qlafx00_async_tm_cmd()
[all …]
Dqla_init.c284 flags = iocb->u.tmf.flags; in qla2x00_async_tm_cmd_done()
285 lun = (uint16_t)iocb->u.tmf.lun; in qla2x00_async_tm_cmd_done()
292 if ((rval != QLA_SUCCESS) || iocb->u.tmf.data) { in qla2x00_async_tm_cmd_done()
319 tcf->u.tmf.flags = tm_flags; in qla2x00_async_tm_cmd()
320 tcf->u.tmf.lun = lun; in qla2x00_async_tm_cmd()
321 tcf->u.tmf.data = tag; in qla2x00_async_tm_cmd()
Dqla_iocb.c1991 flags = iocb->u.tmf.flags; in qla24xx_tm_iocb()
1992 lun = iocb->u.tmf.lun; in qla24xx_tm_iocb()
Dqla_def.h327 } tmf; member
Dqla_isr.c1494 iocb->u.tmf.data = error; in qla24xx_tm_iocb_entry()
/drivers/scsi/bnx2i/
D57xx_iscsi_hsi.h1389 struct bnx2i_tmf_request tmf; member
1510 struct bnx2i_tmf_response tmf; member