• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/scsi/lpfc/

Lines Matching defs:fcp_cmnd

510 		 * struct fcp_cmnd, struct fcp_rsp and the number of bde's
533 psb->fcp_cmnd = psb->data;
534 psb->fcp_rsp = psb->data + sizeof(struct fcp_cmnd);
535 psb->fcp_bpl = psb->data + sizeof(struct fcp_cmnd) +
541 pdma_phys_fcp_rsp = psb->dma_handle + sizeof(struct fcp_cmnd);
542 pdma_phys_bpl = psb->dma_handle + sizeof(struct fcp_cmnd) +
552 bpl[0].tus.f.bdeSize = sizeof(struct fcp_cmnd);
573 iocb->un.fcpi64.bdl.bdeSize = sizeof(struct fcp_cmnd);
763 * struct fcp_cmnd, struct fcp_rsp and the number of bde's
803 psb->fcp_cmnd = (psb->data + phba->cfg_sg_dma_buf_size)
804 - (sizeof(struct fcp_cmnd) + sizeof(struct fcp_rsp));
805 psb->fcp_rsp = (struct fcp_rsp *)((uint8_t *)psb->fcp_cmnd +
806 sizeof(struct fcp_cmnd));
813 - (sizeof(struct fcp_cmnd) + sizeof(struct fcp_rsp));
814 pdma_phys_fcp_rsp = pdma_phys_fcp_cmd + sizeof(struct fcp_cmnd);
825 sgl->sge_len = cpu_to_le32(sizeof(struct fcp_cmnd));
846 iocb->un.fcpi64.bdl.bdeSize = sizeof(struct fcp_cmnd);
1027 struct fcp_cmnd *fcp_cmnd = lpfc_cmd->fcp_cmnd;
1039 * bumping the bpl beyond the fcp_cmnd and fcp_rsp regions to the first
1119 physaddr += (sizeof(struct fcp_cmnd) +
1135 fcp_cmnd->fcpDl = cpu_to_be32(scsi_bufflen(scsi_cmnd));
1625 struct fcp_cmnd *fcp_cmnd = lpfc_cmd->fcp_cmnd;
1635 * Start the lpfc command prep by bumping the bpl beyond fcp_cmnd
1744 fcp_cmnd->fcpDl = be32_to_cpu(fcpdl);
1909 struct fcp_cmnd *fcp_cmnd = lpfc_cmd->fcp_cmnd;
1921 * bumping the bpl beyond the fcp_cmnd and fcp_rsp regions to the first
1991 fcp_cmnd->fcpDl = cpu_to_be32(scsi_bufflen(scsi_cmnd));
2151 struct fcp_cmnd *fcpcmd = lpfc_cmd->fcp_cmnd;
2539 * @fcp_cmnd: The FCP Command that is provided by the SCSI layer.
2541 * The routine copies the entire FCP command from @fcp_cmnd to @data while
2545 lpfc_fcpcmd_to_iocb(uint8_t *data, struct fcp_cmnd *fcp_cmnd)
2548 for (i = 0, j = 0; i < sizeof(struct fcp_cmnd);
2550 ((uint32_t *)data)[j] = cpu_to_be32(((uint32_t *)fcp_cmnd)[j]);
2560 * This routine initializes fcp_cmnd and iocb data structure from scsi command
2569 struct fcp_cmnd *fcp_cmnd = lpfc_cmd->fcp_cmnd;
2580 lpfc_cmd->fcp_cmnd->fcpCntl2 = 0;
2583 &lpfc_cmd->fcp_cmnd->fcp_lun);
2585 memcpy(&fcp_cmnd->fcpCdb[0], scsi_cmnd->cmnd, 16);
2590 fcp_cmnd->fcpCntl1 = HEAD_OF_Q;
2593 fcp_cmnd->fcpCntl1 = ORDERED_Q;
2596 fcp_cmnd->fcpCntl1 = SIMPLE_Q;
2600 fcp_cmnd->fcpCntl1 = 0;
2605 * bumping the bpl beyond the fcp_cmnd and fcp_rsp regions to the first
2616 fcp_cmnd->fcpCntl3 = WRITE_DATA;
2621 fcp_cmnd->fcpCntl3 = READ_DATA;
2628 fcp_cmnd->fcpCntl3 = 0;
2633 lpfc_fcpcmd_to_iocb(iocb_cmd->unsli3.fcp_ext.icd, fcp_cmnd);
2673 struct fcp_cmnd *fcp_cmnd;
2686 fcp_cmnd = lpfc_cmd->fcp_cmnd;
2688 memset(fcp_cmnd, 0, sizeof(struct fcp_cmnd));
2689 int_to_scsilun(lun, &fcp_cmnd->fcp_lun);
2690 fcp_cmnd->fcpCntl2 = task_mgmt_cmd;
2693 lpfc_fcpcmd_to_iocb(piocb->unsli3.fcp_ext.icd, fcp_cmnd);