Lines Matching refs:le16_to_cpu
1041 if (le16_to_cpu(sts->completion_status) == CS_RESET_OCCURRED
1042 || le16_to_cpu(sts->completion_status) == CS_ABORTED
1043 || (le16_to_cpu(sts->status_flags) & STF_BUS_RESET))
1046 if (le16_to_cpu(sts->state_flags) & SF_GOT_SENSE)
1102 le16_to_cpu(sts->completion_status)));
1104 switch(le16_to_cpu(sts->completion_status)) {
1109 if (!(le16_to_cpu(sts->state_flags) & SF_GOT_BUS))
1111 else if (!(le16_to_cpu(sts->state_flags) & SF_GOT_TARGET))
1113 else if (!(le16_to_cpu(sts->state_flags) & SF_SENT_CDB))
1115 else if (!(le16_to_cpu(sts->state_flags) & SF_TRANSFERRED_DATA))
1117 else if (!(le16_to_cpu(sts->state_flags) & SF_GOT_STATUS))
1119 else if (!(le16_to_cpu(sts->state_flags) & SF_GOT_SENSE))
1155 le16_to_cpu(sts->completion_status));
1161 reason[host_status], le16_to_cpu(sts->scsi_status)));
1165 return (le16_to_cpu(sts->scsi_status) & STATUS_MASK) | (host_status << 16);
1970 le16_to_cpu(status->scsi_status), le16_to_cpu(status->completion_status));
1972 le16_to_cpu(status->state_flags), le16_to_cpu(status->status_flags));
1974 le16_to_cpu(status->time), le16_to_cpu(status->req_sense_len));
1978 for (i = 0; i < le16_to_cpu(status->req_sense_len); i++)