Home
last modified time | relevance | path

Searched refs:host_byte (Results 1 – 24 of 24) sorted by relevance

/openbmc/linux/include/scsi/
H A Dscsi.h125 #define host_byte(result) (((result) >> 16) & 0xff) macro
205 if (host_byte(status) == DID_NO_CONNECT) in scsi_status_is_good()
/openbmc/linux/drivers/scsi/
H A Dscsi_bsg.c67 hdr->transport_status = host_byte(scmd->result); in scsi_bsg_sg_io_fn()
H A Dconstants.c411 enum scsi_host_status hb = host_byte(result); in scsi_hostbyte_string()
H A Dscsi_error.c795 if (host_byte(scmd->result) == DID_RESET) { in scsi_eh_completed_normally()
804 if (host_byte(scmd->result) != DID_OK) in scsi_eh_completed_normally()
1828 switch (host_byte(scmd->result)) { in scsi_noretry_cmd()
1895 switch (host_byte(scmd->result)) { in scsi_decide_disposition()
H A Dscsi_logging.c425 "hostbyte=0x%02x ", host_byte(cmd->result)); in scsi_print_result()
H A Dsd.c1617 if (retval < 0 || host_byte(retval)) { in sd_check_events()
1705 switch (host_byte(res)) { in sd_sync_cache()
1770 switch (host_byte(result)) { in sd_scsi_to_pr_err()
2033 host_byte(scmd->result) != DID_TIME_OUT || in sd_eh_action()
4153 msg, host_byte(result), "DRIVER_OK"); in sd_print_result()
H A Dscsi_ioctl.c384 hdr->host_status = host_byte(scmd->result); in scsi_complete_sghdr_rq()
H A Daha152x.c641 unsigned char host_byte);
1301 unsigned char host_byte) in done() argument
1312 set_host_byte(DONE_SC, host_byte); in done()
H A Desp_scsi.c899 struct scsi_cmnd *cmd, unsigned char host_byte) in esp_cmd_is_done() argument
909 set_host_byte(cmd, host_byte); in esp_cmd_is_done()
910 if (host_byte == DID_OK) in esp_cmd_is_done()
H A Dvirtio_scsi.c360 } else if (result > 0 && host_byte(result) == DID_BAD_TARGET) { in virtscsi_rescan_hotunplug()
H A Dscsi_lib.c608 switch (host_byte(result)) { in scsi_result_to_blk_status()
704 if (host_byte(result) == DID_RESET) { in scsi_io_completion_action()
H A Dsg.c1358 srp->header.host_status = host_byte(result); in sg_rq_end_io()
H A Dst.c390 result, host_byte(result)); in st_chk_result()
/openbmc/linux/drivers/scsi/sym53c8xx_2/
H A Dsym_glue.h237 return host_byte(cmd->result); in sym_get_cam_status()
/openbmc/linux/block/
H A Dbsg-lib.c102 hdr->transport_status = host_byte(job->result); in bsg_transport_sg_io_fn()
/openbmc/linux/drivers/scsi/smartpqi/
H A Dsmartpqi_init.c3154 u8 host_byte; in pqi_process_raid_io_error() local
3168 host_byte = DID_OK; in pqi_process_raid_io_error()
3179 host_byte = DID_SOFT_ERROR; in pqi_process_raid_io_error()
3183 host_byte = DID_ABORT; in pqi_process_raid_io_error()
3186 host_byte = DID_TIME_OUT; in pqi_process_raid_io_error()
3205 host_byte = DID_ERROR; in pqi_process_raid_io_error()
3231 host_byte = DID_NO_CONNECT; in pqi_process_raid_io_error()
3255 u8 host_byte; in pqi_process_aio_io_error() local
3266 host_byte = DID_OK; in pqi_process_aio_io_error()
3287 host_byte = DID_SOFT_ERROR; in pqi_process_aio_io_error()
[all …]
/openbmc/linux/drivers/target/
H A Dtarget_core_pscsi.c1021 switch (host_byte(scmd->result)) { in pscsi_req_done()
/openbmc/linux/drivers/scsi/device_handler/
H A Dscsi_dh_alua.c595 if (host_byte(retval) == DID_NO_CONNECT) in alua_rtpg()
/openbmc/linux/drivers/xen/
H A Dxen-scsiback.c226 host_byte(errors)); in scsiback_print_status()
/openbmc/linux/drivers/scsi/libfc/
H A Dfc_fcp.c2034 if (host_byte(sc_cmd->result) == DID_TIME_OUT) in fc_io_compl()
/openbmc/linux/drivers/scsi/bnx2fc/
H A Dbnx2fc_io.c204 sc_cmd, host_byte(sc_cmd->result), sc_cmd->retries, in bnx2fc_scsi_done()
/openbmc/linux/drivers/scsi/csiostor/
H A Dcsio_scsi.c1992 if (host_byte(cmnd->result) == DID_REQUEUE) { in csio_eh_abort_handler()
/openbmc/linux/Documentation/scsi/
H A Dscsi_mid_low_api.rst1177 host_byte() macros and related constants.
/openbmc/linux/drivers/ufs/core/
H A Dufshcd.c5320 if ((host_byte(result) != DID_OK) && in ufshcd_transfer_rsp_status()
5321 (host_byte(result) != DID_REQUEUE) && !hba->silence_err_logs) in ufshcd_transfer_rsp_status()