Searched refs:REQUEST_SENSE (Results 1 - 66 of 66) sorted by relevance

/linux-4.4.14/drivers/target/
H A Dtarget_core_ua.c81 case REQUEST_SENSE: target_scsi3_ua_check()
309 * ASC/ASCQ will be returned in REQUEST_SENSE payload data for the core_scsi3_ua_clear_for_request_sense()
332 " LUN: %llu, got REQUEST_SENSE reported ASC: 0x%02x," core_scsi3_ua_clear_for_request_sense()
H A Dtarget_core_alua.c589 case REQUEST_SENSE: core_alua_state_standby()
631 case REQUEST_SENSE: core_alua_state_unavailable()
663 case REQUEST_SENSE: core_alua_state_transition()
H A Dtarget_core_spc.c1171 pr_err("REQUEST_SENSE description emulation not" spc_emulate_request_sense()
1325 case REQUEST_SENSE: spc_parse_cdb()
H A Dtarget_core_pr.c476 case REQUEST_SENSE: core_scsi3_pr_seq_non_holder()
/linux-4.4.14/drivers/scsi/arm/
H A Dqueue.h53 __queue_add(queue,SCpnt,(SCpnt)->cmnd[0] == REQUEST_SENSE)
H A Dqueue.c100 * Purpose : Add a new command onto a queue, adding REQUEST_SENSE to head.
H A Dfas216.c1775 disconnect_ok = SCpnt->cmnd[0] != REQUEST_SENSE && fas216_start_command()
1794 (SCpnt->cmnd[0] == REQUEST_SENSE || fas216_start_command()
1815 if (SCpnt->device->simple_tags && SCpnt->cmnd[0] != REQUEST_SENSE && fas216_allocate_tag()
2102 if (SCpnt->cmnd[0] == REQUEST_SENSE) fas216_std_done()
H A Dacornscsi.c1708 if (host->SCpnt->cmnd[0] == REQUEST_SENSE || acornscsi_buildmessages()
/linux-4.4.14/drivers/usb/storage/
H A Ddebug.c65 case REQUEST_SENSE: what = "REQUEST_SENSE"; break; usb_stor_show_command()
H A Dprotocol.c108 /* for REQUEST_SENSE, UFI devices only ever return 18 bytes */ usb_stor_ufi_command()
109 case REQUEST_SENSE: usb_stor_ufi_command()
H A Dtransport.c651 * If we have a failure, we're going to do a REQUEST_SENSE usb_stor_invoke_transport()
680 !((srb->cmnd[0] == REQUEST_SENSE) || usb_stor_invoke_transport()
701 usb_stor_dbg(us, "Issuing auto-REQUEST_SENSE\n"); usb_stor_invoke_transport()
972 * REQUEST_SENSE and INQUIRY don't affect the sense data on UFI usb_stor_CB_transport()
978 if (srb->cmnd[0] == REQUEST_SENSE || usb_stor_CB_transport()
H A Ddatafab.c667 if (srb->cmnd[0] == REQUEST_SENSE) { datafab_transport()
668 usb_stor_dbg(us, "REQUEST_SENSE - Returning faked response\n"); datafab_transport()
H A Djumpshot.c596 if (srb->cmnd[0] == REQUEST_SENSE) { jumpshot_transport()
597 usb_stor_dbg(us, "REQUEST_SENSE\n"); jumpshot_transport()
H A Dsddr09.c1564 if (srb->cmnd[0] == REQUEST_SENSE && havefakesense) { sddr09_transport()
1686 * pass TEST_UNIT_READY and REQUEST_SENSE through sddr09_transport()
1689 srb->cmnd[0] != REQUEST_SENSE) { sddr09_transport()
H A Dfreecom.c331 case REQUEST_SENSE: /* 16 or 18 bytes? spec says 18, lots of devices only have 16 */ freecom_transport()
H A Dalauda.c1210 if (srb->cmnd[0] == REQUEST_SENSE) { alauda_transport()
1211 usb_stor_dbg(us, "REQUEST_SENSE\n"); alauda_transport()
H A Dshuttle_usbat.c1800 if (srb->cmnd[0] == REQUEST_SENSE) { usbat_flash_transport()
1801 usb_stor_dbg(us, "REQUEST_SENSE\n"); usbat_flash_transport()
H A Dsddr55.c810 if (srb->cmnd[0] == REQUEST_SENSE) { sddr55_transport()
H A Disd200.c670 !((srb->cmnd[0] == REQUEST_SENSE) || isd200_invoke_transport()
/linux-4.4.14/include/trace/events/
H A Dtarget.h19 scsi_opcode_name(REQUEST_SENSE), \
H A Dscsi.h17 scsi_opcode_name(REQUEST_SENSE), \
/linux-4.4.14/drivers/scsi/
H A Dps3rom.c288 * so, upper layer should issue REQUEST_SENSE to check the sense data ps3rom_interrupt()
321 if (cmd->cmnd[0] == REQUEST_SENSE) { ps3rom_interrupt()
H A D53c700.c1002 cmnd[0] = REQUEST_SENSE; process_script_interrupt()
1009 * REQUEST_SENSE command is six bytes, process_script_interrupt()
1018 * REQUEST_SENSE */ process_script_interrupt()
1416 hostdata->msgout[0] = NCR_700_identify((SCp->cmnd[0] != REQUEST_SENSE && NCR_700_start_command()
1419 /* for INQUIRY or REQUEST_SENSE commands, we cannot be sure NCR_700_start_command()
1422 if(SCp->cmnd[0] == INQUIRY || SCp->cmnd[0] == REQUEST_SENSE || NCR_700_start_command()
1427 /* REQUEST_SENSE is asking for contingent I_T_L(_Q) status. NCR_700_start_command()
1432 && (slot->tag != SCSI_NO_TAG && SCp->cmnd[0] != REQUEST_SENSE && NCR_700_start_command()
1845 case REQUEST_SENSE: NCR_700_queuecommand_lck()
H A Datari_NCR5380.c885 if (!(hostdata->issue_queue) || (cmd->cmnd[0] == REQUEST_SENSE)) { NCR5380_queue_command()
899 (cmd->cmnd[0] == REQUEST_SENSE) ? "head" : "tail"); NCR5380_queue_command()
1004 !is_lun_busy( tmp, tmp->cmnd[0] != REQUEST_SENSE) NCR5380_main()
1044 cmd_get_tag(tmp, tmp->cmnd[0] != REQUEST_SENSE); NCR5380_main()
2212 if (cmd->cmnd[0] != REQUEST_SENSE) NCR5380_information_transfer()
2217 if ((cmd->cmnd[0] == REQUEST_SENSE) && NCR5380_information_transfer()
2223 if ((cmd->cmnd[0] != REQUEST_SENSE) && NCR5380_information_transfer()
H A Din2000.c410 * Add the cmd to the end of 'input_Q'. Note that REQUEST_SENSE in2000_queuecommand_lck()
412 * sense data is not lost before REQUEST_SENSE executes. in2000_queuecommand_lck()
415 if (!(hostdata->input_Q) || (cmd->cmnd[0] == REQUEST_SENSE)) { in2000_queuecommand_lck()
1340 if (cmd->cmnd[0] == REQUEST_SENSE && cmd->SCp.Status != GOOD) in2000_intr()
1423 if (cmd->cmnd[0] == REQUEST_SENSE && cmd->SCp.Status != GOOD) in2000_intr()
1455 if (cmd->cmnd[0] == REQUEST_SENSE && cmd->SCp.Status != GOOD) in2000_intr()
H A D53c700.h51 /* magic byte identifying an internally generated REQUEST_SENSE command */
H A Desp_scsi.c630 * REQUEST_SENSE command to the device to fetch the sense data. I
632 * to send out the REQUEST_SENSE automatically, but this was difficult
634 * which use SG_IO to send out their own REQUEST_SENSE commands.
665 *p++ = REQUEST_SENSE; esp_autosense()
H A DNCR5380.c946 if (!(hostdata->issue_queue) || (cmd->cmnd[0] == REQUEST_SENSE)) { NCR5380_queue_command_lck()
955 dprintk(NDEBUG_QUEUES, "scsi%d : command added to %s of queue\n", instance->host_no, (cmd->cmnd[0] == REQUEST_SENSE) ? "head" : "tail"); NCR5380_queue_command_lck()
2184 if (cmd->cmnd[0] != REQUEST_SENSE)
2189 if ((cmd->cmnd[0] == REQUEST_SENSE) &&
2195 if ((cmd->cmnd[0] != REQUEST_SENSE) && (status_byte(cmd->SCp.Status) == CHECK_CONDITION)) {
H A Dwd33c93.c444 * sense data is not lost before REQUEST_SENSE executes. wd33c93_queuecommand_lck()
449 if (!(hostdata->input_Q) || (cmd->cmnd[0] == REQUEST_SENSE)) { wd33c93_queuecommand_lck()
1187 if (cmd->cmnd[0] == REQUEST_SENSE wd33c93_intr()
1274 if (cmd->cmnd[0] == REQUEST_SENSE && cmd->SCp.Status != GOOD) wd33c93_intr()
1307 if (cmd->cmnd[0] == REQUEST_SENSE wd33c93_intr()
H A Daha1740.c326 if(*cmd == REQUEST_SENSE) { aha1740_queuecommand_lck()
H A Desp_scsi.h285 #define ESP_CMD_FLAG_AUTOSENSE 0x04 /* Doing automatic REQUEST_SENSE */
H A D3w-9xxx.c302 cdb[0] = REQUEST_SENSE; /* opcode */ twa_aen_drain_queue()
440 cdb[0] = REQUEST_SENSE; /* opcode */ twa_aen_read_queue()
H A D3w-sas.c389 cdb[0] = REQUEST_SENSE; /* opcode */ twl_aen_read_queue()
581 cdb[0] = REQUEST_SENSE; /* opcode */ twl_aen_drain_queue()
H A Daha1542.c383 if (*cmd->cmnd == REQUEST_SENSE) { aha1542_queuecommand()
H A Dgdth.h972 /* REQUEST_SENSE data format */
H A Dscsi_error.c912 * @cmnd is ignored and this functions sets up a REQUEST_SENSE command
952 scmd->cmnd[0] = REQUEST_SENSE; scsi_eh_prep_cmnd()
H A D3w-xxxx.c1952 case REQUEST_SENSE: tw_scsi_queue_lck()
1953 dprintk(KERN_NOTICE "3w-xxxx: tw_scsi_queue(): caught REQUEST_SENSE.\n"); tw_scsi_queue_lck()
H A Ddpt_i2o.c431 * SCSI REQUEST_SENSE commands will be executed automatically by the adpt_queue_lck()
437 if ((cmd->cmnd[0] == REQUEST_SENSE) && (cmd->sense_buffer[0] != 0)) { adpt_queue_lck()
H A Ddc395x.c1558 || (srb->cmd->cmnd[0] == REQUEST_SENSE) start_scsi()
1629 DC395x_write8(acb, TRM_S1040_SCSI_FIFO, REQUEST_SENSE); start_scsi()
1912 DC395x_write8(acb, TRM_S1040_SCSI_FIFO, REQUEST_SENSE); command_phase1()
H A Dfdomain.c1371 if (current_SC->cmnd[0] == REQUEST_SENSE && !current_SC->SCp.Status) { do_fdomain_16x0_intr()
H A DBusLogic.c3042 SCSI REQUEST_SENSE commands will be executed automatically by the blogic_qcmd_lck()
3047 if (cdb[0] == REQUEST_SENSE && command->sense_buffer[0] != 0) { blogic_qcmd_lck()
H A Dgdth.c2157 case REQUEST_SENSE: gdth_next()
2362 case REQUEST_SENSE: gdth_internal_cache_cmd()
H A Dips.c3560 case REQUEST_SENSE: ips_send_cmd()
3924 case REQUEST_SENSE: ips_chkstatus()
H A Dadvansys.c8142 REQUEST_SENSE,
8190 if (scsiq->cdbptr[0] == REQUEST_SENSE) { AscExeScsiQueue()
H A Dpmcraid.c2487 ioarcb->cdb[0] = REQUEST_SENSE; pmcraid_request_sense()
H A Dipr.c5925 cmd_pkt->cdb[0] = REQUEST_SENSE; ipr_erp_request_sense()
/linux-4.4.14/drivers/usb/image/
H A Dmicrotek.c232 case REQUEST_SENSE: what = "REQUEST_SENSE"; break; mts_show_command()
473 if (context->srb->cmnd[0] == REQUEST_SENSE) { mts_command_done()
/linux-4.4.14/drivers/ide/
H A Dide-atapi.c160 pc->c[0] = REQUEST_SENSE; ide_create_request_sense_cmd()
439 (stat & ATA_ERR) && rq->cmd[0] == REQUEST_SENSE) ide_pc_intr()
449 if (rq->cmd[0] == REQUEST_SENSE) { ide_pc_intr()
H A Dide-tape.c343 if (pc->c[0] == REQUEST_SENSE) { ide_tape_callback()
446 if (drive->failed_pc == NULL && pc->c[0] != REQUEST_SENSE) ide_tape_issue_pc()
583 if (drive->failed_pc && drive->pc->c[0] == REQUEST_SENSE) { idetape_do_request()
/linux-4.4.14/include/scsi/
H A Dscsi_proto.h20 #define REQUEST_SENSE 0x03 macro
/linux-4.4.14/tools/lib/traceevent/
H A Dplugin_scsi.c15 #define REQUEST_SENSE 0x03 macro
/linux-4.4.14/drivers/staging/rts5208/
H A Drtsx_scsi.c47 case REQUEST_SENSE: scsi_show_command()
48 what = "REQUEST_SENSE"; scsi_show_command()
3436 * REQUEST_SENSE and rs_ppstatus rtsx_scsi_handler()
3441 (srb->cmnd[0] != REQUEST_SENSE)) { rtsx_scsi_handler()
3453 if ((srb->cmnd[0] != REQUEST_SENSE) && rtsx_scsi_handler()
3494 case REQUEST_SENSE: rtsx_scsi_handler()
H A Drtsx_transport.c183 * If we have a failure, we're going to do a REQUEST_SENSE rtsx_invoke_transport()
/linux-4.4.14/drivers/usb/gadget/function/
H A Df_mass_storage.c1765 if (common->cmnd[0] != REQUEST_SENSE) { check_command()
1778 common->cmnd[0] != REQUEST_SENSE) { check_command()
1790 common->cmnd[0] != REQUEST_SENSE) { check_command()
1983 case REQUEST_SENSE: do_scsi_command()
/linux-4.4.14/drivers/ata/
H A Dpata_pdc2027x.c450 * following white list, say MODE_SENSE and REQUEST_SENSE, pdc2027x_check_atapi_dma()
H A Dlibata-eh.c1639 * atapi_eh_request_sense - perform ATAPI REQUEST_SENSE
1640 * @dev: device to perform REQUEST_SENSE to
1644 * Perform ATAPI REQUEST_SENSE after the device reported CHECK
1657 { REQUEST_SENSE, 0, 0, 0, SCSI_SENSE_BUFFERSIZE, 0 }; atapi_eh_request_sense()
H A Dlibata-scsi.c2632 qc->cdb[0] = REQUEST_SENSE; atapi_request_sense()
3629 case REQUEST_SENSE: ata_scsi_simulate()
/linux-4.4.14/block/
H A Dscsi_ioctl.c128 __set_bit(REQUEST_SENSE, filter->read_ok); blk_set_cmd_filter_defaults()
/linux-4.4.14/drivers/usb/gadget/legacy/
H A Dtcm_usb_gadget.c81 * sense buffer and queue it and hope the host sends a REQUEST_SENSE bot_enqueue_sense_code()
920 case REQUEST_SENSE: get_cmd_dir()
/linux-4.4.14/drivers/message/fusion/
H A Dmptscsih.c2832 case REQUEST_SENSE: mptscsih_do_cmd()
2945 if (cmd == REQUEST_SENSE) { mptscsih_do_cmd()
/linux-4.4.14/drivers/nvme/host/
H A Dscsi.c2492 case REQUEST_SENSE: nvme_scsi_translate()
/linux-4.4.14/drivers/scsi/aacraid/
H A Daachba.c2739 case REQUEST_SENSE: aac_scsi_cmd()
/linux-4.4.14/drivers/scsi/sym53c8xx_2/
H A Dsym_hipd.c3138 cp->sensecmd[0] = REQUEST_SENSE; sym_sir_bad_scsi_status()
5229 cmd->cmnd[0] == INQUIRY || cmd->cmnd[0] == REQUEST_SENSE) && sym_queue_scsiio()
/linux-4.4.14/drivers/scsi/ufs/
H A Dufshcd.c4737 unsigned char cmd[6] = {REQUEST_SENSE, ufshcd_send_request_sense()
/linux-4.4.14/drivers/scsi/aic7xxx/
H A Daic7xxx_core.c1100 sc->opcode = REQUEST_SENSE; ahc_handle_seqint()
H A Daic79xx_core.c9071 sc->opcode = REQUEST_SENSE; ahd_handle_scsi_status()

Completed in 1580 milliseconds