Lines Matching refs:status
246 static int decode_lv1_status(u64 status, unsigned char *sense_key,
249 if (((status >> 24) & 0xff) != SAM_STAT_CHECK_CONDITION)
252 *sense_key = (status >> 16) & 0xff;
253 *asc = (status >> 8) & 0xff;
254 *ascq = status & 0xff;
265 u64 tag, status;
268 res = lv1_storage_get_async_status(dev->sbd.dev_id, &tag, &status);
270 * status = -1 may mean that ATAPI transport completed OK, but
281 dev_err(&dev->sbd.core, "%s:%u: res=%d status=0x%llx\n",
282 __func__, __LINE__, res, status);
290 if (!status) {
313 if (decode_lv1_status(status, &sense_key, &asc, &ascq)) {