Home
last modified time | relevance | path

Searched refs:sense_data (Results 1 – 25 of 54) sorted by relevance

123

/drivers/usb/storage/
Dsddr55.c80 info->sense_data[2] = sk; \
81 info->sense_data[12] = asc; \
82 info->sense_data[13] = ascq; \
100 unsigned char sense_data[18]; member
807 info->sense_data[2], in sddr55_transport()
808 info->sense_data[12], in sddr55_transport()
809 info->sense_data[13]); in sddr55_transport()
811 memcpy (ptr, info->sense_data, sizeof info->sense_data); in sddr55_transport()
814 usb_stor_set_xfer_buf (ptr, sizeof info->sense_data, srb); in sddr55_transport()
815 memset (info->sense_data, 0, sizeof info->sense_data); in sddr55_transport()
[all …]
Disd200.c367 struct sense_data { struct
402 struct sense_data *buf = (struct sense_data *) &srb->sense_buffer[0]; in isd200_build_sense()
/drivers/usb/gadget/function/
Df_mass_storage.c662 curlun->sense_data = SS_INVALID_FIELD_IN_CDB; in do_read()
667 curlun->sense_data = SS_LOGICAL_BLOCK_ADDRESS_OUT_OF_RANGE; in do_read()
699 curlun->sense_data = in do_read()
740 curlun->sense_data = SS_UNRECOVERED_READ_ERROR; in do_read()
777 curlun->sense_data = SS_WRITE_PROTECTED; in do_write()
800 curlun->sense_data = SS_INVALID_FIELD_IN_CDB; in do_write()
810 curlun->sense_data = SS_LOGICAL_BLOCK_ADDRESS_OUT_OF_RANGE; in do_write()
836 curlun->sense_data = in do_write()
879 curlun->sense_data = SS_COMMUNICATION_FAILURE; in do_write()
929 curlun->sense_data = SS_WRITE_ERROR; in do_write()
[all …]
Dstorage_common.h112 u32 sense_data; member
/drivers/scsi/aacraid/
Daachba.c660 fsa_dev_ptr->sense_data.sense_key = NOT_READY; in _aac_probe_container2()
661 else if (fsa_dev_ptr->sense_data.sense_key == NOT_READY) in _aac_probe_container2()
662 fsa_dev_ptr->sense_data.sense_key = NO_SENSE; in _aac_probe_container2()
1162 static inline void set_sense(struct sense_data *sense_data, u8 sense_key, in set_sense() argument
1165 u8 *sense_buf = (u8 *)sense_data; in set_sense()
1196 set_sense(&dev->fsa_dev[cid].sense_data, in aac_bounds_32()
1199 memcpy(cmd->sense_buffer, &dev->fsa_dev[cid].sense_data, in aac_bounds_32()
1200 min_t(size_t, sizeof(dev->fsa_dev[cid].sense_data), in aac_bounds_32()
2369 dev->fsa_dev[cid].sense_data.sense_key = NO_SENSE; in io_callback()
2374 set_sense(&dev->fsa_dev[cid].sense_data, NOT_READY, in io_callback()
[all …]
Daacraid.h1239 struct sense_data { struct
1288 struct sense_data sense_data; argument
2027 u8 sense_data[AAC_SENSE_BUFFERSIZE]; // Can this be SCSI_SENSE_BUFFERSIZE member
Dcommctrl.c958 memset(reply.sense_data, 0, AAC_SENSE_BUFFERSIZE); in aac_send_raw_srb()
965 memcpy(reply.sense_data, err->sense_response_buf, in aac_send_raw_srb()
/drivers/firewire/
Dsbp2.c1289 static unsigned int sbp2_status_to_sense_data(u8 *sbp2_status, u8 *sense_data) in sbp2_status_to_sense_data() argument
1302 sense_data[0] = 0x70 | sfmt | (sbp2_status[1] & 0x80); in sbp2_status_to_sense_data()
1303 sense_data[1] = 0x0; in sbp2_status_to_sense_data()
1304 sense_data[2] = ((sbp2_status[1] << 1) & 0xe0) | (sbp2_status[1] & 0x0f); in sbp2_status_to_sense_data()
1305 sense_data[3] = sbp2_status[4]; in sbp2_status_to_sense_data()
1306 sense_data[4] = sbp2_status[5]; in sbp2_status_to_sense_data()
1307 sense_data[5] = sbp2_status[6]; in sbp2_status_to_sense_data()
1308 sense_data[6] = sbp2_status[7]; in sbp2_status_to_sense_data()
1309 sense_data[7] = 10; in sbp2_status_to_sense_data()
1310 sense_data[8] = sbp2_status[8]; in sbp2_status_to_sense_data()
[all …]
/drivers/scsi/
Dgdth_ioctl.h96 u32 sense_data; /* sense data addr. */ member
115 u64 sense_data; /* sense data addr. */ member
Dqla1280.h753 uint8_t sense_data[18]; member
797 uint8_t sense_data[18]; member
860 uint8_t sense_data[18]; member
917 uint8_t sense_data[18]; member
D3w-sas.h255 unsigned char sense_data[TW_SENSE_DATA_LENGTH]; member
D3w-9xxx.h524 unsigned char sense_data[TW_SENSE_DATA_LENGTH]; member
Dmvumi.h146 u8 sense_data[30]; member
/drivers/scsi/libsas/
Dsas_task.c27 memcpy(tstat->buf, iu->sense_data, tstat->buf_valid_size); in sas_ssp_task_response()
/drivers/message/fusion/
Dmptscsih.c2419 u8 *sense_data; in mptscsih_copy_sense_data() local
2424 sense_data = ((u8 *)ioc->sense_buf_pool + (req_index * MPT_SENSE_BUFFER_ALLOC)); in mptscsih_copy_sense_data()
2425 memcpy(sc->sense_buffer, sense_data, MPT_SENSE_BUFFER_ALLOC); in mptscsih_copy_sense_data()
2430 if ((sense_data[12] == 0x5D) && (vdevice->vtarget->raidVolume == 0)) { in mptscsih_copy_sense_data()
2441 ioc->events[idx].data[1] = (sense_data[13] << 8) | sense_data[12]; in mptscsih_copy_sense_data()
2630 u8 *sense_data; in mptscsih_scandv_complete() local
2650 sense_data = ((u8 *)ioc->sense_buf_pool + in mptscsih_scandv_complete()
2654 memcpy(ioc->internal_cmds.sense, sense_data, sz); in mptscsih_scandv_complete()
/drivers/infiniband/ulp/srpt/
Dib_srpt.h229 u8 sense_data[TRANSPORT_SENSE_BUFFER]; member
Dib_srpt.c1247 memset(&ioctx->sense_data, 0, sizeof(ioctx->sense_data)); in srpt_get_send_ioctx()
1376 const u8 *sense_data; in srpt_build_cmd_rsp() local
1389 sense_data = ioctx->sense_data; in srpt_build_cmd_rsp()
1391 WARN_ON(sense_data_len > sizeof(ioctx->sense_data)); in srpt_build_cmd_rsp()
1433 memcpy(srp_rsp + 1, sense_data, sense_data_len); in srpt_build_cmd_rsp()
1538 &send_ioctx->sense_data[0], in srpt_handle_cmd()
2932 BUG_ON(ioctx->sense_data != cmd->sense_buffer); in srpt_queue_status()
/drivers/scsi/aic7xxx/
Daic79xx_inline.h160 return (scb->sense_data); in ahd_get_sense_buf()
/drivers/staging/unisys/include/
Diochannel.h304 struct sense_data { struct
/drivers/scsi/cxlflash/
Dsislite.h204 u8 sense_data[SISL_SENSE_DATA_LEN]; member
/drivers/scsi/ufs/
Dufs.h474 u8 sense_data[UFS_SENSE_SIZE]; member
/drivers/scsi/esas2r/
Datioctl.h869 u8 sense_data[0xFC]; member
1038 u8 sense_data[80]; member
/drivers/scsi/qla2xxx/
Dqla_isr.c2517 qla2x00_handle_sense(srb_t *sp, uint8_t *sense_data, uint32_t par_sense_len, in qla2x00_handle_sense() argument
2534 memcpy(cp->sense_buffer, sense_data, sense_len); in qla2x00_handle_sense()
2858 uint8_t *rsp_info, *sense_data; in qla2x00_status_entry() local
2974 sense_data = sts24->data; in qla2x00_status_entry()
2986 sense_data = sts->req_sense_data; in qla2x00_status_entry()
2994 sense_data += rsp_info_len; in qla2x00_status_entry()
3060 qla2x00_handle_sense(sp, sense_data, par_sense_len, sense_len, in qla2x00_status_entry()
3129 qla2x00_handle_sense(sp, sense_data, par_sense_len, in qla2x00_status_entry()
Dqla_mr.c2102 qlafx00_handle_sense(srb_t *sp, uint8_t *sense_data, uint32_t par_sense_len, in qlafx00_handle_sense() argument
2121 memcpy(cp->sense_buffer, sense_data, sense_len); in qlafx00_handle_sense()
2261 uint8_t *rsp_info = NULL, *sense_data = NULL; in qlafx00_status_entry() local
2330 rsp_info = sense_data = sts->data; in qlafx00_status_entry()
2381 qlafx00_handle_sense(sp, sense_data, par_sense_len, sense_len, in qlafx00_status_entry()
2463 qlafx00_handle_sense(sp, sense_data, par_sense_len, in qlafx00_status_entry()
/drivers/scsi/qedf/
Dqedf_io.c1064 uint8_t *rsp_info, *sense_data; in qedf_parse_fcp_rsp() local
1086 rsp_info = sense_data = io_req->sense_buffer; in qedf_parse_fcp_rsp()
1095 sense_data += fcp_rsp_len; in qedf_parse_fcp_rsp()
1108 memcpy(sc_cmd->sense_buffer, sense_data, in qedf_parse_fcp_rsp()

123