Home
last modified time | relevance | path

Searched refs:sense_buf (Results 1 – 6 of 6) sorted by relevance

/linux-2.6.39/drivers/scsi/
Dpmcraid.c2593 u8 *sense_buf = cmd->scsi_cmd->sense_buffer; in pmcraid_frame_auto_sense() local
2599 memset(sense_buf, 0, SCSI_SENSE_BUFFERSIZE); in pmcraid_frame_auto_sense()
2606 sense_buf[0] = 0x72; in pmcraid_frame_auto_sense()
2607 sense_buf[1] = PMCRAID_IOASC_SENSE_KEY(ioasc); in pmcraid_frame_auto_sense()
2608 sense_buf[2] = PMCRAID_IOASC_SENSE_CODE(ioasc); in pmcraid_frame_auto_sense()
2609 sense_buf[3] = PMCRAID_IOASC_SENSE_QUAL(ioasc); in pmcraid_frame_auto_sense()
2611 sense_buf[7] = 12; in pmcraid_frame_auto_sense()
2612 sense_buf[8] = 0; in pmcraid_frame_auto_sense()
2613 sense_buf[9] = 0x0A; in pmcraid_frame_auto_sense()
2614 sense_buf[10] = 0x80; in pmcraid_frame_auto_sense()
[all …]
Dipr.c5479 u8 *sense_buf = ipr_cmd->scsi_cmd->sense_buffer; in ipr_gen_sense() local
5484 memset(sense_buf, 0, SCSI_SENSE_BUFFERSIZE); in ipr_gen_sense()
5494 sense_buf[0] = 0x72; in ipr_gen_sense()
5495 sense_buf[1] = IPR_IOASC_SENSE_KEY(ioasc); in ipr_gen_sense()
5496 sense_buf[2] = IPR_IOASC_SENSE_CODE(ioasc); in ipr_gen_sense()
5497 sense_buf[3] = IPR_IOASC_SENSE_QUAL(ioasc); in ipr_gen_sense()
5499 sense_buf[7] = 12; in ipr_gen_sense()
5500 sense_buf[8] = 0; in ipr_gen_sense()
5501 sense_buf[9] = 0x0A; in ipr_gen_sense()
5502 sense_buf[10] = 0x80; in ipr_gen_sense()
[all …]
Dncr53c8xx.c1555 u_char sense_buf[64]; member
4966 memcpy(cmd->sense_buffer, cp->sense_buf, in ncr_complete()
4968 sizeof(cp->sense_buf))); in ncr_complete()
6638 cp->sensecmd[4] = sizeof(cp->sense_buf); in ncr_sir_to_redo()
6643 memset(cp->sense_buf, 0, sizeof(cp->sense_buf)); in ncr_sir_to_redo()
6644 cp->phys.sense.addr = cpu_to_scr(CCB_PHYS(cp,sense_buf[0])); in ncr_sir_to_redo()
6645 cp->phys.sense.size = cpu_to_scr(sizeof(cp->sense_buf)); in ncr_sir_to_redo()
/linux-2.6.39/drivers/ide/
Dide-floppy_ioctl.c202 u8 sense_buf[18]; in ide_floppy_get_format_progress() local
207 if (ide_queue_pc_tail(drive, floppy->disk, pc, sense_buf, in ide_floppy_get_format_progress()
/linux-2.6.39/drivers/scsi/aacraid/
Daachba.c909 u8 *sense_buf = (u8 *)sense_data; in set_sense() local
911 sense_buf[0] = 0x70; /* No info field */ in set_sense()
912 sense_buf[1] = 0; /* Segment number, always zero */ in set_sense()
914 sense_buf[2] = sense_key; /* Sense key */ in set_sense()
916 sense_buf[12] = sense_code; /* Additional sense code */ in set_sense()
917 sense_buf[13] = a_sense_code; /* Additional sense code qualifier */ in set_sense()
920 sense_buf[7] = 10; /* Additional sense length */ in set_sense()
922 sense_buf[15] = bit_pointer; in set_sense()
925 sense_buf[15] |= 0xc0;/* Std sense key specific field */ in set_sense()
927 sense_buf[16] = field_pointer >> 8; /* MSB */ in set_sense()
[all …]
/linux-2.6.39/drivers/ata/
Dlibata-eh.c1588 u8 *sense_buf, u8 dfl_sense_key) in atapi_eh_request_sense() argument
1598 memset(sense_buf, 0, SCSI_SENSE_BUFFERSIZE); in atapi_eh_request_sense()
1603 sense_buf[0] = 0x70; in atapi_eh_request_sense()
1604 sense_buf[2] = dfl_sense_key; in atapi_eh_request_sense()
1623 sense_buf, SCSI_SENSE_BUFFERSIZE, 0); in atapi_eh_request_sense()