Home
last modified time | relevance | path

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

123

/linux-6.12.1/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()
/linux-6.12.1/drivers/usb/gadget/function/
Df_mass_storage.c635 curlun->sense_data = SS_INVALID_FIELD_IN_CDB; in do_read()
640 curlun->sense_data = SS_LOGICAL_BLOCK_ADDRESS_OUT_OF_RANGE; in do_read()
672 curlun->sense_data = in do_read()
713 curlun->sense_data = SS_UNRECOVERED_READ_ERROR; in do_read()
750 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-6.12.1/drivers/scsi/aacraid/
Daachba.c672 fsa_dev_ptr->sense_data.sense_key = NOT_READY; in _aac_probe_container2()
673 else if (fsa_dev_ptr->sense_data.sense_key == NOT_READY) in _aac_probe_container2()
674 fsa_dev_ptr->sense_data.sense_key = NO_SENSE; in _aac_probe_container2()
1176 static inline void set_sense(struct sense_data *sense_data, u8 sense_key, in set_sense() argument
1179 u8 *sense_buf = (u8 *)sense_data; in set_sense()
1209 set_sense(&dev->fsa_dev[cid].sense_data, in aac_bounds_32()
1212 memcpy(cmd->sense_buffer, &dev->fsa_dev[cid].sense_data, in aac_bounds_32()
1213 min_t(size_t, sizeof(dev->fsa_dev[cid].sense_data), in aac_bounds_32()
2374 dev->fsa_dev[cid].sense_data.sense_key = NO_SENSE; in io_callback()
2378 set_sense(&dev->fsa_dev[cid].sense_data, NOT_READY, in io_callback()
[all …]
Daacraid.h1235 struct sense_data { struct
1284 struct sense_data sense_data; member
2023 u8 sense_data[AAC_SENSE_BUFFERSIZE]; // Can this be SCSI_SENSE_BUFFERSIZE member
/linux-6.12.1/drivers/firewire/
Dsbp2.c1290 static unsigned int sbp2_status_to_sense_data(u8 *sbp2_status, u8 *sense_data) in sbp2_status_to_sense_data() argument
1303 sense_data[0] = 0x70 | sfmt | (sbp2_status[1] & 0x80); in sbp2_status_to_sense_data()
1304 sense_data[1] = 0x0; in sbp2_status_to_sense_data()
1305 sense_data[2] = ((sbp2_status[1] << 1) & 0xe0) | (sbp2_status[1] & 0x0f); in sbp2_status_to_sense_data()
1306 sense_data[3] = sbp2_status[4]; in sbp2_status_to_sense_data()
1307 sense_data[4] = sbp2_status[5]; in sbp2_status_to_sense_data()
1308 sense_data[5] = sbp2_status[6]; in sbp2_status_to_sense_data()
1309 sense_data[6] = sbp2_status[7]; in sbp2_status_to_sense_data()
1310 sense_data[7] = 10; in sbp2_status_to_sense_data()
1311 sense_data[8] = sbp2_status[8]; in sbp2_status_to_sense_data()
[all …]
/linux-6.12.1/include/trace/events/
Dtarget.h185 __array( unsigned char, sense_data, 18 )
200 memcpy(__entry->sense_data, cmd->sense_buffer, __entry->sense_length);
209 __print_hex(__entry->sense_data, __entry->sense_length),
/linux-6.12.1/drivers/scsi/libsas/
Dsas_task.c30 memcpy(tstat->buf, iu->sense_data, tstat->buf_valid_size); in sas_ssp_task_response()
/linux-6.12.1/drivers/scsi/
Dqla1280.h752 uint8_t sense_data[18]; member
796 uint8_t sense_data[18]; member
859 uint8_t sense_data[18]; member
916 uint8_t sense_data[18]; member
D3w-sas.h271 unsigned char sense_data[TW_SENSE_DATA_LENGTH]; member
D3w-9xxx.h543 unsigned char sense_data[TW_SENSE_DATA_LENGTH]; member
Dmvumi.h146 u8 sense_data[30]; member
/linux-6.12.1/drivers/scsi/elx/efct/
Defct_scsi.c741 u8 *sense_data = NULL; in efct_scsi_send_resp() local
749 sense_data = rsp->sense_data; in efct_scsi_send_resp()
812 if (EFCT_SCSI_SNS_BUF_VALID(sense_data) && sense_data_length) { in efct_scsi_send_resp()
819 memcpy(sns_data, sense_data, sense_data_length); in efct_scsi_send_resp()
Defct_scsi.h49 u8 *sense_data; member
/linux-6.12.1/drivers/scsi/aic7xxx/
Daic79xx_inline.h160 return (scb->sense_data); in ahd_get_sense_buf()
/linux-6.12.1/drivers/infiniband/ulp/srpt/
Dib_srpt.h229 u8 sense_data[TRANSPORT_SENSE_BUFFER]; member
Dib_srpt.c1306 memset(&ioctx->sense_data, 0, sizeof(ioctx->sense_data)); in srpt_get_send_ioctx()
1435 const u8 *sense_data; in srpt_build_cmd_rsp() local
1448 sense_data = ioctx->sense_data; in srpt_build_cmd_rsp()
1450 WARN_ON(sense_data_len > sizeof(ioctx->sense_data)); in srpt_build_cmd_rsp()
1492 memcpy(srp_rsp->data, sense_data, sense_data_len); in srpt_build_cmd_rsp()
1596 rc = target_init_cmd(cmd, ch->sess, &send_ioctx->sense_data[0], in srpt_handle_cmd()
2992 BUG_ON(ioctx->sense_data != cmd->sense_buffer); in srpt_queue_status()
/linux-6.12.1/include/scsi/
Dsas.h337 DECLARE_FLEX_ARRAY(u8, sense_data);
558 DECLARE_FLEX_ARRAY(u8, sense_data);
Dsrp.h301 u8 sense_data[]; member
/linux-6.12.1/include/uapi/scsi/
Dcxlflash_ioctl.h144 __u8 sense_data[DK_CXLFLASH_VERIFY_SENSE_LEN]; /* SCSI sense data */ member
/linux-6.12.1/drivers/message/fusion/
Dmptscsih.c2468 u8 *sense_data; in mptscsih_copy_sense_data() local
2473 sense_data = ((u8 *)ioc->sense_buf_pool + (req_index * MPT_SENSE_BUFFER_ALLOC)); in mptscsih_copy_sense_data()
2474 memcpy(sc->sense_buffer, sense_data, MPT_SENSE_BUFFER_ALLOC); in mptscsih_copy_sense_data()
2479 if ((sense_data[12] == 0x5D) && (vdevice->vtarget->raidVolume == 0)) { in mptscsih_copy_sense_data()
2490 ioc->events[idx].data[1] = (sense_data[13] << 8) | sense_data[12]; in mptscsih_copy_sense_data()
2679 u8 *sense_data; in mptscsih_scandv_complete() local
2699 sense_data = ((u8 *)ioc->sense_buf_pool + in mptscsih_scandv_complete()
2703 memcpy(ioc->internal_cmds.sense, sense_data, sz); in mptscsih_scandv_complete()
/linux-6.12.1/drivers/scsi/cxlflash/
Dsislite.h204 u8 sense_data[SISL_SENSE_DATA_LEN]; member
/linux-6.12.1/include/ufs/
Dufs.h517 u8 sense_data[UFS_SENSE_SIZE]; member
/linux-6.12.1/drivers/scsi/esas2r/
Datioctl.h870 u8 sense_data[0xFC]; member
1039 u8 sense_data[80]; member

123