Home
last modified time | relevance | path

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

123

/Linux-v4.19/drivers/usb/storage/
Dsddr55.c79 info->sense_data[2] = sk; \
80 info->sense_data[12] = asc; \
81 info->sense_data[13] = ascq; \
99 unsigned char sense_data[18]; member
806 info->sense_data[2], in sddr55_transport()
807 info->sense_data[12], in sddr55_transport()
808 info->sense_data[13]); in sddr55_transport()
810 memcpy (ptr, info->sense_data, sizeof info->sense_data); in sddr55_transport()
813 usb_stor_set_xfer_buf (ptr, sizeof info->sense_data, srb); in sddr55_transport()
814 memset (info->sense_data, 0, sizeof info->sense_data); in sddr55_transport()
[all …]
Disd200.c366 struct sense_data { struct
401 struct sense_data *buf = (struct sense_data *) &srb->sense_buffer[0]; in isd200_build_sense()
/Linux-v4.19/drivers/usb/gadget/function/
Df_mass_storage.c638 curlun->sense_data = SS_INVALID_FIELD_IN_CDB; in do_read()
643 curlun->sense_data = SS_LOGICAL_BLOCK_ADDRESS_OUT_OF_RANGE; in do_read()
675 curlun->sense_data = in do_read()
716 curlun->sense_data = SS_UNRECOVERED_READ_ERROR; in do_read()
753 curlun->sense_data = SS_WRITE_PROTECTED; in do_write()
776 curlun->sense_data = SS_INVALID_FIELD_IN_CDB; in do_write()
786 curlun->sense_data = SS_LOGICAL_BLOCK_ADDRESS_OUT_OF_RANGE; in do_write()
812 curlun->sense_data = in do_write()
855 curlun->sense_data = SS_COMMUNICATION_FAILURE; in do_write()
905 curlun->sense_data = SS_WRITE_ERROR; in do_write()
[all …]
Dstorage_common.h112 u32 sense_data; member
/Linux-v4.19/drivers/firewire/
Dsbp2.c1305 static unsigned int sbp2_status_to_sense_data(u8 *sbp2_status, u8 *sense_data) in sbp2_status_to_sense_data() argument
1318 sense_data[0] = 0x70 | sfmt | (sbp2_status[1] & 0x80); in sbp2_status_to_sense_data()
1319 sense_data[1] = 0x0; in sbp2_status_to_sense_data()
1320 sense_data[2] = ((sbp2_status[1] << 1) & 0xe0) | (sbp2_status[1] & 0x0f); in sbp2_status_to_sense_data()
1321 sense_data[3] = sbp2_status[4]; in sbp2_status_to_sense_data()
1322 sense_data[4] = sbp2_status[5]; in sbp2_status_to_sense_data()
1323 sense_data[5] = sbp2_status[6]; in sbp2_status_to_sense_data()
1324 sense_data[6] = sbp2_status[7]; in sbp2_status_to_sense_data()
1325 sense_data[7] = 10; in sbp2_status_to_sense_data()
1326 sense_data[8] = sbp2_status[8]; in sbp2_status_to_sense_data()
[all …]
/Linux-v4.19/drivers/scsi/aacraid/
Daachba.c673 fsa_dev_ptr->sense_data.sense_key = NOT_READY; in _aac_probe_container2()
674 else if (fsa_dev_ptr->sense_data.sense_key == NOT_READY) in _aac_probe_container2()
675 fsa_dev_ptr->sense_data.sense_key = NO_SENSE; in _aac_probe_container2()
1172 static inline void set_sense(struct sense_data *sense_data, u8 sense_key, in set_sense() argument
1175 u8 *sense_buf = (u8 *)sense_data; in set_sense()
1206 set_sense(&dev->fsa_dev[cid].sense_data, in aac_bounds_32()
1209 memcpy(cmd->sense_buffer, &dev->fsa_dev[cid].sense_data, in aac_bounds_32()
1210 min_t(size_t, sizeof(dev->fsa_dev[cid].sense_data), in aac_bounds_32()
2380 dev->fsa_dev[cid].sense_data.sense_key = NO_SENSE; in io_callback()
2385 set_sense(&dev->fsa_dev[cid].sense_data, NOT_READY, in io_callback()
[all …]
/Linux-v4.19/include/trace/events/
Dtarget.h181 __array( unsigned char, sense_data, 18 )
194 memcpy(__entry->sense_data, cmd->sense_buffer, __entry->sense_length);
202 __print_hex(__entry->sense_data, __entry->sense_length),
/Linux-v4.19/drivers/scsi/libsas/
Dsas_task.c23 memcpy(tstat->buf, iu->sense_data, tstat->buf_valid_size); in sas_ssp_task_response()
/Linux-v4.19/drivers/scsi/
Dgdth_ioctl.h100 u32 sense_data; /* sense data addr. */ member
119 u64 sense_data; /* sense data addr. */ member
Dqla1280.h760 uint8_t sense_data[18]; member
804 uint8_t sense_data[18]; member
867 uint8_t sense_data[18]; member
924 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.h162 u8 sense_data[30]; member
/Linux-v4.19/drivers/infiniband/ulp/srpt/
Dib_srpt.h223 u8 sense_data[TRANSPORT_SENSE_BUFFER]; member
Dib_srpt.c1202 memset(&ioctx->sense_data, 0, sizeof(ioctx->sense_data)); in srpt_get_send_ioctx()
1328 const u8 *sense_data; in srpt_build_cmd_rsp() local
1340 sense_data = ioctx->sense_data; in srpt_build_cmd_rsp()
1342 WARN_ON(sense_data_len > sizeof(ioctx->sense_data)); in srpt_build_cmd_rsp()
1362 memcpy(srp_rsp + 1, sense_data, sense_data_len); in srpt_build_cmd_rsp()
1467 &send_ioctx->sense_data[0], in srpt_handle_cmd()
2797 BUG_ON(ioctx->sense_data != cmd->sense_buffer); in srpt_queue_status()
/Linux-v4.19/drivers/scsi/aic7xxx/
Daic79xx_inline.h160 return (scb->sense_data); in ahd_get_sense_buf()
/Linux-v4.19/include/scsi/
Dsrp.h289 u8 sense_data[0]; member
Dsas.h344 u8 sense_data[0]; member
575 u8 sense_data[0]; member
/Linux-v4.19/include/uapi/scsi/
Dcxlflash_ioctl.h144 __u8 sense_data[DK_CXLFLASH_VERIFY_SENSE_LEN]; /* SCSI sense data */ member
/Linux-v4.19/drivers/staging/unisys/include/
Diochannel.h304 struct sense_data { struct
/Linux-v4.19/drivers/message/fusion/
Dmptscsih.c2417 u8 *sense_data; in mptscsih_copy_sense_data() local
2422 sense_data = ((u8 *)ioc->sense_buf_pool + (req_index * MPT_SENSE_BUFFER_ALLOC)); in mptscsih_copy_sense_data()
2423 memcpy(sc->sense_buffer, sense_data, SNS_LEN(sc)); in mptscsih_copy_sense_data()
2428 if ((sense_data[12] == 0x5D) && (vdevice->vtarget->raidVolume == 0)) { in mptscsih_copy_sense_data()
2439 ioc->events[idx].data[1] = (sense_data[13] << 8) | sense_data[12]; in mptscsih_copy_sense_data()
2628 u8 *sense_data; in mptscsih_scandv_complete() local
2648 sense_data = ((u8 *)ioc->sense_buf_pool + in mptscsih_scandv_complete()
2652 memcpy(ioc->internal_cmds.sense, sense_data, sz); in mptscsih_scandv_complete()
/Linux-v4.19/drivers/scsi/ufs/
Dufs.h505 u8 sense_data[RESPONSE_UPIU_SENSE_DATA_LENGTH]; member
/Linux-v4.19/drivers/scsi/cxlflash/
Dsislite.h208 u8 sense_data[SISL_SENSE_DATA_LEN]; member
/Linux-v4.19/drivers/scsi/esas2r/
Datioctl.h869 u8 sense_data[0xFC]; member
1038 u8 sense_data[80]; member
/Linux-v4.19/drivers/scsi/qla2xxx/
Dqla_isr.c2036 qla2x00_handle_sense(srb_t *sp, uint8_t *sense_data, uint32_t par_sense_len, in qla2x00_handle_sense() argument
2053 memcpy(cp->sense_buffer, sense_data, sense_len); in qla2x00_handle_sense()
2379 uint8_t *rsp_info, *sense_data; in qla2x00_status_entry() local
2496 sense_data = sts24->data; in qla2x00_status_entry()
2514 sense_data = sts->req_sense_data; in qla2x00_status_entry()
2522 sense_data += rsp_info_len; in qla2x00_status_entry()
2588 qla2x00_handle_sense(sp, sense_data, par_sense_len, sense_len, in qla2x00_status_entry()
2657 qla2x00_handle_sense(sp, sense_data, par_sense_len, in qla2x00_status_entry()

123