cmd_pkt 596 drivers/scsi/ipr.c trace_entry->op_code = ipr_cmd->ioarcb.cmd_pkt.cdb[0]; cmd_pkt 643 drivers/scsi/ipr.c hrrq_id = ioarcb->cmd_pkt.hrrq_id; cmd_pkt 644 drivers/scsi/ipr.c memset(&ioarcb->cmd_pkt, 0, sizeof(struct ipr_cmd_pkt)); cmd_pkt 645 drivers/scsi/ipr.c ioarcb->cmd_pkt.hrrq_id = hrrq_id; cmd_pkt 1123 drivers/scsi/ipr.c ioarcb->cmd_pkt.request_type = IPR_RQTYPE_HCAM; cmd_pkt 1124 drivers/scsi/ipr.c ioarcb->cmd_pkt.cdb[0] = IPR_HOST_CONTROLLED_ASYNC; cmd_pkt 1125 drivers/scsi/ipr.c ioarcb->cmd_pkt.cdb[1] = type; cmd_pkt 1126 drivers/scsi/ipr.c ioarcb->cmd_pkt.cdb[7] = (sizeof(hostrcb->hcam) >> 8) & 0xff; cmd_pkt 1127 drivers/scsi/ipr.c ioarcb->cmd_pkt.cdb[8] = sizeof(hostrcb->hcam) & 0xff; cmd_pkt 3960 drivers/scsi/ipr.c ioarcb->cmd_pkt.flags_hi |= IPR_FLAGS_HI_WRITE_NOT_READ; cmd_pkt 3992 drivers/scsi/ipr.c ioarcb->cmd_pkt.flags_hi |= IPR_FLAGS_HI_WRITE_NOT_READ; cmd_pkt 5220 drivers/scsi/ipr.c struct ipr_cmd_pkt *cmd_pkt; cmd_pkt 5227 drivers/scsi/ipr.c cmd_pkt = &ioarcb->cmd_pkt; cmd_pkt 5236 drivers/scsi/ipr.c cmd_pkt->request_type = IPR_RQTYPE_IOACMD; cmd_pkt 5237 drivers/scsi/ipr.c cmd_pkt->cdb[0] = IPR_RESET_DEVICE; cmd_pkt 5239 drivers/scsi/ipr.c cmd_pkt->cdb[2] = IPR_ATA_PHY_RESET; cmd_pkt 5457 drivers/scsi/ipr.c struct ipr_cmd_pkt *cmd_pkt; cmd_pkt 5472 drivers/scsi/ipr.c cmd_pkt = &reset_cmd->ioarcb.cmd_pkt; cmd_pkt 5473 drivers/scsi/ipr.c cmd_pkt->request_type = IPR_RQTYPE_IOACMD; cmd_pkt 5474 drivers/scsi/ipr.c cmd_pkt->cdb[0] = IPR_RESET_DEVICE; cmd_pkt 5475 drivers/scsi/ipr.c cmd_pkt->cdb[2] = IPR_RESET_TYPE_SELECT | IPR_BUS_RESET; cmd_pkt 5496 drivers/scsi/ipr.c struct ipr_cmd_pkt *cmd_pkt; cmd_pkt 5543 drivers/scsi/ipr.c cmd_pkt = &ipr_cmd->ioarcb.cmd_pkt; cmd_pkt 5544 drivers/scsi/ipr.c cmd_pkt->request_type = IPR_RQTYPE_IOACMD; cmd_pkt 5545 drivers/scsi/ipr.c cmd_pkt->cdb[0] = IPR_CANCEL_ALL_REQUESTS; cmd_pkt 5947 drivers/scsi/ipr.c ioarcb->cmd_pkt.flags_hi |= IPR_FLAGS_HI_WRITE_NOT_READ; cmd_pkt 5994 drivers/scsi/ipr.c ioarcb->cmd_pkt.flags_hi |= IPR_FLAGS_HI_WRITE_NOT_READ; cmd_pkt 6092 drivers/scsi/ipr.c memset(&ioarcb->cmd_pkt, 0, sizeof(struct ipr_cmd_pkt)); cmd_pkt 6122 drivers/scsi/ipr.c struct ipr_cmd_pkt *cmd_pkt = &ipr_cmd->ioarcb.cmd_pkt; cmd_pkt 6132 drivers/scsi/ipr.c cmd_pkt->request_type = IPR_RQTYPE_SCSICDB; cmd_pkt 6133 drivers/scsi/ipr.c cmd_pkt->cdb[0] = REQUEST_SENSE; cmd_pkt 6134 drivers/scsi/ipr.c cmd_pkt->cdb[4] = SCSI_SENSE_BUFFERSIZE; cmd_pkt 6135 drivers/scsi/ipr.c cmd_pkt->flags_hi |= IPR_FLAGS_HI_SYNC_OVERRIDE; cmd_pkt 6136 drivers/scsi/ipr.c cmd_pkt->flags_hi |= IPR_FLAGS_HI_NO_ULEN_CHK; cmd_pkt 6137 drivers/scsi/ipr.c cmd_pkt->timeout = cpu_to_be16(IPR_REQUEST_SENSE_TIMEOUT / HZ); cmd_pkt 6182 drivers/scsi/ipr.c struct ipr_cmd_pkt *cmd_pkt; cmd_pkt 6193 drivers/scsi/ipr.c cmd_pkt = &ipr_cmd->ioarcb.cmd_pkt; cmd_pkt 6194 drivers/scsi/ipr.c cmd_pkt->request_type = IPR_RQTYPE_IOACMD; cmd_pkt 6195 drivers/scsi/ipr.c cmd_pkt->cdb[0] = IPR_CANCEL_ALL_REQUESTS; cmd_pkt 6603 drivers/scsi/ipr.c memcpy(ioarcb->cmd_pkt.cdb, scsi_cmd->cmnd, scsi_cmd->cmd_len); cmd_pkt 6609 drivers/scsi/ipr.c ioarcb->cmd_pkt.flags_hi |= IPR_FLAGS_HI_NO_ULEN_CHK; cmd_pkt 6613 drivers/scsi/ipr.c ioarcb->cmd_pkt.flags_lo |= IPR_FLAGS_LO_DELAY_AFTER_RST; cmd_pkt 6618 drivers/scsi/ipr.c ioarcb->cmd_pkt.flags_hi |= IPR_FLAGS_HI_NO_LINK_DESC; cmd_pkt 6620 drivers/scsi/ipr.c ioarcb->cmd_pkt.flags_lo |= IPR_FLAGS_LO_ALIGNED_BFR; cmd_pkt 6622 drivers/scsi/ipr.c ioarcb->cmd_pkt.flags_lo |= IPR_FLAGS_LO_SIMPLE_TASK; cmd_pkt 6624 drivers/scsi/ipr.c ioarcb->cmd_pkt.flags_lo |= IPR_FLAGS_LO_UNTAGGED_TASK; cmd_pkt 6629 drivers/scsi/ipr.c ioarcb->cmd_pkt.request_type = IPR_RQTYPE_IOACMD; cmd_pkt 6632 drivers/scsi/ipr.c ioarcb->cmd_pkt.request_type = IPR_RQTYPE_PIPE; cmd_pkt 6635 drivers/scsi/ipr.c ioarcb->cmd_pkt.flags_hi |= IPR_FLAGS_HI_NO_ULEN_CHK; cmd_pkt 6661 drivers/scsi/ipr.c ioarcb->cmd_pkt.flags_hi |= IPR_FLAGS_HI_SYNC_COMPLETE; cmd_pkt 6915 drivers/scsi/ipr.c ioarcb->cmd_pkt.flags_hi |= IPR_FLAGS_HI_WRITE_NOT_READ; cmd_pkt 6960 drivers/scsi/ipr.c ioarcb->cmd_pkt.flags_hi |= IPR_FLAGS_HI_WRITE_NOT_READ; cmd_pkt 7074 drivers/scsi/ipr.c ioarcb->cmd_pkt.request_type = IPR_RQTYPE_ATA_PASSTHRU; cmd_pkt 7075 drivers/scsi/ipr.c ioarcb->cmd_pkt.flags_hi |= IPR_FLAGS_HI_NO_LINK_DESC; cmd_pkt 7076 drivers/scsi/ipr.c ioarcb->cmd_pkt.flags_hi |= IPR_FLAGS_HI_NO_ULEN_CHK; cmd_pkt 7086 drivers/scsi/ipr.c memcpy(ioarcb->cmd_pkt.cdb, qc->cdb, IPR_MAX_CDB_LEN); cmd_pkt 7352 drivers/scsi/ipr.c ioarcb->cmd_pkt.flags_hi |= IPR_FLAGS_HI_WRITE_NOT_READ; cmd_pkt 7353 drivers/scsi/ipr.c ioarcb->cmd_pkt.request_type = IPR_RQTYPE_IOACMD; cmd_pkt 7355 drivers/scsi/ipr.c ioarcb->cmd_pkt.cdb[0] = IPR_SET_SUPPORTED_DEVICES; cmd_pkt 7356 drivers/scsi/ipr.c ioarcb->cmd_pkt.cdb[1] = IPR_SET_ALL_SUPPORTED_DEVICES; cmd_pkt 7357 drivers/scsi/ipr.c ioarcb->cmd_pkt.cdb[7] = (sizeof(struct ipr_supported_device) >> 8) & 0xff; cmd_pkt 7358 drivers/scsi/ipr.c ioarcb->cmd_pkt.cdb[8] = sizeof(struct ipr_supported_device) & 0xff; cmd_pkt 7543 drivers/scsi/ipr.c ioarcb->cmd_pkt.request_type = IPR_RQTYPE_SCSICDB; cmd_pkt 7544 drivers/scsi/ipr.c ioarcb->cmd_pkt.flags_hi |= IPR_FLAGS_HI_WRITE_NOT_READ; cmd_pkt 7545 drivers/scsi/ipr.c ioarcb->cmd_pkt.cdb[0] = MODE_SELECT; cmd_pkt 7546 drivers/scsi/ipr.c ioarcb->cmd_pkt.cdb[1] = parm; cmd_pkt 7547 drivers/scsi/ipr.c ioarcb->cmd_pkt.cdb[4] = xfer_len; cmd_pkt 7606 drivers/scsi/ipr.c ioarcb->cmd_pkt.cdb[0] = MODE_SENSE; cmd_pkt 7607 drivers/scsi/ipr.c ioarcb->cmd_pkt.cdb[2] = parm; cmd_pkt 7608 drivers/scsi/ipr.c ioarcb->cmd_pkt.cdb[4] = xfer_len; cmd_pkt 7609 drivers/scsi/ipr.c ioarcb->cmd_pkt.request_type = IPR_RQTYPE_SCSICDB; cmd_pkt 7630 drivers/scsi/ipr.c ipr_cmd->ioarcb.cmd_pkt.cdb[0], ioasc); cmd_pkt 7895 drivers/scsi/ipr.c ioarcb->cmd_pkt.request_type = IPR_RQTYPE_IOACMD; cmd_pkt 7898 drivers/scsi/ipr.c ioarcb->cmd_pkt.cdb[0] = IPR_QUERY_IOA_CONFIG; cmd_pkt 7899 drivers/scsi/ipr.c ioarcb->cmd_pkt.cdb[6] = (ioa_cfg->cfg_table_size >> 16) & 0xff; cmd_pkt 7900 drivers/scsi/ipr.c ioarcb->cmd_pkt.cdb[7] = (ioa_cfg->cfg_table_size >> 8) & 0xff; cmd_pkt 7901 drivers/scsi/ipr.c ioarcb->cmd_pkt.cdb[8] = ioa_cfg->cfg_table_size & 0xff; cmd_pkt 7930 drivers/scsi/ipr.c ioarcb->cmd_pkt.cdb[0] = IPR_IOA_SERVICE_ACTION; cmd_pkt 7931 drivers/scsi/ipr.c ioarcb->cmd_pkt.cdb[1] = sa_code; cmd_pkt 7932 drivers/scsi/ipr.c ioarcb->cmd_pkt.request_type = IPR_RQTYPE_IOACMD; cmd_pkt 7957 drivers/scsi/ipr.c ioarcb->cmd_pkt.cdb[2] = 0x40; cmd_pkt 7986 drivers/scsi/ipr.c ioarcb->cmd_pkt.request_type = IPR_RQTYPE_SCSICDB; cmd_pkt 7989 drivers/scsi/ipr.c ioarcb->cmd_pkt.cdb[0] = INQUIRY; cmd_pkt 7990 drivers/scsi/ipr.c ioarcb->cmd_pkt.cdb[1] = flags; cmd_pkt 7991 drivers/scsi/ipr.c ioarcb->cmd_pkt.cdb[2] = page; cmd_pkt 7992 drivers/scsi/ipr.c ioarcb->cmd_pkt.cdb[4] = xfer_len; cmd_pkt 8204 drivers/scsi/ipr.c ioarcb->cmd_pkt.cdb[0] = IPR_ID_HOST_RR_Q; cmd_pkt 8207 drivers/scsi/ipr.c ioarcb->cmd_pkt.request_type = IPR_RQTYPE_IOACMD; cmd_pkt 8209 drivers/scsi/ipr.c ioarcb->cmd_pkt.cdb[1] = 0x1; cmd_pkt 8212 drivers/scsi/ipr.c ioarcb->cmd_pkt.cdb[1] &= ~IPR_ID_HRRQ_SELE_ENABLE; cmd_pkt 8214 drivers/scsi/ipr.c ioarcb->cmd_pkt.cdb[1] |= IPR_ID_HRRQ_SELE_ENABLE; cmd_pkt 8216 drivers/scsi/ipr.c ioarcb->cmd_pkt.cdb[2] = cmd_pkt 8218 drivers/scsi/ipr.c ioarcb->cmd_pkt.cdb[3] = cmd_pkt 8220 drivers/scsi/ipr.c ioarcb->cmd_pkt.cdb[4] = cmd_pkt 8222 drivers/scsi/ipr.c ioarcb->cmd_pkt.cdb[5] = cmd_pkt 8224 drivers/scsi/ipr.c ioarcb->cmd_pkt.cdb[7] = cmd_pkt 8226 drivers/scsi/ipr.c ioarcb->cmd_pkt.cdb[8] = cmd_pkt 8229 drivers/scsi/ipr.c if (ioarcb->cmd_pkt.cdb[1] & IPR_ID_HRRQ_SELE_ENABLE) cmd_pkt 8230 drivers/scsi/ipr.c ioarcb->cmd_pkt.cdb[9] = cmd_pkt 8234 drivers/scsi/ipr.c ioarcb->cmd_pkt.cdb[10] = cmd_pkt 8236 drivers/scsi/ipr.c ioarcb->cmd_pkt.cdb[11] = cmd_pkt 8238 drivers/scsi/ipr.c ioarcb->cmd_pkt.cdb[12] = cmd_pkt 8240 drivers/scsi/ipr.c ioarcb->cmd_pkt.cdb[13] = cmd_pkt 8244 drivers/scsi/ipr.c if (ioarcb->cmd_pkt.cdb[1] & IPR_ID_HRRQ_SELE_ENABLE) cmd_pkt 8245 drivers/scsi/ipr.c ioarcb->cmd_pkt.cdb[14] = cmd_pkt 9033 drivers/scsi/ipr.c struct ipr_cmd_pkt *cmd_pkt; cmd_pkt 9043 drivers/scsi/ipr.c if (hcam_cmd->ioarcb.cmd_pkt.cdb[0] != IPR_HOST_CONTROLLED_ASYNC) cmd_pkt 9047 drivers/scsi/ipr.c ipr_cmd->ioarcb.cmd_pkt.request_type = IPR_RQTYPE_IOACMD; cmd_pkt 9048 drivers/scsi/ipr.c cmd_pkt = &ipr_cmd->ioarcb.cmd_pkt; cmd_pkt 9049 drivers/scsi/ipr.c cmd_pkt->request_type = IPR_RQTYPE_IOACMD; cmd_pkt 9050 drivers/scsi/ipr.c cmd_pkt->cdb[0] = IPR_CANCEL_REQUEST; cmd_pkt 9051 drivers/scsi/ipr.c cmd_pkt->cdb[1] = IPR_CANCEL_64BIT_IOARCB; cmd_pkt 9052 drivers/scsi/ipr.c cmd_pkt->cdb[10] = ((u64) hcam_cmd->dma_addr >> 56) & 0xff; cmd_pkt 9053 drivers/scsi/ipr.c cmd_pkt->cdb[11] = ((u64) hcam_cmd->dma_addr >> 48) & 0xff; cmd_pkt 9054 drivers/scsi/ipr.c cmd_pkt->cdb[12] = ((u64) hcam_cmd->dma_addr >> 40) & 0xff; cmd_pkt 9055 drivers/scsi/ipr.c cmd_pkt->cdb[13] = ((u64) hcam_cmd->dma_addr >> 32) & 0xff; cmd_pkt 9056 drivers/scsi/ipr.c cmd_pkt->cdb[2] = ((u64) hcam_cmd->dma_addr >> 24) & 0xff; cmd_pkt 9057 drivers/scsi/ipr.c cmd_pkt->cdb[3] = ((u64) hcam_cmd->dma_addr >> 16) & 0xff; cmd_pkt 9058 drivers/scsi/ipr.c cmd_pkt->cdb[4] = ((u64) hcam_cmd->dma_addr >> 8) & 0xff; cmd_pkt 9059 drivers/scsi/ipr.c cmd_pkt->cdb[5] = ((u64) hcam_cmd->dma_addr) & 0xff; cmd_pkt 9119 drivers/scsi/ipr.c ipr_cmd->ioarcb.cmd_pkt.request_type = IPR_RQTYPE_SCSICDB; cmd_pkt 9120 drivers/scsi/ipr.c ipr_cmd->ioarcb.cmd_pkt.cdb[0] = WRITE_BUFFER; cmd_pkt 9121 drivers/scsi/ipr.c ipr_cmd->ioarcb.cmd_pkt.cdb[1] = IPR_WR_BUF_DOWNLOAD_AND_SAVE; cmd_pkt 9122 drivers/scsi/ipr.c ipr_cmd->ioarcb.cmd_pkt.cdb[6] = (sglist->buffer_len & 0xff0000) >> 16; cmd_pkt 9123 drivers/scsi/ipr.c ipr_cmd->ioarcb.cmd_pkt.cdb[7] = (sglist->buffer_len & 0x00ff00) >> 8; cmd_pkt 9124 drivers/scsi/ipr.c ipr_cmd->ioarcb.cmd_pkt.cdb[8] = sglist->buffer_len & 0x0000ff; cmd_pkt 9163 drivers/scsi/ipr.c ipr_cmd->ioarcb.cmd_pkt.request_type = IPR_RQTYPE_IOACMD; cmd_pkt 9164 drivers/scsi/ipr.c ipr_cmd->ioarcb.cmd_pkt.cdb[0] = IPR_IOA_SHUTDOWN; cmd_pkt 9165 drivers/scsi/ipr.c ipr_cmd->ioarcb.cmd_pkt.cdb[1] = shutdown_type; cmd_pkt 9722 drivers/scsi/ipr.c ipr_cmd->ioarcb.cmd_pkt.hrrq_id = hrrq_id; cmd_pkt 10822 drivers/scsi/ipr.c ipr_cmd->ioarcb.cmd_pkt.request_type = IPR_RQTYPE_IOACMD; cmd_pkt 10823 drivers/scsi/ipr.c ipr_cmd->ioarcb.cmd_pkt.cdb[0] = IPR_IOA_SHUTDOWN; cmd_pkt 10824 drivers/scsi/ipr.c ipr_cmd->ioarcb.cmd_pkt.cdb[1] = IPR_SHUTDOWN_PREPARE_FOR_NORMAL; cmd_pkt 637 drivers/scsi/ipr.h struct ipr_cmd_pkt cmd_pkt; cmd_pkt 191 drivers/scsi/qla2xxx/qla_iocb.c void qla2x00_build_scsi_iocbs_32(srb_t *sp, cmd_entry_t *cmd_pkt, cmd_pkt 204 drivers/scsi/qla2xxx/qla_iocb.c put_unaligned_le32(COMMAND_TYPE, &cmd_pkt->entry_type); cmd_pkt 208 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->byte_count = cpu_to_le32(0); cmd_pkt 213 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->control_flags |= cpu_to_le16(qla2x00_get_cmd_direction(sp)); cmd_pkt 216 drivers/scsi/qla2xxx/qla_iocb.c avail_dsds = ARRAY_SIZE(cmd_pkt->dsd32); cmd_pkt 217 drivers/scsi/qla2xxx/qla_iocb.c cur_dsd = cmd_pkt->dsd32; cmd_pkt 247 drivers/scsi/qla2xxx/qla_iocb.c void qla2x00_build_scsi_iocbs_64(srb_t *sp, cmd_entry_t *cmd_pkt, cmd_pkt 260 drivers/scsi/qla2xxx/qla_iocb.c put_unaligned_le32(COMMAND_A64_TYPE, &cmd_pkt->entry_type); cmd_pkt 264 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->byte_count = cpu_to_le32(0); cmd_pkt 269 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->control_flags |= cpu_to_le16(qla2x00_get_cmd_direction(sp)); cmd_pkt 272 drivers/scsi/qla2xxx/qla_iocb.c avail_dsds = ARRAY_SIZE(cmd_pkt->dsd64); cmd_pkt 273 drivers/scsi/qla2xxx/qla_iocb.c cur_dsd = cmd_pkt->dsd64; cmd_pkt 330 drivers/scsi/qla2xxx/qla_iocb.c cmd_entry_t *cmd_pkt; cmd_pkt 397 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt = (cmd_entry_t *)req->ring_ptr; cmd_pkt 398 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->handle = handle; cmd_pkt 400 drivers/scsi/qla2xxx/qla_iocb.c clr_ptr = (uint32_t *)cmd_pkt + 2; cmd_pkt 402 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->dseg_count = cpu_to_le16(tot_dsds); cmd_pkt 405 drivers/scsi/qla2xxx/qla_iocb.c SET_TARGET_ID(ha, cmd_pkt->target, sp->fcport->loop_id); cmd_pkt 406 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->lun = cpu_to_le16(cmd->device->lun); cmd_pkt 407 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->control_flags = cpu_to_le16(CF_SIMPLE_TAG); cmd_pkt 410 drivers/scsi/qla2xxx/qla_iocb.c memcpy(cmd_pkt->scsi_cdb, cmd->cmnd, cmd->cmd_len); cmd_pkt 411 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->byte_count = cpu_to_le32((uint32_t)scsi_bufflen(cmd)); cmd_pkt 414 drivers/scsi/qla2xxx/qla_iocb.c ha->isp_ops->build_iocbs(sp, cmd_pkt, tot_dsds); cmd_pkt 417 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->entry_count = (uint8_t)req_cnt; cmd_pkt 584 drivers/scsi/qla2xxx/qla_iocb.c qla24xx_build_scsi_type_6_iocbs(srb_t *sp, struct cmd_type_6 *cmd_pkt, cmd_pkt 601 drivers/scsi/qla2xxx/qla_iocb.c put_unaligned_le32(COMMAND_TYPE_6, &cmd_pkt->entry_type); cmd_pkt 605 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->byte_count = cpu_to_le32(0); cmd_pkt 614 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->control_flags = cpu_to_le16(CF_WRITE_DATA); cmd_pkt 618 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->control_flags = cpu_to_le16(CF_READ_DATA); cmd_pkt 644 drivers/scsi/qla2xxx/qla_iocb.c &cmd_pkt->fcp_dsd.address); cmd_pkt 645 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->fcp_dsd.length = cpu_to_le32(dsd_list_len); cmd_pkt 664 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->control_flags |= CF_DATA_SEG_DESCR_ENABLE; cmd_pkt 698 drivers/scsi/qla2xxx/qla_iocb.c qla24xx_build_scsi_iocbs(srb_t *sp, struct cmd_type_7 *cmd_pkt, cmd_pkt 711 drivers/scsi/qla2xxx/qla_iocb.c put_unaligned_le32(COMMAND_TYPE_7, &cmd_pkt->entry_type); cmd_pkt 715 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->byte_count = cpu_to_le32(0); cmd_pkt 723 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->task_mgmt_flags = cpu_to_le16(TMF_WRITE_DATA); cmd_pkt 727 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->task_mgmt_flags = cpu_to_le16(TMF_READ_DATA); cmd_pkt 734 drivers/scsi/qla2xxx/qla_iocb.c cur_dsd = &cmd_pkt->dsd; cmd_pkt 1388 drivers/scsi/qla2xxx/qla_iocb.c qla24xx_build_scsi_crc_2_iocbs(srb_t *sp, struct cmd_type_crc_2 *cmd_pkt, cmd_pkt 1410 drivers/scsi/qla2xxx/qla_iocb.c put_unaligned_le32(COMMAND_TYPE_CRC_2, &cmd_pkt->entry_type); cmd_pkt 1418 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->byte_count = cpu_to_le32(0); cmd_pkt 1422 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->vp_index = sp->vha->vp_idx; cmd_pkt 1426 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->control_flags = cmd_pkt 1429 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->control_flags = cmd_pkt 1451 drivers/scsi/qla2xxx/qla_iocb.c crc_ctx_pkt->handle = cmd_pkt->handle; cmd_pkt 1458 drivers/scsi/qla2xxx/qla_iocb.c put_unaligned_le64(crc_ctx_dma, &cmd_pkt->crc_context_address); cmd_pkt 1459 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->crc_context_len = CRC_CONTEXT_LEN_FW; cmd_pkt 1484 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->fcp_cmnd_dseg_len = cpu_to_le16(fcp_cmnd_len); cmd_pkt 1486 drivers/scsi/qla2xxx/qla_iocb.c &cmd_pkt->fcp_cmnd_dseg_address); cmd_pkt 1490 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->fcp_rsp_dseg_len = 0; /* Let response come in status iocb */ cmd_pkt 1547 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->byte_count = cpu_to_le32(total_bytes); cmd_pkt 1553 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->byte_count = cpu_to_le32(0); cmd_pkt 1558 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->control_flags |= cpu_to_le16(CF_DATA_SEG_DESCR_ENABLE); cmd_pkt 1570 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->control_flags |= cpu_to_le16(CF_DIF_SEG_DESCR_ENABLE); cmd_pkt 1597 drivers/scsi/qla2xxx/qla_iocb.c struct cmd_type_7 *cmd_pkt; cmd_pkt 1657 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt = (struct cmd_type_7 *)req->ring_ptr; cmd_pkt 1658 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->handle = MAKE_HANDLE(req->id, handle); cmd_pkt 1662 drivers/scsi/qla2xxx/qla_iocb.c clr_ptr = (uint32_t *)cmd_pkt + 2; cmd_pkt 1664 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->dseg_count = cpu_to_le16(tot_dsds); cmd_pkt 1667 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->nport_handle = cpu_to_le16(sp->fcport->loop_id); cmd_pkt 1668 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->port_id[0] = sp->fcport->d_id.b.al_pa; cmd_pkt 1669 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->port_id[1] = sp->fcport->d_id.b.area; cmd_pkt 1670 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->port_id[2] = sp->fcport->d_id.b.domain; cmd_pkt 1671 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->vp_index = sp->vha->vp_idx; cmd_pkt 1673 drivers/scsi/qla2xxx/qla_iocb.c int_to_scsilun(cmd->device->lun, &cmd_pkt->lun); cmd_pkt 1674 drivers/scsi/qla2xxx/qla_iocb.c host_to_fcp_swap((uint8_t *)&cmd_pkt->lun, sizeof(cmd_pkt->lun)); cmd_pkt 1676 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->task = TSK_SIMPLE; cmd_pkt 1679 drivers/scsi/qla2xxx/qla_iocb.c memcpy(cmd_pkt->fcp_cdb, cmd->cmnd, cmd->cmd_len); cmd_pkt 1680 drivers/scsi/qla2xxx/qla_iocb.c host_to_fcp_swap(cmd_pkt->fcp_cdb, sizeof(cmd_pkt->fcp_cdb)); cmd_pkt 1682 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->byte_count = cpu_to_le32((uint32_t)scsi_bufflen(cmd)); cmd_pkt 1685 drivers/scsi/qla2xxx/qla_iocb.c qla24xx_build_scsi_iocbs(sp, cmd_pkt, tot_dsds, req); cmd_pkt 1688 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->entry_count = (uint8_t)req_cnt; cmd_pkt 1738 drivers/scsi/qla2xxx/qla_iocb.c struct cmd_type_crc_2 *cmd_pkt; cmd_pkt 1845 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt = (struct cmd_type_crc_2 *)req->ring_ptr; cmd_pkt 1846 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->handle = MAKE_HANDLE(req->id, handle); cmd_pkt 1848 drivers/scsi/qla2xxx/qla_iocb.c clr_ptr = (uint32_t *)cmd_pkt + 2; cmd_pkt 1852 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->nport_handle = cpu_to_le16(sp->fcport->loop_id); cmd_pkt 1853 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->port_id[0] = sp->fcport->d_id.b.al_pa; cmd_pkt 1854 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->port_id[1] = sp->fcport->d_id.b.area; cmd_pkt 1855 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->port_id[2] = sp->fcport->d_id.b.domain; cmd_pkt 1857 drivers/scsi/qla2xxx/qla_iocb.c int_to_scsilun(cmd->device->lun, &cmd_pkt->lun); cmd_pkt 1858 drivers/scsi/qla2xxx/qla_iocb.c host_to_fcp_swap((uint8_t *)&cmd_pkt->lun, sizeof(cmd_pkt->lun)); cmd_pkt 1861 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->dseg_count = cpu_to_le16(tot_dsds); cmd_pkt 1869 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->entry_count = (uint8_t)req_cnt; cmd_pkt 1871 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->entry_status = (uint8_t) rsp->id; cmd_pkt 1872 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->timeout = cpu_to_le16(0); cmd_pkt 1914 drivers/scsi/qla2xxx/qla_iocb.c struct cmd_type_7 *cmd_pkt; cmd_pkt 1977 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt = (struct cmd_type_7 *)req->ring_ptr; cmd_pkt 1978 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->handle = MAKE_HANDLE(req->id, handle); cmd_pkt 1982 drivers/scsi/qla2xxx/qla_iocb.c clr_ptr = (uint32_t *)cmd_pkt + 2; cmd_pkt 1984 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->dseg_count = cpu_to_le16(tot_dsds); cmd_pkt 1987 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->nport_handle = cpu_to_le16(sp->fcport->loop_id); cmd_pkt 1988 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->port_id[0] = sp->fcport->d_id.b.al_pa; cmd_pkt 1989 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->port_id[1] = sp->fcport->d_id.b.area; cmd_pkt 1990 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->port_id[2] = sp->fcport->d_id.b.domain; cmd_pkt 1991 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->vp_index = sp->fcport->vha->vp_idx; cmd_pkt 1993 drivers/scsi/qla2xxx/qla_iocb.c int_to_scsilun(cmd->device->lun, &cmd_pkt->lun); cmd_pkt 1994 drivers/scsi/qla2xxx/qla_iocb.c host_to_fcp_swap((uint8_t *)&cmd_pkt->lun, sizeof(cmd_pkt->lun)); cmd_pkt 1996 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->task = TSK_SIMPLE; cmd_pkt 1999 drivers/scsi/qla2xxx/qla_iocb.c memcpy(cmd_pkt->fcp_cdb, cmd->cmnd, cmd->cmd_len); cmd_pkt 2000 drivers/scsi/qla2xxx/qla_iocb.c host_to_fcp_swap(cmd_pkt->fcp_cdb, sizeof(cmd_pkt->fcp_cdb)); cmd_pkt 2002 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->byte_count = cpu_to_le32((uint32_t)scsi_bufflen(cmd)); cmd_pkt 2005 drivers/scsi/qla2xxx/qla_iocb.c qla24xx_build_scsi_iocbs(sp, cmd_pkt, tot_dsds, req); cmd_pkt 2008 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->entry_count = (uint8_t)req_cnt; cmd_pkt 2059 drivers/scsi/qla2xxx/qla_iocb.c struct cmd_type_crc_2 *cmd_pkt; cmd_pkt 2180 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt = (struct cmd_type_crc_2 *)req->ring_ptr; cmd_pkt 2181 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->handle = MAKE_HANDLE(req->id, handle); cmd_pkt 2183 drivers/scsi/qla2xxx/qla_iocb.c clr_ptr = (uint32_t *)cmd_pkt + 2; cmd_pkt 2187 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->nport_handle = cpu_to_le16(sp->fcport->loop_id); cmd_pkt 2188 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->port_id[0] = sp->fcport->d_id.b.al_pa; cmd_pkt 2189 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->port_id[1] = sp->fcport->d_id.b.area; cmd_pkt 2190 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->port_id[2] = sp->fcport->d_id.b.domain; cmd_pkt 2192 drivers/scsi/qla2xxx/qla_iocb.c int_to_scsilun(cmd->device->lun, &cmd_pkt->lun); cmd_pkt 2193 drivers/scsi/qla2xxx/qla_iocb.c host_to_fcp_swap((uint8_t *)&cmd_pkt->lun, sizeof(cmd_pkt->lun)); cmd_pkt 2196 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->dseg_count = cpu_to_le16(tot_dsds); cmd_pkt 2204 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->entry_count = (uint8_t)req_cnt; cmd_pkt 2205 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->timeout = cpu_to_le16(0); cmd_pkt 3138 drivers/scsi/qla2xxx/qla_iocb.c struct cmd_type_6 *cmd_pkt; cmd_pkt 3232 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt = (struct cmd_type_6 *)req->ring_ptr; cmd_pkt 3233 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->handle = MAKE_HANDLE(req->id, handle); cmd_pkt 3237 drivers/scsi/qla2xxx/qla_iocb.c clr_ptr = (uint32_t *)cmd_pkt + 2; cmd_pkt 3239 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->dseg_count = cpu_to_le16(tot_dsds); cmd_pkt 3242 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->nport_handle = cpu_to_le16(sp->fcport->loop_id); cmd_pkt 3243 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->port_id[0] = sp->fcport->d_id.b.al_pa; cmd_pkt 3244 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->port_id[1] = sp->fcport->d_id.b.area; cmd_pkt 3245 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->port_id[2] = sp->fcport->d_id.b.domain; cmd_pkt 3246 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->vp_index = sp->vha->vp_idx; cmd_pkt 3249 drivers/scsi/qla2xxx/qla_iocb.c if (qla24xx_build_scsi_type_6_iocbs(sp, cmd_pkt, tot_dsds)) cmd_pkt 3252 drivers/scsi/qla2xxx/qla_iocb.c int_to_scsilun(cmd->device->lun, &cmd_pkt->lun); cmd_pkt 3253 drivers/scsi/qla2xxx/qla_iocb.c host_to_fcp_swap((uint8_t *)&cmd_pkt->lun, sizeof(cmd_pkt->lun)); cmd_pkt 3275 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->fcp_cmnd_dseg_len = cpu_to_le16(ctx->fcp_cmnd_len); cmd_pkt 3277 drivers/scsi/qla2xxx/qla_iocb.c &cmd_pkt->fcp_cmnd_dseg_address); cmd_pkt 3280 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->byte_count = cpu_to_le32((uint32_t)scsi_bufflen(cmd)); cmd_pkt 3282 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->entry_count = (uint8_t)req_cnt; cmd_pkt 3286 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->entry_status = (uint8_t) rsp->id; cmd_pkt 3288 drivers/scsi/qla2xxx/qla_iocb.c struct cmd_type_7 *cmd_pkt; cmd_pkt 3303 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt = (struct cmd_type_7 *)req->ring_ptr; cmd_pkt 3304 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->handle = MAKE_HANDLE(req->id, handle); cmd_pkt 3308 drivers/scsi/qla2xxx/qla_iocb.c clr_ptr = (uint32_t *)cmd_pkt + 2; cmd_pkt 3310 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->dseg_count = cpu_to_le16(tot_dsds); cmd_pkt 3313 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->nport_handle = cpu_to_le16(sp->fcport->loop_id); cmd_pkt 3314 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->port_id[0] = sp->fcport->d_id.b.al_pa; cmd_pkt 3315 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->port_id[1] = sp->fcport->d_id.b.area; cmd_pkt 3316 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->port_id[2] = sp->fcport->d_id.b.domain; cmd_pkt 3317 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->vp_index = sp->vha->vp_idx; cmd_pkt 3319 drivers/scsi/qla2xxx/qla_iocb.c int_to_scsilun(cmd->device->lun, &cmd_pkt->lun); cmd_pkt 3320 drivers/scsi/qla2xxx/qla_iocb.c host_to_fcp_swap((uint8_t *)&cmd_pkt->lun, cmd_pkt 3321 drivers/scsi/qla2xxx/qla_iocb.c sizeof(cmd_pkt->lun)); cmd_pkt 3325 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->task |= sp->fcport->fcp_prio << 3; cmd_pkt 3328 drivers/scsi/qla2xxx/qla_iocb.c memcpy(cmd_pkt->fcp_cdb, cmd->cmnd, cmd->cmd_len); cmd_pkt 3329 drivers/scsi/qla2xxx/qla_iocb.c host_to_fcp_swap(cmd_pkt->fcp_cdb, sizeof(cmd_pkt->fcp_cdb)); cmd_pkt 3331 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->byte_count = cpu_to_le32((uint32_t)scsi_bufflen(cmd)); cmd_pkt 3334 drivers/scsi/qla2xxx/qla_iocb.c qla24xx_build_scsi_iocbs(sp, cmd_pkt, tot_dsds, req); cmd_pkt 3337 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->entry_count = (uint8_t)req_cnt; cmd_pkt 3341 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->entry_status = (uint8_t) rsp->id; cmd_pkt 3478 drivers/scsi/qla2xxx/qla_iocb.c qla_nvme_ls(srb_t *sp, struct pt_ls4_request *cmd_pkt) cmd_pkt 3484 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->entry_type = PT_LS4_REQUEST; cmd_pkt 3485 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->entry_count = 1; cmd_pkt 3486 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->control_flags = CF_LS4_ORIGINATOR << CF_LS4_SHIFT; cmd_pkt 3488 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->timeout = cpu_to_le16(nvme->u.nvme.timeout_sec); cmd_pkt 3489 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->nport_handle = cpu_to_le16(sp->fcport->loop_id); cmd_pkt 3490 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->vp_index = sp->fcport->vha->vp_idx; cmd_pkt 3492 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->tx_dseg_count = 1; cmd_pkt 3493 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->tx_byte_count = nvme->u.nvme.cmd_len; cmd_pkt 3494 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->dsd[0].length = nvme->u.nvme.cmd_len; cmd_pkt 3495 drivers/scsi/qla2xxx/qla_iocb.c put_unaligned_le64(nvme->u.nvme.cmd_dma, &cmd_pkt->dsd[0].address); cmd_pkt 3497 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->rx_dseg_count = 1; cmd_pkt 3498 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->rx_byte_count = nvme->u.nvme.rsp_len; cmd_pkt 3499 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->dsd[1].length = nvme->u.nvme.rsp_len; cmd_pkt 3500 drivers/scsi/qla2xxx/qla_iocb.c put_unaligned_le64(nvme->u.nvme.rsp_dma, &cmd_pkt->dsd[1].address); cmd_pkt 3639 drivers/scsi/qla2xxx/qla_iocb.c struct cmd_bidir *cmd_pkt, uint32_t tot_dsds) cmd_pkt 3651 drivers/scsi/qla2xxx/qla_iocb.c put_unaligned_le32(COMMAND_BIDIRECTIONAL, &cmd_pkt->entry_type); cmd_pkt 3657 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->wr_dseg_count = cpu_to_le16(bsg_job->request_payload.sg_cnt); cmd_pkt 3658 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->rd_dseg_count = cpu_to_le16(bsg_job->reply_payload.sg_cnt); cmd_pkt 3659 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->control_flags = cpu_to_le16(BD_WRITE_DATA | BD_READ_DATA | cmd_pkt 3663 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->wr_byte_count = cpu_to_le32(req_data_len); cmd_pkt 3664 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->rd_byte_count = cpu_to_le32(rsp_data_len); cmd_pkt 3665 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->timeout = cpu_to_le16(qla2x00_get_async_timeout(vha) + 2); cmd_pkt 3677 drivers/scsi/qla2xxx/qla_iocb.c cur_dsd = &cmd_pkt->fcp_dsd; cmd_pkt 3721 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->entry_count = entry_count; cmd_pkt 3734 drivers/scsi/qla2xxx/qla_iocb.c struct cmd_bidir *cmd_pkt = NULL; cmd_pkt 3779 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt = (struct cmd_bidir *)req->ring_ptr; cmd_pkt 3780 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->handle = MAKE_HANDLE(req->id, handle); cmd_pkt 3784 drivers/scsi/qla2xxx/qla_iocb.c clr_ptr = (uint32_t *)cmd_pkt + 2; cmd_pkt 3788 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->nport_handle = cpu_to_le16(vha->self_login_loop_id); cmd_pkt 3789 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->port_id[0] = vha->d_id.b.al_pa; cmd_pkt 3790 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->port_id[1] = vha->d_id.b.area; cmd_pkt 3791 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->port_id[2] = vha->d_id.b.domain; cmd_pkt 3793 drivers/scsi/qla2xxx/qla_iocb.c qla25xx_build_bidir_iocb(sp, vha, cmd_pkt, tot_dsds); cmd_pkt 3794 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->entry_status = (uint8_t) rsp->id; cmd_pkt 2994 drivers/scsi/qla2xxx/qla_mr.c qlafx00_build_scsi_iocbs(srb_t *sp, struct cmd_type_7_fx00 *cmd_pkt, cmd_pkt 3087 drivers/scsi/qla2xxx/qla_mr.c struct cmd_type_7_fx00 *cmd_pkt; cmd_pkt 3135 drivers/scsi/qla2xxx/qla_mr.c cmd_pkt = (struct cmd_type_7_fx00 *)req->ring_ptr; cmd_pkt 3155 drivers/scsi/qla2xxx/qla_mr.c qlafx00_build_scsi_iocbs(sp, cmd_pkt, tot_dsds, &lcmd_pkt); cmd_pkt 3168 drivers/scsi/qla2xxx/qla_mr.c memcpy_toio((void __iomem *)cmd_pkt, &lcmd_pkt, REQUEST_ENTRY_SIZE); cmd_pkt 357 drivers/scsi/qla2xxx/qla_nvme.c struct cmd_nvme *cmd_pkt; cmd_pkt 415 drivers/scsi/qla2xxx/qla_nvme.c cmd_pkt = (struct cmd_nvme *)req->ring_ptr; cmd_pkt 416 drivers/scsi/qla2xxx/qla_nvme.c cmd_pkt->handle = MAKE_HANDLE(req->id, handle); cmd_pkt 419 drivers/scsi/qla2xxx/qla_nvme.c clr_ptr = (uint32_t *)cmd_pkt + 2; cmd_pkt 422 drivers/scsi/qla2xxx/qla_nvme.c cmd_pkt->entry_status = 0; cmd_pkt 425 drivers/scsi/qla2xxx/qla_nvme.c cmd_pkt->entry_type = COMMAND_NVME; cmd_pkt 429 drivers/scsi/qla2xxx/qla_nvme.c cmd_pkt->control_flags = CF_READ_DATA; cmd_pkt 433 drivers/scsi/qla2xxx/qla_nvme.c cmd_pkt->control_flags = CF_WRITE_DATA; cmd_pkt 440 drivers/scsi/qla2xxx/qla_nvme.c cmd_pkt->control_flags |= cmd_pkt 446 drivers/scsi/qla2xxx/qla_nvme.c cmd_pkt->control_flags = 0; cmd_pkt 450 drivers/scsi/qla2xxx/qla_nvme.c cmd_pkt->nport_handle = cpu_to_le16(sp->fcport->loop_id); cmd_pkt 451 drivers/scsi/qla2xxx/qla_nvme.c cmd_pkt->port_id[0] = sp->fcport->d_id.b.al_pa; cmd_pkt 452 drivers/scsi/qla2xxx/qla_nvme.c cmd_pkt->port_id[1] = sp->fcport->d_id.b.area; cmd_pkt 453 drivers/scsi/qla2xxx/qla_nvme.c cmd_pkt->port_id[2] = sp->fcport->d_id.b.domain; cmd_pkt 454 drivers/scsi/qla2xxx/qla_nvme.c cmd_pkt->vp_index = sp->fcport->vha->vp_idx; cmd_pkt 457 drivers/scsi/qla2xxx/qla_nvme.c cmd_pkt->nvme_rsp_dsd_len = cpu_to_le16(fd->rsplen); cmd_pkt 458 drivers/scsi/qla2xxx/qla_nvme.c put_unaligned_le64(fd->rspdma, &cmd_pkt->nvme_rsp_dseg_address); cmd_pkt 461 drivers/scsi/qla2xxx/qla_nvme.c cmd_pkt->nvme_cmnd_dseg_len = cpu_to_le16(fd->cmdlen); cmd_pkt 462 drivers/scsi/qla2xxx/qla_nvme.c cmd_pkt->nvme_cmnd_dseg_address = cpu_to_le64(fd->cmddma); cmd_pkt 464 drivers/scsi/qla2xxx/qla_nvme.c cmd_pkt->dseg_count = cpu_to_le16(tot_dsds); cmd_pkt 465 drivers/scsi/qla2xxx/qla_nvme.c cmd_pkt->byte_count = cpu_to_le32(fd->payload_length); cmd_pkt 469 drivers/scsi/qla2xxx/qla_nvme.c cur_dsd = &cmd_pkt->nvme_dsd; cmd_pkt 504 drivers/scsi/qla2xxx/qla_nvme.c cmd_pkt->entry_count = (uint8_t)req_cnt;