Home
last modified time | relevance | path

Searched refs:sense_key (Results 1 – 17 of 17) sorted by relevance

/linux-2.4.37.9/drivers/scsi/aic7xxx/
Daiclib.c59 static void fetchtableentries(int sense_key, int asc, int ascq,
890 int sense_key; in senseentrycomp() local
893 sense_key = *((const int *)key); in senseentrycomp()
896 if (sense_key >= table_entry->sense_key) { in senseentrycomp()
897 if (sense_key == table_entry->sense_key) in senseentrycomp()
905 fetchtableentries(int sense_key, int asc, int ascq, in fetchtableentries() argument
973 found_entry = scsibsearch(&sense_key, sense_tables[i], in fetchtableentries()
1055 aic_sense_desc(int sense_key, int asc, int ascq, in aic_sense_desc() argument
1062 fetchtableentries(sense_key, asc, ascq, in aic_sense_desc()
1090 int error_code, sense_key, asc, ascq; in aic_sense_error_action() local
[all …]
Daiclib.h837 uint8_t sense_key; member
955 int *error_code, int *sense_key,
966 int *error_code, int *sense_key, in scsi_extract_sense() argument
970 *sense_key = sense->flags & SSD_KEY; in scsi_extract_sense()
/linux-2.4.37.9/drivers/ide/
Dide-cd.c343 switch (sense->sense_key) { in cdrom_log_sense()
386 if (sense->sense_key == 0x05 && sense->asc == 0x24) in cdrom_analyze_sense_data()
405 if (sense->sense_key < ARY_LEN(sense_key_texts)) in cdrom_analyze_sense_data()
406 s = sense_key_texts[sense->sense_key]; in cdrom_analyze_sense_data()
410 printk("%s -- (Sense key=0x%02x)\n", s, sense->sense_key); in cdrom_analyze_sense_data()
418 unsigned long key = (sense->sense_key << 16); in cdrom_analyze_sense_data()
478 if (sense->sense_key == NOT_READY && (sense->sks[0] & 0x80)) { in cdrom_analyze_sense_data()
484 if (sense->sense_key == ILLEGAL_REQUEST && in cdrom_analyze_sense_data()
503 if (sense->sense_key == UNIT_ATTENTION || in cdrom_analyze_sense_data()
504 (sense->sense_key == NOT_READY && (sense->asc == 4 || in cdrom_analyze_sense_data()
[all …]
Dide-floppy.c290 u8 sense_key, asc, ascq; member
460 unsigned sense_key :4; /* Sense Key */ member
471 unsigned sense_key :4; /* Sense Key */
706 floppy->sense_key = result->sense_key; in idefloppy_analyze_error()
715 result->sense_key, result->asc, result->ascq); in idefloppy_analyze_error()
718 "ascq = %x\n", result->sense_key, in idefloppy_analyze_error()
1065 floppy->sense_key, in idefloppy_issue_pc()
1283 floppy->sense_key, floppy->asc, floppy->ascq); in idefloppy_do_request()
1644 if (floppy->sense_key == 2 && in idefloppy_get_format_progress()
Dide-tape.c850 unsigned sense_key :4; /* Sense Key */ member
863 unsigned sense_key :4;
952 u8 sense_key, asc, ascq; member
1664 tape->sense_key = result->sense_key; in idetape_analyze_error()
1675 pc->c[0], result->sense_key, in idetape_analyze_error()
1682 result->sense_key, in idetape_analyze_error()
1688 if (tape->onstream && result->sense_key == 2 && in idetape_analyze_error()
1709 if (result->eom || (result->sense_key == 0xd && in idetape_analyze_error()
1716 if (result->sense_key == 8) { in idetape_analyze_error()
1942 tape->sense.sense_key == 3) { in idetape_end_request()
[all …]
/linux-2.4.37.9/drivers/usb/storage/
Djumpshot.h34 unsigned char sense_key; member
Ddatafab.h35 unsigned char sense_key; member
Djumpshot.c780 ptr[2] = info->sense_key; in jumpshot_transport()
813 info->sense_key = NO_SENSE; in jumpshot_transport()
816 info->sense_key = UNIT_ATTENTION; in jumpshot_transport()
Ddatafab.c792 ptr[2] = info->sense_key; in datafab_transport()
825 info->sense_key = NO_SENSE; in datafab_transport()
828 info->sense_key = UNIT_ATTENTION; in datafab_transport()
/linux-2.4.37.9/drivers/scsi/aacraid/
Daachba.c185 u8 sense_key:4; /* Sense Key */ member
498 void set_sense(u8 *sense_buf, u8 sense_key, u8 sense_code, in set_sense() argument
507 sense_buf[2] = sense_key | 0x20; /* Set ILI bit | sense key */ in set_sense()
513 sense_buf[2] = sense_key; /* Sense key */ in set_sense()
515 if (sense_key == SENKEY_ILLEGAL) in set_sense()
522 if (sense_key == SENKEY_ILLEGAL) { in set_sense()
/linux-2.4.37.9/include/linux/
Dcdrom.h700 __u8 sense_key : 4; member
702 __u8 sense_key : 4; member
Dide.h633 unsigned sense_key :4; member
635 unsigned sense_key :4;
/linux-2.4.37.9/drivers/block/
Dida_cmd.h334 __u8 sense_key; member
Dcciss.c2264 unsigned char sense_key; in complete_command() local
2274 sense_key = 0xf & in complete_command()
2277 if ( sense_key == 0x1) in complete_command()
/linux-2.4.37.9/drivers/scsi/
Dgdth_ioctl.h167 unchar sense_key; member
Dosst.h94 unsigned sense_key :4; /* Sense Key */ member
/linux-2.4.37.9/drivers/cdrom/
Dcdrom.c1968 if (ret && sense.sense_key==0x05 && sense.asc==0x20 && sense.ascq==0x00) { in mmc_ioctl()