Lines Matching refs:fcp_cmnd

1352 	struct fcp_cmnd		*fcp_cmnd;  in qla24xx_build_scsi_crc_2_iocbs()  local
1422 fcp_cmnd = &crc_ctx_pkt->fcp_cmnd; in qla24xx_build_scsi_crc_2_iocbs()
1424 fcp_cmnd->additional_cdb_len = additional_fcpcdb_len; in qla24xx_build_scsi_crc_2_iocbs()
1426 fcp_cmnd->additional_cdb_len |= 1; in qla24xx_build_scsi_crc_2_iocbs()
1428 fcp_cmnd->additional_cdb_len |= 2; in qla24xx_build_scsi_crc_2_iocbs()
1430 int_to_scsilun(cmd->device->lun, &fcp_cmnd->lun); in qla24xx_build_scsi_crc_2_iocbs()
1431 memcpy(fcp_cmnd->cdb, cmd->cmnd, cmd->cmd_len); in qla24xx_build_scsi_crc_2_iocbs()
1435 fcp_cmnd->task_management = 0; in qla24xx_build_scsi_crc_2_iocbs()
1436 fcp_cmnd->task_attribute = TSK_SIMPLE; in qla24xx_build_scsi_crc_2_iocbs()
1496 fcp_dl = (__be32 *)(crc_ctx_pkt->fcp_cmnd.cdb + 16 + in qla24xx_build_scsi_crc_2_iocbs()
3465 ctx->fcp_cmnd = dma_pool_zalloc(ha->fcp_cmnd_dma_pool, in qla82xx_start_scsi()
3467 if (!ctx->fcp_cmnd) { in qla82xx_start_scsi()
3518 int_to_scsilun(cmd->device->lun, &ctx->fcp_cmnd->lun); in qla82xx_start_scsi()
3519 ctx->fcp_cmnd->additional_cdb_len = additional_cdb_len; in qla82xx_start_scsi()
3522 ctx->fcp_cmnd->additional_cdb_len |= 1; in qla82xx_start_scsi()
3524 ctx->fcp_cmnd->additional_cdb_len |= 2; in qla82xx_start_scsi()
3528 ctx->fcp_cmnd->task_attribute |= in qla82xx_start_scsi()
3531 memcpy(ctx->fcp_cmnd->cdb, cmd->cmnd, cmd->cmd_len); in qla82xx_start_scsi()
3533 fcp_dl = (__be32 *)(ctx->fcp_cmnd->cdb + 16 + in qla82xx_start_scsi()
3647 dma_pool_free(ha->fcp_cmnd_dma_pool, ctx->fcp_cmnd, ctx->fcp_cmnd_dma); in qla82xx_start_scsi()