Lines Matching defs:skey
147 uint8_t *sns, skey, asc, ascq;
151 skey = scsi_sense_key(sns);
154 if (skey == KEY_UNIT_ATTENTION) {
167 } else if (skey == KEY_NOT_READY) {
193 "ASCQ:%x", skey, asc, ascq);
435 uint8_t skey, asc, ascq;
437 skey = scsi_sense_key(sense);
441 if ((skey == KEY_UNIT_ATTENTION) &&
447 " sense:%x\n", skey, asc, ascq, rval));
448 } else if ((skey == KEY_NOT_READY) &&
455 " sense:%x\n", skey, asc, ascq, rval));
456 } else if ((skey == KEY_ILLEGAL_REQUEST) &&
461 " sense:%x\n", skey, asc, ascq, rval));
462 } else if ((skey == KEY_ILLEGAL_REQUEST) &&
467 " sense:%x\n", skey, asc, ascq, rval));
475 " sense key:%x, ASC:%x, ASCQ:%x\n", skey, asc, ascq));