Lines Matching refs:vrq
849 rq->vrq->scsi.flags |= cpu_to_le32(FCP_CMND_WRD); in esas2r_queuecommand()
851 rq->vrq->scsi.flags |= cpu_to_le32(FCP_CMND_RDD); in esas2r_queuecommand()
854 memcpy(rq->vrq->scsi.cdb, cmd->cmnd, cmd->cmd_len); in esas2r_queuecommand()
855 rq->vrq->scsi.length = cpu_to_le32(bufflen); in esas2r_queuecommand()
857 rq->vrq->scsi.flags |= cpu_to_le32(cmd->device->lun); in esas2r_queuecommand()
942 ar->vrq->scsi.length = 0; in esas2r_check_active_queue()
944 ar->vrq->scsi.flags |= cpu_to_le32( in esas2r_check_active_queue()
945 (u8)le32_to_cpu(rq->vrq->scsi.flags)); in esas2r_check_active_queue()
947 memset(ar->vrq->scsi.cdb, 0, in esas2r_check_active_queue()
948 sizeof(ar->vrq->scsi.cdb)); in esas2r_check_active_queue()
950 ar->vrq->scsi.flags |= cpu_to_le32( in esas2r_check_active_queue()
952 ar->vrq->scsi.u.abort_handle = in esas2r_check_active_queue()
953 rq->vrq->scsi.handle; in esas2r_check_active_queue()
1139 rq->vrq->scsi.flags |= cpu_to_le32(cmd->device->lun); in esas2r_dev_targ_reset()
1206 if (rq->vrq->scsi.function == VDA_FUNC_SCSI) { in esas2r_log_request_failure()
1213 rq->vrq->scsi.cdb[0]); in esas2r_log_request_failure()
1217 rq->vrq->scsi.cdb[0]); in esas2r_log_request_failure()
1219 } else if ((rq->vrq->scsi.cdb[0] != INQUIRY in esas2r_log_request_failure()
1220 && rq->vrq->scsi.cdb[0] != REPORT_LUNS) in esas2r_log_request_failure()
1224 (rq->vrq->scsi.cdb[0] == INQUIRY)) { in esas2r_log_request_failure()
1229 rq->vrq->scsi.cdb[0], reqstatus, in esas2r_log_request_failure()