Home
last modified time | relevance | path

Searched refs:sense_buf (Results 1 – 21 of 21) 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.h182 u8 *sense_buf, u8 dfl_sense_key);
Dlibata-eh.c1641 u8 *sense_buf, u8 dfl_sense_key) in atapi_eh_request_sense() argument
1650 memset(sense_buf, 0, SCSI_SENSE_BUFFERSIZE); in atapi_eh_request_sense()
1655 sense_buf[0] = 0x70; in atapi_eh_request_sense()
1656 sense_buf[2] = dfl_sense_key; in atapi_eh_request_sense()
1675 sense_buf, SCSI_SENSE_BUFFERSIZE, 0); in atapi_eh_request_sense()
/drivers/scsi/
Dpmcraid.c2544 u8 *sense_buf = cmd->scsi_cmd->sense_buffer; in pmcraid_frame_auto_sense() local
2550 memset(sense_buf, 0, SCSI_SENSE_BUFFERSIZE); in pmcraid_frame_auto_sense()
2557 sense_buf[0] = 0x72; in pmcraid_frame_auto_sense()
2558 sense_buf[1] = PMCRAID_IOASC_SENSE_KEY(ioasc); in pmcraid_frame_auto_sense()
2559 sense_buf[2] = PMCRAID_IOASC_SENSE_CODE(ioasc); in pmcraid_frame_auto_sense()
2560 sense_buf[3] = PMCRAID_IOASC_SENSE_QUAL(ioasc); in pmcraid_frame_auto_sense()
2562 sense_buf[7] = 12; in pmcraid_frame_auto_sense()
2563 sense_buf[8] = 0; in pmcraid_frame_auto_sense()
2564 sense_buf[9] = 0x0A; in pmcraid_frame_auto_sense()
2565 sense_buf[10] = 0x80; in pmcraid_frame_auto_sense()
[all …]
Dipr.c6294 u8 *sense_buf = ipr_cmd->scsi_cmd->sense_buffer; in ipr_gen_sense() local
6299 memset(sense_buf, 0, SCSI_SENSE_BUFFERSIZE); in ipr_gen_sense()
6309 sense_buf[0] = 0x72; in ipr_gen_sense()
6310 sense_buf[1] = IPR_IOASC_SENSE_KEY(ioasc); in ipr_gen_sense()
6311 sense_buf[2] = IPR_IOASC_SENSE_CODE(ioasc); in ipr_gen_sense()
6312 sense_buf[3] = IPR_IOASC_SENSE_QUAL(ioasc); in ipr_gen_sense()
6314 sense_buf[7] = 12; in ipr_gen_sense()
6315 sense_buf[8] = 0; in ipr_gen_sense()
6316 sense_buf[9] = 0x0A; in ipr_gen_sense()
6317 sense_buf[10] = 0x80; in ipr_gen_sense()
[all …]
Dwd719x.h40 __le32 sense_buf; /* 36-39 Auto request sense buffer address */ member
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()
DBusLogic.c3039 dma_addr_t sense_buf; in blogic_qcmd_lck() local
3186 sense_buf = pci_map_single(adapter->pci_device, in blogic_qcmd_lck()
3189 if (dma_mapping_error(&adapter->pci_device->dev, sense_buf)) { in blogic_qcmd_lck()
3195 ccb->sensedata = sense_buf; in blogic_qcmd_lck()
Dwd719x.c247 scb->sense_buf = cpu_to_le32(cmd->SCp.dma_handle); in wd719x_queuecommand()
/drivers/ide/
Dide-floppy_ioctl.c203 u8 sense_buf[18]; in ide_floppy_get_format_progress() local
208 if (ide_queue_pc_tail(drive, floppy->disk, pc, sense_buf, in ide_floppy_get_format_progress()
/drivers/scsi/cxlflash/
Dvlun.c428 u8 *sense_buf = NULL; in write_same16() local
440 sense_buf = kzalloc(SCSI_SENSE_BUFFERSIZE, GFP_KERNEL); in write_same16()
441 if (unlikely(!cmd_buf || !scsi_cmd || !sense_buf)) { in write_same16()
457 CMD_BUFSIZE, sense_buf, NULL, to, in write_same16()
482 kfree(sense_buf); in write_same16()
Dsuperpipe.c327 u8 *sense_buf = NULL; in read_cap16() local
336 sense_buf = kzalloc(SCSI_SENSE_BUFFERSIZE, GFP_KERNEL); in read_cap16()
337 if (unlikely(!cmd_buf || !scsi_cmd || !sense_buf)) { in read_cap16()
352 CMD_BUFSIZE, sense_buf, &sshdr, to, CMD_RETRIES, in read_cap16()
383 kfree(sense_buf); in read_cap16()
414 kfree(sense_buf); in read_cap16()
/drivers/scsi/esas2r/
Desas2r_int.c888 if (rq->sense_buf) in esas2r_check_req_rsp_sense()
889 memcpy(rq->sense_buf, rq->data_buf, snslen); in esas2r_check_req_rsp_sense()
891 rq->sense_buf = (u8 *)rq->data_buf; in esas2r_check_req_rsp_sense()
Desas2r_main.c914 rq->sense_buf = cmd->sense_buffer; in esas2r_queuecommand()
1271 rq->sense_buf[2], rq->sense_buf[12], in esas2r_log_request_failure()
1272 rq->sense_buf[13], in esas2r_log_request_failure()
Desas2r.h657 u8 *sense_buf; member
Desas2r_ioctl.c1021 rq->sense_buf = (u8 *)spt->sense_data; in hba_ioctl_callback()
/drivers/target/sbp/
Dsbp_target.h221 unsigned char sense_buf[TRANSPORT_SENSE_BUFFER]; member
Dsbp_target.c1236 req->sense_buf, unpacked_lun, data_length, in sbp_handle_command()
1375 u8 *sense = req->sense_buf; in sbp_sense_mangle()
/drivers/scsi/aacraid/
Daachba.c1178 u8 *sense_buf = (u8 *)sense_data; in set_sense() local
1180 sense_buf[0] = 0x70; /* No info field */ in set_sense()
1181 sense_buf[1] = 0; /* Segment number, always zero */ in set_sense()
1183 sense_buf[2] = sense_key; /* Sense key */ in set_sense()
1185 sense_buf[12] = sense_code; /* Additional sense code */ in set_sense()
1186 sense_buf[13] = a_sense_code; /* Additional sense code qualifier */ in set_sense()
1189 sense_buf[7] = 10; /* Additional sense length */ in set_sense()
1191 sense_buf[15] = bit_pointer; in set_sense()
1194 sense_buf[15] |= 0xc0;/* Std sense key specific field */ in set_sense()
1196 sense_buf[16] = field_pointer >> 8; /* MSB */ in set_sense()
[all …]
/drivers/scsi/ibmvscsi_tgt/
Dibmvscsi_tgt.h173 unsigned char sense_buf[TRANSPORT_SENSE_BUFFER]; member
Dibmvscsi_tgt.c2732 cmd->sense_buf, scsilun_to_int(&srp->lun), in ibmvscsis_parse_cmd()