Home
last modified time | relevance | path

Searched refs:DRIVER_SENSE (Results 1 - 25 of 46) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/usb/storage/
H A Dcypress_atacb.c224 srb->result = (DRIVER_SENSE << 24) | SAM_STAT_CHECK_CONDITION; in cypress_atacb_passthrough()
228 srb->result = (DRIVER_SENSE << 24) | SAM_STAT_CHECK_CONDITION; in cypress_atacb_passthrough()
/kernel/linux/linux-6.6/include/scsi/
H A Dsg.h131 * Obsolete DRIVER_SENSE driver byte
133 * Originally the SCSI midlayer would set the DRIVER_SENSE driver byte when
140 #define DRIVER_SENSE 0x08 macro
297 when (driver_status & DRIVER_SENSE) is true. */
/kernel/linux/linux-6.6/drivers/scsi/
H A Dscsi_bsg.c70 hdr->driver_status = DRIVER_SENSE; in scsi_bsg_sg_io_fn()
H A Dscsi_ioctl.c387 hdr->driver_status = DRIVER_SENSE; in scsi_complete_sghdr_rq()
H A Dsg.c499 old_hdr->driver_status = DRIVER_SENSE; in sg_read()
585 hp->driver_status = DRIVER_SENSE; in sg_new_read()
/kernel/linux/linux-5.10/include/scsi/
H A Dscsi.h150 #define DRIVER_SENSE 0x08 macro
/kernel/linux/linux-5.10/drivers/scsi/
H A Dscsi_ioctl.c104 if (driver_byte(result) == DRIVER_SENSE && in ioctl_internal_command()
H A Dmyrb.c1455 scmd->result = (DRIVER_SENSE << 24) | in myrb_ldev_queuecommand()
1473 scmd->result = (DRIVER_SENSE << 24) | in myrb_ldev_queuecommand()
1487 scmd->result = (DRIVER_SENSE << 24) | in myrb_ldev_queuecommand()
1497 scmd->result = (DRIVER_SENSE << 24) | in myrb_ldev_queuecommand()
1514 scmd->result = (DRIVER_SENSE << 24) | in myrb_ldev_queuecommand()
1527 scmd->result = (DRIVER_SENSE << 24) | in myrb_ldev_queuecommand()
1544 scmd->result = (DRIVER_SENSE << 24) | in myrb_ldev_queuecommand()
1561 scmd->result = (DRIVER_SENSE << 24) | in myrb_ldev_queuecommand()
1577 scmd->result = (DRIVER_SENSE << 24) | SAM_STAT_CHECK_CONDITION; in myrb_ldev_queuecommand()
H A Dsd.c1738 if (driver_byte(res) == DRIVER_SENSE) in sd_sync_cache()
1846 if (driver_byte(result) == DRIVER_SENSE && in sd_pr_command()
2090 if (driver_byte(result) != DRIVER_SENSE && in sd_done()
2195 ((driver_byte(the_result) == DRIVER_SENSE) && in sd_spinup_disk()
2198 if (driver_byte(the_result) != DRIVER_SENSE) { in sd_spinup_disk()
2326 if (driver_byte(the_result) == DRIVER_SENSE) in read_capacity_error()
3617 if (driver_byte(res) == DRIVER_SENSE) in sd_start_stop_device()
H A Dscsi.c193 cmd->result |= (DRIVER_SENSE << 24); in scsi_finish_command()
H A Dstex.c405 cmd->result = (DRIVER_SENSE << 24) | SAM_STAT_CHECK_CONDITION; in stex_invalid_field()
746 result |= DRIVER_SENSE << 24; in stex_scsi_done()
757 result = DRIVER_SENSE << 24 | SAM_STAT_CHECK_CONDITION; in stex_scsi_done()
H A Dsd_zbc.c119 if (driver_byte(result) == DRIVER_SENSE && in sd_zbc_do_report_zones()
H A Dvirtio_scsi.c165 set_driver_byte(sc, DRIVER_SENSE); in virtscsi_complete_cmd()
H A Dscsi_lib.c629 * DRIVER_SENSE << 24 without setting SAM_STAT_CHECK_CONDITION. in scsi_result_to_blk_status()
822 if (driver_byte(result) == DRIVER_SENSE) in scsi_io_completion_action()
2133 driver_byte(result) == DRIVER_SENSE) { in scsi_mode_sense()
H A Dsg.c498 (DRIVER_SENSE & hp->driver_status)) in sg_read()
574 (DRIVER_SENSE & hp->driver_status)) { in sg_new_read()
H A Dmvumi.c1319 scmd->result |= (DRIVER_SENSE << 24); in mvumi_complete_cmd()
2070 scmd->result = (DID_OK << 16) | (DRIVER_SENSE << 24) | in mvumi_build_frame()
H A Dch.c202 if (driver_byte(result) == DRIVER_SENSE) { in ch_do_scsi()
H A Dscsi_transport_spi.c130 if (driver_byte(result) != DRIVER_SENSE || in spi_execute()
/kernel/linux/linux-5.10/drivers/ata/
H A Dlibata-scsi.c199 cmd->result = (DRIVER_SENSE << 24) | SAM_STAT_CHECK_CONDITION; in ata_scsi_set_sense()
412 if (driver_byte(cmd_result) == DRIVER_SENSE) {/* sense data available */ in ata_cmd_ioctl()
414 cmd_result &= ~(0xFF<<24); /* DRIVER_SENSE is not an error */ in ata_cmd_ioctl()
493 if (driver_byte(cmd_result) == DRIVER_SENSE) {/* sense data available */ in ata_task_ioctl()
495 cmd_result &= ~(0xFF<<24); /* DRIVER_SENSE is not an error */ in ata_task_ioctl()
861 cmd->result = (DRIVER_SENSE << 24) | SAM_STAT_CHECK_CONDITION; in ata_gen_passthru_sense()
960 cmd->result = (DRIVER_SENSE << 24) | SAM_STAT_CHECK_CONDITION; in ata_gen_ata_sense()
4238 cmd->result = (DRIVER_SENSE << 24); in ata_scsi_simulate()
/kernel/linux/linux-5.10/include/trace/events/
H A Dscsi.h138 scsi_driverbyte_name(DRIVER_SENSE))
/kernel/linux/linux-5.10/drivers/scsi/lpfc/
H A Dlpfc_scsi.c2850 cmd->result = DRIVER_SENSE << 24 | DID_ABORT << 16 | in lpfc_calc_bg_err()
2861 cmd->result = DRIVER_SENSE << 24 | DID_ABORT << 16 | in lpfc_calc_bg_err()
2873 cmd->result = DRIVER_SENSE << 24 | DID_ABORT << 16 | in lpfc_calc_bg_err()
2937 cmd->result = DRIVER_SENSE << 24 | DID_ABORT << 16 | in lpfc_parse_bg_err()
2953 cmd->result = DRIVER_SENSE << 24 | DID_ABORT << 16 | in lpfc_parse_bg_err()
2970 cmd->result = DRIVER_SENSE << 24 | DID_ABORT << 16 | in lpfc_parse_bg_err()
/kernel/linux/linux-5.10/drivers/s390/scsi/
H A Dzfcp_scsi.c861 set_driver_byte(scmd, DRIVER_SENSE); in zfcp_scsi_dif_sense_error()
/kernel/linux/linux-5.10/drivers/target/loopback/
H A Dtcm_loop.c566 set_driver_byte(sc, DRIVER_SENSE); in tcm_loop_queue_data_or_status()
/kernel/linux/linux-5.10/drivers/scsi/megaraid/
H A Dmegaraid_mbox.c2304 scp->result = DRIVER_SENSE << 24 | in megaraid_mbox_dpc()
2313 scp->result = DRIVER_SENSE << 24 | in megaraid_mbox_dpc()
/kernel/linux/linux-5.10/drivers/scsi/aic7xxx/
H A Daic79xx_osm.c1931 cmd->result |= (DRIVER_SENSE << 24); in ahd_linux_handle_scsi_status()
2044 if ((cmd->result >> 24) != DRIVER_SENSE) { in ahd_linux_queue_cmd_complete()

Completed in 89 milliseconds

12