• 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/drivers/scsi/qla4xxx/

Lines Matching refs:sts_entry

16  * @sts_entry: Pointer to status entry structure.
20 struct status_entry *sts_entry,
27 sense_len = le16_to_cpu(sts_entry->senseDataByteCnt);
37 /* Copy sense from sts_entry pkt */
39 memcpy(cmd->sense_buffer, sts_entry->senseData, sense_len);
45 sts_entry->senseData[2] & 0x0f,
46 sts_entry->senseData[7],
47 sts_entry->senseData[12],
48 sts_entry->senseData[13]));
108 * @sts_entry: Pointer to status entry structure.
111 struct status_entry *sts_entry)
119 srb = qla4xxx_del_from_active_array(ha, le32_to_cpu(sts_entry->handle));
124 le32_to_cpu(sts_entry->handle), srb));
126 " handle=0x%0x\n", __func__, sts_entry->handle);
135 ha->host_no, __func__, sts_entry->handle,
148 residual = le32_to_cpu(sts_entry->residualByteCnt);
151 scsi_status = sts_entry->scsiStatus;
152 switch (sts_entry->completionStatus) {
155 if (sts_entry->iscsiFlags & ISCSI_FLAG_RESIDUAL_OVER) {
160 if (sts_entry->iscsiFlags &ISCSI_FLAG_RESIDUAL_UNDER) {
185 qla4xxx_copy_sense(ha, sts_entry, srb);
228 if ((sts_entry->iscsiFlags & ISCSI_FLAG_RESIDUAL_OVER) ||
229 (sts_entry->completionStatus == SCS_DATA_OVERRUN)) {
252 qla4xxx_copy_sense(ha, sts_entry, srb);
260 if ((sts_entry->iscsiFlags &
298 cmd->device->lun, sts_entry->completionStatus));
314 cmd->result = DID_OK << 16 | sts_entry->scsiStatus;
319 sts_entry->completionStatus,
320 sts_entry->scsiStatus, sts_entry->state_flags,
321 sts_entry->iscsiFlags,
322 sts_entry->iscsiResponse));
333 srb->cc_stat = sts_entry->completionStatus;
349 struct status_entry *sts_entry;
353 sts_entry = (struct status_entry *) ha->response_ptr;
366 switch (sts_entry->hdr.entryType) {
369 qla4xxx_status_entry(ha, sts_entry);
377 (struct status_cont_entry *) sts_entry);
386 le32_to_cpu(sts_entry->
414 sts_entry->hdr.entryType));
417 ((struct response *)sts_entry)->signature = RESPONSE_PROCESSED;
430 ha->host_no, __func__, srb, sts_entry->hdr.entryType,
431 sts_entry->completionStatus));