Home
last modified time | relevance | path

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

/linux-6.1.9/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.h164 u8 *sense_buf, u8 dfl_sense_key);
Dlibata-eh.c1455 u8 *sense_buf, u8 dfl_sense_key) in atapi_eh_request_sense() argument
1462 memset(sense_buf, 0, SCSI_SENSE_BUFFERSIZE); in atapi_eh_request_sense()
1467 sense_buf[0] = 0x70; in atapi_eh_request_sense()
1468 sense_buf[2] = dfl_sense_key; in atapi_eh_request_sense()
1487 sense_buf, SCSI_SENSE_BUFFERSIZE, 0); in atapi_eh_request_sense()
/linux-6.1.9/drivers/scsi/
Dpmcraid.c2506 u8 *sense_buf = cmd->scsi_cmd->sense_buffer; in pmcraid_frame_auto_sense() local
2512 memset(sense_buf, 0, SCSI_SENSE_BUFFERSIZE); in pmcraid_frame_auto_sense()
2519 sense_buf[0] = 0x72; in pmcraid_frame_auto_sense()
2520 sense_buf[1] = PMCRAID_IOASC_SENSE_KEY(ioasc); in pmcraid_frame_auto_sense()
2521 sense_buf[2] = PMCRAID_IOASC_SENSE_CODE(ioasc); in pmcraid_frame_auto_sense()
2522 sense_buf[3] = PMCRAID_IOASC_SENSE_QUAL(ioasc); in pmcraid_frame_auto_sense()
2524 sense_buf[7] = 12; in pmcraid_frame_auto_sense()
2525 sense_buf[8] = 0; in pmcraid_frame_auto_sense()
2526 sense_buf[9] = 0x0A; in pmcraid_frame_auto_sense()
2527 sense_buf[10] = 0x80; in pmcraid_frame_auto_sense()
[all …]
Dwd719x.h40 __le32 sense_buf; /* 36-39 Auto request sense buffer address */ member
Dipr.c6298 u8 *sense_buf = ipr_cmd->scsi_cmd->sense_buffer; in ipr_gen_sense() local
6303 memset(sense_buf, 0, SCSI_SENSE_BUFFERSIZE); in ipr_gen_sense()
6313 sense_buf[0] = 0x72; in ipr_gen_sense()
6314 sense_buf[1] = IPR_IOASC_SENSE_KEY(ioasc); in ipr_gen_sense()
6315 sense_buf[2] = IPR_IOASC_SENSE_CODE(ioasc); in ipr_gen_sense()
6316 sense_buf[3] = IPR_IOASC_SENSE_QUAL(ioasc); in ipr_gen_sense()
6318 sense_buf[7] = 12; in ipr_gen_sense()
6319 sense_buf[8] = 0; in ipr_gen_sense()
6320 sense_buf[9] = 0x0A; in ipr_gen_sense()
6321 sense_buf[10] = 0x80; in ipr_gen_sense()
[all …]
Dncr53c8xx.c1539 u_char sense_buf[64]; member
4811 memcpy(cmd->sense_buffer, cp->sense_buf, in ncr_complete()
4813 sizeof(cp->sense_buf))); in ncr_complete()
6462 cp->sensecmd[4] = sizeof(cp->sense_buf); in ncr_sir_to_redo()
6467 memset(cp->sense_buf, 0, sizeof(cp->sense_buf)); in ncr_sir_to_redo()
6468 cp->phys.sense.addr = cpu_to_scr(CCB_PHYS(cp,sense_buf[0])); in ncr_sir_to_redo()
6469 cp->phys.sense.size = cpu_to_scr(sizeof(cp->sense_buf)); in ncr_sir_to_redo()
DBusLogic.c2895 dma_addr_t sense_buf; in blogic_qcmd_lck() local
3042 sense_buf = dma_map_single(&adapter->pci_device->dev, in blogic_qcmd_lck()
3045 if (dma_mapping_error(&adapter->pci_device->dev, sense_buf)) { in blogic_qcmd_lck()
3051 ccb->sensedata = sense_buf; in blogic_qcmd_lck()
Dwd719x.c236 scb->sense_buf = cpu_to_le32(scb->dma_handle); in wd719x_queuecommand()
/linux-6.1.9/drivers/scsi/esas2r/
Desas2r_int.c890 if (rq->sense_buf) in esas2r_check_req_rsp_sense()
891 memcpy(rq->sense_buf, rq->data_buf, snslen); in esas2r_check_req_rsp_sense()
893 rq->sense_buf = (u8 *)rq->data_buf; in esas2r_check_req_rsp_sense()
Desas2r_main.c855 rq->sense_buf = cmd->sense_buffer; in esas2r_queuecommand()
1208 rq->sense_buf[2], rq->sense_buf[12], in esas2r_log_request_failure()
1209 rq->sense_buf[13], in esas2r_log_request_failure()
Desas2r.h657 u8 *sense_buf; member
Desas2r_ioctl.c1016 rq->sense_buf = (u8 *)spt->sense_data; in hba_ioctl_callback()
/linux-6.1.9/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()
1358 u8 *sense = req->sense_buf; in sbp_sense_mangle()
/linux-6.1.9/drivers/scsi/ibmvscsi_tgt/
Dibmvscsi_tgt.h164 unsigned char sense_buf[TRANSPORT_SENSE_BUFFER]; member
Dibmvscsi_tgt.c2726 cmd->sense_buf, scsilun_to_int(&srp->lun), in ibmvscsis_parse_cmd()
/linux-6.1.9/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 …]
/linux-6.1.9/drivers/scsi/mpi3mr/
Dmpi3mr_fw.c133 return mrioc->sense_buf + (phys_addr - mrioc->sense_buf_dma); in mpi3mr_get_sensebuf_virt_addr()
352 u8 *sense_buf = NULL; in mpi3mr_process_admin_reply_desc() local
381 sense_buf = mpi3mr_get_sensebuf_virt_addr(mrioc, in mpi3mr_process_admin_reply_desc()
413 if (sense_buf) in mpi3mr_process_admin_reply_desc()
3026 mrioc->sense_buf = dma_pool_zalloc(mrioc->sense_buf_pool, GFP_KERNEL, in mpi3mr_alloc_reply_sense_bufs()
3028 if (!mrioc->sense_buf) in mpi3mr_alloc_reply_sense_bufs()
3079 mrioc->sense_buf, mrioc->num_sense_bufs, MPI3MR_SENSE_BUF_SZ, in mpimr_initialize_reply_sbuf_queues()
4250 if (mrioc->sense_buf) in mpi3mr_free_mem()
4251 dma_pool_free(mrioc->sense_buf_pool, mrioc->sense_buf, in mpi3mr_free_mem()
4254 mrioc->sense_buf = NULL; in mpi3mr_free_mem()
Dmpi3mr_os.c3069 u8 *sense_buf = NULL; in mpi3mr_process_op_reply_desc() local
3112 sense_buf = mpi3mr_get_sensebuf_virt_addr(mrioc, in mpi3mr_process_op_reply_desc()
3193 sense_buf) { in mpi3mr_process_op_reply_desc()
3196 memcpy(scmd->sense_buffer, sense_buf, sz); in mpi3mr_process_op_reply_desc()
3280 if (sense_buf) { in mpi3mr_process_op_reply_desc()
3281 scsi_normalize_sense(sense_buf, sense_count, &sshdr); in mpi3mr_process_op_reply_desc()
3297 if (sense_buf) in mpi3mr_process_op_reply_desc()
Dmpi3mr.h1097 u8 *sense_buf; member