Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/scsi/isci/
Dtask.h120 static inline void isci_print_tmf(struct isci_host *ihost, struct isci_tmf *tmf) in isci_print_tmf() argument
122 if (SAS_PROTOCOL_SATA == tmf->proto) in isci_print_tmf()
128 tmf->status, in isci_print_tmf()
129 tmf->resp.d2h_fis.status, in isci_print_tmf()
130 tmf->resp.d2h_fis.error); in isci_print_tmf()
142 tmf->status, in isci_print_tmf()
143 tmf->resp.resp_iu.datapres, in isci_print_tmf()
144 tmf->resp.resp_iu.status, in isci_print_tmf()
145 be32_to_cpu(tmf->resp.resp_iu.response_data_len), in isci_print_tmf()
146 tmf->resp.resp_iu.resp_data[0], in isci_print_tmf()
[all …]
Dtask.c308 struct isci_tmf *tmf = isci_request_access_tmf(ireq); in isci_request_mark_zombie() local
316 if (tmf) { in isci_request_mark_zombie()
317 tmf_completion = tmf->complete; in isci_request_mark_zombie()
318 tmf->complete = NULL; in isci_request_mark_zombie()
322 __func__, tmf->tmf_code, tmf->io_tag); in isci_request_mark_zombie()
348 struct isci_tmf *tmf, unsigned long timeout_ms) in isci_task_execute_tmf() argument
382 tmf->complete = &completion; in isci_task_execute_tmf()
383 tmf->status = SCI_FAILURE_TIMEOUT; in isci_task_execute_tmf()
385 ireq = isci_task_request_build(ihost, idev, tag, tmf); in isci_task_execute_tmf()
404 if (tmf->cb_state_func != NULL) in isci_task_execute_tmf()
[all …]
Drequest.h161 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()
/linux-3.4.99/drivers/net/tokenring/
Dsmctr.c180 MAC_HEADER *rmf, MAC_HEADER *tmf, __u16 ac_fc);
3171 MAC_HEADER *rmf, MAC_HEADER *tmf, __u16 ac_fc) in smctr_make_8025_hdr() argument
3173 tmf->ac = MSB(ac_fc); /* msb is access control */ in smctr_make_8025_hdr()
3174 tmf->fc = LSB(ac_fc); /* lsb is frame control */ in smctr_make_8025_hdr()
3176 tmf->sa[0] = dev->dev_addr[0]; in smctr_make_8025_hdr()
3177 tmf->sa[1] = dev->dev_addr[1]; in smctr_make_8025_hdr()
3178 tmf->sa[2] = dev->dev_addr[2]; in smctr_make_8025_hdr()
3179 tmf->sa[3] = dev->dev_addr[3]; in smctr_make_8025_hdr()
3180 tmf->sa[4] = dev->dev_addr[4]; in smctr_make_8025_hdr()
3181 tmf->sa[5] = dev->dev_addr[5]; in smctr_make_8025_hdr()
[all …]
/linux-3.4.99/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.h597 struct ibmvfc_tmf tmf; member
/linux-3.4.99/drivers/scsi/pm8001/
Dpm8001_sas.c312 struct pm8001_ccb_info *ccb, struct pm8001_tmf_task *tmf) in pm8001_task_prep_ssp_tm() argument
314 return PM8001_CHIP_DISP->ssp_tm_req(pm8001_ha, ccb, tmf); in pm8001_task_prep_ssp_tm()
357 gfp_t gfp_flags, int is_tmf, struct pm8001_tmf_task *tmf) in pm8001_task_exec() argument
439 ccb, tmf); in pm8001_task_exec()
679 void *parameter, u32 para_len, struct pm8001_tmf_task *tmf) in pm8001_exec_internal_tmf_task() argument
699 res = pm8001_task_exec(task, 1, GFP_KERNEL, 1, tmf); in pm8001_exec_internal_tmf_task()
715 tmf->tmf)); in pm8001_exec_internal_tmf_task()
873 u8 *lun, struct pm8001_tmf_task *tmf) in pm8001_issue_ssp_tmf() argument
881 tmf); in pm8001_issue_ssp_tmf()
1014 tmf_task.tmf = TMF_LU_RESET; in pm8001_lu_reset()
[all …]
Dpm8001_sas.h117 u8 tmf; member
161 struct pm8001_ccb_info *ccb, struct pm8001_tmf_task *tmf);
Dpm8001_hwi.h539 __le32 tmf; member
Dpm8001_hwi.c4365 struct pm8001_ccb_info *ccb, struct pm8001_tmf_task *tmf) in pm8001_chip_ssp_tm_req() argument
4377 sspTMCmd.relate_tag = cpu_to_le32(tmf->tag_of_task_to_be_managed); in pm8001_chip_ssp_tm_req()
4378 sspTMCmd.tmf = cpu_to_le32(tmf->tmf); in pm8001_chip_ssp_tm_req()
/linux-3.4.99/drivers/scsi/
Dvirtio_scsi.c35 struct virtio_scsi_ctrl_tmf_req tmf; member
40 struct virtio_scsi_ctrl_tmf_resp tmf; member
319 sizeof cmd->req.tmf, sizeof cmd->resp.tmf, in virtscsi_tmf()
324 if (cmd->resp.tmf.response == VIRTIO_SCSI_S_OK || in virtscsi_tmf()
325 cmd->resp.tmf.response == VIRTIO_SCSI_S_FUNCTION_SUCCEEDED) in virtscsi_tmf()
345 cmd->req.tmf = (struct virtio_scsi_ctrl_tmf_req){ in virtscsi_device_reset()
368 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()
926 struct iscsi_tm_rsp *tmf = (struct iscsi_tm_rsp *)hdr; in iscsi_tmf_rsp() local
934 if (tmf->response == ISCSI_TMF_RSP_COMPLETE) in iscsi_tmf_rsp()
936 else if (tmf->response == ISCSI_TMF_RSP_NO_TASK) in iscsi_tmf_rsp()
/linux-3.4.99/drivers/scsi/mvsas/
Dmv_sas.c566 struct mvs_tmf_task *tmf) in mvs_task_prep_ssp() argument
685 buf_cmd[10] = tmf->tmf; in mvs_task_prep_ssp()
686 switch (tmf->tmf) { in mvs_task_prep_ssp()
690 (tmf->tag_of_task_to_be_managed >> 8) & 0xff; in mvs_task_prep_ssp()
692 tmf->tag_of_task_to_be_managed & 0xff; in mvs_task_prep_ssp()
705 struct mvs_tmf_task *tmf, int *pass) in mvs_task_prep() argument
740 if (tei.port && !tei.port->port_attached && !tmf) { in mvs_task_prep()
800 rc = mvs_task_prep_ssp(mvi, &tei, is_tmf, tmf); in mvs_task_prep()
886 struct mvs_tmf_task *tmf) in mvs_task_exec() argument
896 rc = mvs_task_prep(task, mvi, is_tmf, tmf, &pass); in mvs_task_exec()
[all …]
Dmv_defs.h507 u8 tmf; member
/linux-3.4.99/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
/linux-3.4.99/drivers/scsi/bnx2i/
D57xx_iscsi_hsi.h1383 struct bnx2i_tmf_request tmf; member
1504 struct bnx2i_tmf_response tmf; member
/linux-3.4.99/drivers/scsi/qla2xxx/
Dqla_init.c282 flags = iocb->u.tmf.flags; in qla2x00_async_tm_cmd_done()
283 lun = (uint16_t)iocb->u.tmf.lun; in qla2x00_async_tm_cmd_done()
290 if ((rval != QLA_SUCCESS) || iocb->u.tmf.data) { in qla2x00_async_tm_cmd_done()
317 tcf->u.tmf.flags = tm_flags; in qla2x00_async_tm_cmd()
318 tcf->u.tmf.lun = lun; in qla2x00_async_tm_cmd()
319 tcf->u.tmf.data = tag; in qla2x00_async_tm_cmd()
Dqla_iocb.c2007 flags = iocb->u.tmf.flags; in qla24xx_tm_iocb()
2008 lun = iocb->u.tmf.lun; in qla24xx_tm_iocb()
Dqla_def.h245 } tmf; member
Dqla_isr.c1256 iocb->u.tmf.data = error; in qla24xx_tm_iocb_entry()