Home
last modified time | relevance | path

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

/drivers/ata/
Dlibata-zpodd.c106 u8 sense_key, *sense_buf; in zpready() local
115 sense_buf = dev->link->ap->sector_buf; in zpready()
116 ret = atapi_eh_request_sense(dev, sense_buf, sense_key); in zpready()
121 if ((sense_buf[0] & 0x7f) != 0x70) in zpready()
124 add_len = sense_buf[7]; in zpready()
129 asc = sense_buf[12]; in zpready()
130 ascq = sense_buf[13]; in zpready()
Dlibata.h189 u8 *sense_buf, u8 dfl_sense_key);
Dlibata-eh.c1628 u8 *sense_buf, u8 dfl_sense_key) in atapi_eh_request_sense() argument
1638 memset(sense_buf, 0, SCSI_SENSE_BUFFERSIZE); in atapi_eh_request_sense()
1643 sense_buf[0] = 0x70; in atapi_eh_request_sense()
1644 sense_buf[2] = dfl_sense_key; in atapi_eh_request_sense()
1663 sense_buf, SCSI_SENSE_BUFFERSIZE, 0); in atapi_eh_request_sense()
/drivers/scsi/
Dpmcraid.c2592 u8 *sense_buf = cmd->scsi_cmd->sense_buffer; in pmcraid_frame_auto_sense() local
2598 memset(sense_buf, 0, SCSI_SENSE_BUFFERSIZE); in pmcraid_frame_auto_sense()
2605 sense_buf[0] = 0x72; in pmcraid_frame_auto_sense()
2606 sense_buf[1] = PMCRAID_IOASC_SENSE_KEY(ioasc); in pmcraid_frame_auto_sense()
2607 sense_buf[2] = PMCRAID_IOASC_SENSE_CODE(ioasc); in pmcraid_frame_auto_sense()
2608 sense_buf[3] = PMCRAID_IOASC_SENSE_QUAL(ioasc); in pmcraid_frame_auto_sense()
2610 sense_buf[7] = 12; in pmcraid_frame_auto_sense()
2611 sense_buf[8] = 0; in pmcraid_frame_auto_sense()
2612 sense_buf[9] = 0x0A; in pmcraid_frame_auto_sense()
2613 sense_buf[10] = 0x80; in pmcraid_frame_auto_sense()
[all …]
Dipr.c5834 u8 *sense_buf = ipr_cmd->scsi_cmd->sense_buffer; in ipr_gen_sense() local
5839 memset(sense_buf, 0, SCSI_SENSE_BUFFERSIZE); in ipr_gen_sense()
5849 sense_buf[0] = 0x72; in ipr_gen_sense()
5850 sense_buf[1] = IPR_IOASC_SENSE_KEY(ioasc); in ipr_gen_sense()
5851 sense_buf[2] = IPR_IOASC_SENSE_CODE(ioasc); in ipr_gen_sense()
5852 sense_buf[3] = IPR_IOASC_SENSE_QUAL(ioasc); in ipr_gen_sense()
5854 sense_buf[7] = 12; in ipr_gen_sense()
5855 sense_buf[8] = 0; in ipr_gen_sense()
5856 sense_buf[9] = 0x0A; in ipr_gen_sense()
5857 sense_buf[10] = 0x80; in ipr_gen_sense()
[all …]
Dncr53c8xx.c1554 u_char sense_buf[64]; member
4965 memcpy(cmd->sense_buffer, cp->sense_buf, in ncr_complete()
4967 sizeof(cp->sense_buf))); in ncr_complete()
6637 cp->sensecmd[4] = sizeof(cp->sense_buf); in ncr_sir_to_redo()
6642 memset(cp->sense_buf, 0, sizeof(cp->sense_buf)); in ncr_sir_to_redo()
6643 cp->phys.sense.addr = cpu_to_scr(CCB_PHYS(cp,sense_buf[0])); in ncr_sir_to_redo()
6644 cp->phys.sense.size = cpu_to_scr(sizeof(cp->sense_buf)); in ncr_sir_to_redo()
/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()
/drivers/scsi/aacraid/
Daachba.c922 u8 *sense_buf = (u8 *)sense_data; in set_sense() local
924 sense_buf[0] = 0x70; /* No info field */ in set_sense()
925 sense_buf[1] = 0; /* Segment number, always zero */ in set_sense()
927 sense_buf[2] = sense_key; /* Sense key */ in set_sense()
929 sense_buf[12] = sense_code; /* Additional sense code */ in set_sense()
930 sense_buf[13] = a_sense_code; /* Additional sense code qualifier */ in set_sense()
933 sense_buf[7] = 10; /* Additional sense length */ in set_sense()
935 sense_buf[15] = bit_pointer; in set_sense()
938 sense_buf[15] |= 0xc0;/* Std sense key specific field */ in set_sense()
940 sense_buf[16] = field_pointer >> 8; /* MSB */ in set_sense()
[all …]
/drivers/target/sbp/
Dsbp_target.h229 unsigned char sense_buf[TRANSPORT_SENSE_BUFFER]; member
Dsbp_target.c1239 req->sense_buf, unpacked_lun, data_length, in sbp_handle_command()
1372 u8 *sense = req->sense_buf; in sbp_sense_mangle()