• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/scsi/ibmvscsi/

Lines Matching refs:tmf

1721 	struct ibmvfc_tmf *tmf;
1737 tmf = &evt->iu.tmf;
1738 memset(tmf, 0, sizeof(*tmf));
1739 tmf->common.version = 1;
1740 tmf->common.opcode = IBMVFC_TMF_MAD;
1741 tmf->common.length = sizeof(*tmf);
1742 tmf->scsi_id = port_id;
1743 tmf->cancel_key = IBMVFC_PASSTHRU_CANCEL_KEY;
1744 tmf->my_cancel_key = IBMVFC_INTERNAL_CANCEL_KEY;
1978 struct ibmvfc_cmd *tmf;
1991 tmf = &evt->iu.cmd;
1992 memset(tmf, 0, sizeof(*tmf));
1993 tmf->resp.va = (u64)evt->crq.ioba + offsetof(struct ibmvfc_cmd, rsp);
1994 tmf->resp.len = sizeof(tmf->rsp);
1995 tmf->frame_type = IBMVFC_SCSI_FCP_TYPE;
1996 tmf->payload_len = sizeof(tmf->iu);
1997 tmf->resp_len = sizeof(tmf->rsp);
1998 tmf->cancel_key = (unsigned long)sdev->hostdata;
1999 tmf->tgt_scsi_id = rport->port_id;
2000 int_to_scsilun(sdev->lun, &tmf->iu.lun);
2001 tmf->flags = (IBMVFC_NO_MEM_DESC | IBMVFC_TMF);
2002 tmf->iu.tmf_flags = type;
2162 struct ibmvfc_tmf *tmf;
2190 tmf = &evt->iu.tmf;
2191 memset(tmf, 0, sizeof(*tmf));
2192 tmf->common.version = 1;
2193 tmf->common.opcode = IBMVFC_TMF_MAD;
2194 tmf->common.length = sizeof(*tmf);
2195 tmf->scsi_id = rport->port_id;
2196 int_to_scsilun(sdev->lun, &tmf->lun);
2197 tmf->flags = (type | IBMVFC_TMF_LUA_VALID);
2198 tmf->cancel_key = (unsigned long)sdev->hostdata;
2199 tmf->my_cancel_key = (unsigned long)starget->hostdata;
2262 struct ibmvfc_cmd *tmf;
2290 tmf = &evt->iu.cmd;
2291 memset(tmf, 0, sizeof(*tmf));
2292 tmf->resp.va = (u64)evt->crq.ioba + offsetof(struct ibmvfc_cmd, rsp);
2293 tmf->resp.len = sizeof(tmf->rsp);
2294 tmf->frame_type = IBMVFC_SCSI_FCP_TYPE;
2295 tmf->payload_len = sizeof(tmf->iu);
2296 tmf->resp_len = sizeof(tmf->rsp);
2297 tmf->cancel_key = (unsigned long)sdev->hostdata;
2298 tmf->tgt_scsi_id = rport->port_id;
2299 int_to_scsilun(sdev->lun, &tmf->iu.lun);
2300 tmf->flags = (IBMVFC_NO_MEM_DESC | IBMVFC_TMF);
2301 tmf->iu.tmf_flags = IBMVFC_ABORT_TASK_SET;
3630 struct ibmvfc_tmf *tmf;
3650 tmf = &evt->iu.tmf;
3651 memset(tmf, 0, sizeof(*tmf));
3652 tmf->common.version = 1;
3653 tmf->common.opcode = IBMVFC_TMF_MAD;
3654 tmf->common.length = sizeof(*tmf);
3655 tmf->scsi_id = tgt->scsi_id;
3656 tmf->cancel_key = tgt->cancel_key;