Home
last modified time | relevance | path

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

/Linux-v5.10/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.h185 u8 *sense_buf, u8 dfl_sense_key);
Dlibata-eh.c1451 u8 *sense_buf, u8 dfl_sense_key) in atapi_eh_request_sense() argument
1460 memset(sense_buf, 0, SCSI_SENSE_BUFFERSIZE); in atapi_eh_request_sense()
1465 sense_buf[0] = 0x70; in atapi_eh_request_sense()
1466 sense_buf[2] = dfl_sense_key; in atapi_eh_request_sense()
1485 sense_buf, SCSI_SENSE_BUFFERSIZE, 0); in atapi_eh_request_sense()
/Linux-v5.10/drivers/scsi/
Dpmcraid.c2513 u8 *sense_buf = cmd->scsi_cmd->sense_buffer; in pmcraid_frame_auto_sense() local
2519 memset(sense_buf, 0, SCSI_SENSE_BUFFERSIZE); in pmcraid_frame_auto_sense()
2526 sense_buf[0] = 0x72; in pmcraid_frame_auto_sense()
2527 sense_buf[1] = PMCRAID_IOASC_SENSE_KEY(ioasc); in pmcraid_frame_auto_sense()
2528 sense_buf[2] = PMCRAID_IOASC_SENSE_CODE(ioasc); in pmcraid_frame_auto_sense()
2529 sense_buf[3] = PMCRAID_IOASC_SENSE_QUAL(ioasc); in pmcraid_frame_auto_sense()
2531 sense_buf[7] = 12; in pmcraid_frame_auto_sense()
2532 sense_buf[8] = 0; in pmcraid_frame_auto_sense()
2533 sense_buf[9] = 0x0A; in pmcraid_frame_auto_sense()
2534 sense_buf[10] = 0x80; in pmcraid_frame_auto_sense()
[all …]
Dwd719x.h40 __le32 sense_buf; /* 36-39 Auto request sense buffer address */ member
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 …]
Dncr53c8xx.c1542 u_char sense_buf[64]; member
4956 memcpy(cmd->sense_buffer, cp->sense_buf, in ncr_complete()
4958 sizeof(cp->sense_buf))); in ncr_complete()
6628 cp->sensecmd[4] = sizeof(cp->sense_buf); in ncr_sir_to_redo()
6633 memset(cp->sense_buf, 0, sizeof(cp->sense_buf)); in ncr_sir_to_redo()
6634 cp->phys.sense.addr = cpu_to_scr(CCB_PHYS(cp,sense_buf[0])); in ncr_sir_to_redo()
6635 cp->phys.sense.size = cpu_to_scr(sizeof(cp->sense_buf)); in ncr_sir_to_redo()
DBusLogic.c3036 dma_addr_t sense_buf; in blogic_qcmd_lck() local
3183 sense_buf = dma_map_single(&adapter->pci_device->dev, in blogic_qcmd_lck()
3186 if (dma_mapping_error(&adapter->pci_device->dev, sense_buf)) { in blogic_qcmd_lck()
3192 ccb->sensedata = sense_buf; in blogic_qcmd_lck()
Dwd719x.c236 scb->sense_buf = cpu_to_le32(cmd->SCp.dma_handle); in wd719x_queuecommand()
/Linux-v5.10/drivers/ide/
Dide-floppy_ioctl.c204 u8 sense_buf[18]; in ide_floppy_get_format_progress() local
209 if (ide_queue_pc_tail(drive, floppy->disk, pc, sense_buf, in ide_floppy_get_format_progress()
/Linux-v5.10/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.c856 rq->sense_buf = cmd->sense_buffer; in esas2r_queuecommand()
1213 rq->sense_buf[2], rq->sense_buf[12], in esas2r_log_request_failure()
1214 rq->sense_buf[13], in esas2r_log_request_failure()
Desas2r.h657 u8 *sense_buf; member
Desas2r_ioctl.c1017 rq->sense_buf = (u8 *)spt->sense_data; in hba_ioctl_callback()
/Linux-v5.10/drivers/target/sbp/
Dsbp_target.h221 unsigned char sense_buf[TRANSPORT_SENSE_BUFFER]; member
Dsbp_target.c1222 req->sense_buf, unpacked_lun, data_length, in sbp_handle_command()
1361 u8 *sense = req->sense_buf; in sbp_sense_mangle()
/Linux-v5.10/drivers/scsi/ibmvscsi_tgt/
Dibmvscsi_tgt.h164 unsigned char sense_buf[TRANSPORT_SENSE_BUFFER]; member
Dibmvscsi_tgt.c2729 cmd->sense_buf, scsilun_to_int(&srp->lun), in ibmvscsis_parse_cmd()
/Linux-v5.10/drivers/scsi/aacraid/
Daachba.c1165 u8 *sense_buf = (u8 *)sense_data; in set_sense() local
1167 sense_buf[0] = 0x70; /* No info field */ in set_sense()
1168 sense_buf[1] = 0; /* Segment number, always zero */ in set_sense()
1170 sense_buf[2] = sense_key; /* Sense key */ in set_sense()
1172 sense_buf[12] = sense_code; /* Additional sense code */ in set_sense()
1173 sense_buf[13] = a_sense_code; /* Additional sense code qualifier */ in set_sense()
1176 sense_buf[7] = 10; /* Additional sense length */ in set_sense()
1178 sense_buf[15] = bit_pointer; in set_sense()
1181 sense_buf[15] |= 0xc0;/* Std sense key specific field */ in set_sense()
1183 sense_buf[16] = field_pointer >> 8; /* MSB */ in set_sense()
[all …]