/openbmc/linux/drivers/usb/storage/ |
H A D | sddr55.c | 80 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 …]
|
/openbmc/u-boot/drivers/usb/gadget/ |
H A D | f_mass_storage.c | 706 curlun->sense_data = SS_INVALID_FIELD_IN_CDB; in do_read() 711 curlun->sense_data = SS_LOGICAL_BLOCK_ADDRESS_OUT_OF_RANGE; in do_read() 748 curlun->sense_data = in do_read() 787 curlun->sense_data = SS_UNRECOVERED_READ_ERROR; in do_read() 824 curlun->sense_data = SS_WRITE_PROTECTED; in do_write() 840 curlun->sense_data = SS_INVALID_FIELD_IN_CDB; in do_write() 845 curlun->sense_data = SS_LOGICAL_BLOCK_ADDRESS_OUT_OF_RANGE; in do_write() 878 curlun->sense_data = in do_write() 923 curlun->sense_data = SS_COMMUNICATION_FAILURE; in do_write() 961 curlun->sense_data = SS_WRITE_ERROR; in do_write() [all …]
|
/openbmc/linux/drivers/usb/gadget/function/ |
H A D | f_mass_storage.c | 635 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 …]
|
H A D | storage_common.h | 112 u32 sense_data; member
|
/openbmc/qemu/pc-bios/s390-ccw/ |
H A D | cio.c | 53 SenseId sense_data; in cu_type() local 57 .count = sizeof(sense_data), in cu_type() 58 .cda = ptr2u32(&sense_data), in cu_type() 66 return sense_data.cu_type; in cu_type() 69 int basic_sense(SubChannelId schid, uint16_t cutype, void *sense_data, in basic_sense() argument 75 .cda = ptr2u32(sense_data), in basic_sense()
|
/openbmc/linux/drivers/scsi/aacraid/ |
H A D | aachba.c | 672 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() 2376 dev->fsa_dev[cid].sense_data.sense_key = NO_SENSE; in io_callback() 2380 set_sense(&dev->fsa_dev[cid].sense_data, NOT_READY, in io_callback() [all …]
|
/openbmc/linux/drivers/firewire/ |
H A D | sbp2.c | 1290 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 …]
|
/openbmc/qemu/hw/usb/ |
H A D | dev-uas.c | 82 uint8_t sense_data[18]; member 423 slen = scsi_req_get_sense(req->req, st->status.sense.sense_data, in usb_uas_queue_sense() 424 sizeof(st->status.sense.sense_data)); in usb_uas_queue_sense() 427 len = sizeof(uas_iu_sense) - sizeof(st->status.sense.sense_data) + slen; in usb_uas_queue_sense() 439 st->status.sense.sense_data[0] = 0x70; in usb_uas_queue_fake_sense() 440 st->status.sense.sense_data[2] = sense.key; in usb_uas_queue_fake_sense() 441 st->status.sense.sense_data[7] = 10; in usb_uas_queue_fake_sense() 442 st->status.sense.sense_data[12] = sense.asc; in usb_uas_queue_fake_sense() 443 st->status.sense.sense_data[13] = sense.ascq; in usb_uas_queue_fake_sense() 445 len = sizeof(uas_iu_sense) - sizeof(st->status.sense.sense_data) + slen; in usb_uas_queue_fake_sense()
|
/openbmc/linux/include/trace/events/ |
H A D | target.h | 185 __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),
|
/openbmc/u-boot/drivers/block/ |
H A D | ide.c | 336 unsigned char sense_data[18], sense_ccb[12]; in atapi_issue_autoreq() local 354 memset(sense_data, 0, sizeof(sense_data)); in atapi_issue_autoreq() 358 res = atapi_issue(device, sense_ccb, 12, sense_data, 18); in atapi_issue_autoreq() 359 key = (sense_data[2] & 0xF); in atapi_issue_autoreq() 360 asc = (sense_data[12]); in atapi_issue_autoreq() 361 ascq = (sense_data[13]); in atapi_issue_autoreq() 365 sense_data[0], key, asc, ascq); in atapi_issue_autoreq()
|
/openbmc/linux/drivers/scsi/libsas/ |
H A D | sas_task.c | 30 memcpy(tstat->buf, iu->sense_data, tstat->buf_valid_size); in sas_ssp_task_response()
|
/openbmc/linux/drivers/scsi/ |
H A D | qla1280.h | 752 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
|
H A D | 3w-sas.h | 271 unsigned char sense_data[TW_SENSE_DATA_LENGTH]; member
|
/openbmc/qemu/hw/s390x/ |
H A D | css.c | 219 VMSTATE_UINT8_ARRAY(sense_data, SubchDev, 32), 1056 if (ccw.count != sizeof(sch->sense_data)) { in css_interpret_ccw() 1061 len = MIN(ccw.count, sizeof(sch->sense_data)); in css_interpret_ccw() 1062 ret = ccw_dstream_write_buf(&sch->cds, sch->sense_data, len); in css_interpret_ccw() 1065 memset(sch->sense_data, 0, sizeof(sch->sense_data)); in css_interpret_ccw() 1189 sch->sense_data[0] = 0x80; in sch_handle_start_func_virtual() 1727 memcpy(irb->ecw, sch->sense_data, sizeof(sch->sense_data)); in build_irb_sense_data() 1766 irb->esw.erw = ESW_ERW_SENSE | (sizeof(sch->sense_data) << 8); in build_irb_virtual() 1845 memset(sch->sense_data, 0 , sizeof(sch->sense_data)); in css_do_tsch_update_subch()
|
H A D | 3270-ccw.c | 88 sch->sense_data[0] = 0x40; /* intervention-req */ in emulated_ccw_3270_cb()
|
/openbmc/linux/drivers/scsi/elx/efct/ |
H A D | efct_scsi.c | 741 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()
|
H A D | efct_scsi.h | 49 u8 *sense_data; member
|
/openbmc/linux/drivers/infiniband/ulp/srpt/ |
H A D | ib_srpt.h | 229 u8 sense_data[TRANSPORT_SENSE_BUFFER]; member
|
/openbmc/linux/drivers/scsi/aic7xxx/ |
H A D | aic79xx_inline.h | 160 return (scb->sense_data); in ahd_get_sense_buf()
|
/openbmc/linux/include/scsi/ |
H A D | sas.h | 337 DECLARE_FLEX_ARRAY(u8, sense_data); 558 DECLARE_FLEX_ARRAY(u8, sense_data);
|
H A D | srp.h | 301 u8 sense_data[]; member
|
/openbmc/linux/include/uapi/scsi/ |
H A D | cxlflash_ioctl.h | 144 __u8 sense_data[DK_CXLFLASH_VERIFY_SENSE_LEN]; /* SCSI sense data */ member
|
/openbmc/linux/drivers/message/fusion/ |
H A D | mptscsih.c | 2418 u8 *sense_data; in mptscsih_copy_sense_data() local 2423 sense_data = ((u8 *)ioc->sense_buf_pool + (req_index * MPT_SENSE_BUFFER_ALLOC)); in mptscsih_copy_sense_data() 2424 memcpy(sc->sense_buffer, sense_data, MPT_SENSE_BUFFER_ALLOC); in mptscsih_copy_sense_data() 2429 if ((sense_data[12] == 0x5D) && (vdevice->vtarget->raidVolume == 0)) { in mptscsih_copy_sense_data() 2440 ioc->events[idx].data[1] = (sense_data[13] << 8) | sense_data[12]; in mptscsih_copy_sense_data() 2629 u8 *sense_data; in mptscsih_scandv_complete() local 2649 sense_data = ((u8 *)ioc->sense_buf_pool + in mptscsih_scandv_complete() 2653 memcpy(ioc->internal_cmds.sense, sense_data, sz); in mptscsih_scandv_complete()
|
/openbmc/linux/include/ufs/ |
H A D | ufs.h | 515 u8 sense_data[UFS_SENSE_SIZE]; member
|
/openbmc/linux/drivers/scsi/cxlflash/ |
H A D | sislite.h | 204 u8 sense_data[SISL_SENSE_DATA_LEN]; member
|