Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/include/scsi/
H A Dscsi.h227 #define host_byte(result) (((result) >> 16) & 0xff) macro
/OK3568_Linux_fs/kernel/drivers/scsi/sym53c8xx_2/
H A Dsym_glue.h237 return host_byte(cmd->result); in sym_get_cam_status()
/OK3568_Linux_fs/kernel/drivers/scsi/
H A Dconstants.c416 int hb = host_byte(result); in scsi_hostbyte_string()
H A Dscsi_error.c720 if (host_byte(scmd->result) == DID_RESET) { in scsi_eh_completed_normally()
729 if (host_byte(scmd->result) != DID_OK) in scsi_eh_completed_normally()
1744 switch (host_byte(scmd->result)) { in scsi_noretry_cmd()
1809 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.c1677 if (host_byte(retval)) { in sd_check_events()
1749 switch (host_byte(res)) { in sd_sync_cache()
1952 host_byte(scmd->result) != DID_TIME_OUT || in sd_eh_action()
3852 msg, host_byte(result), driver_byte(result)); in sd_print_result()
H A Dscsi_lib.c622 switch (host_byte(result)) { in scsi_result_to_blk_status()
695 if (host_byte(result) == DID_RESET) { in scsi_io_completion_action()
H A Dvirtio_scsi.c358 } else if (host_byte(result) == DID_BAD_TARGET) { in virtscsi_rescan_hotunplug()
H A Dsg.c1373 srp->header.host_status = host_byte(result); in sg_rq_end_io()
H A Dst.c394 result, driver_byte(result), host_byte(result)); in st_chk_result()
/OK3568_Linux_fs/kernel/block/
H A Dbsg-lib.c86 hdr->transport_status = host_byte(job->result); in bsg_transport_complete_rq()
H A Dbsg.c99 hdr->transport_status = host_byte(sreq->result); in bsg_scsi_complete_rq()
H A Dscsi_ioctl.c258 hdr->host_status = host_byte(req->result); in blk_complete_sghdr_rq()
/OK3568_Linux_fs/kernel/drivers/scsi/smartpqi/
H A Dsmartpqi_init.c2663 u8 host_byte; in pqi_process_raid_io_error() local
2677 host_byte = DID_OK; in pqi_process_raid_io_error()
2688 host_byte = DID_SOFT_ERROR; in pqi_process_raid_io_error()
2692 host_byte = DID_ABORT; in pqi_process_raid_io_error()
2695 host_byte = DID_TIME_OUT; in pqi_process_raid_io_error()
2714 host_byte = DID_ERROR; in pqi_process_raid_io_error()
2740 host_byte = DID_NO_CONNECT; in pqi_process_raid_io_error()
2758 set_host_byte(scmd, host_byte); in pqi_process_raid_io_error()
2764 u8 host_byte; in pqi_process_aio_io_error() local
2774 host_byte = DID_OK; in pqi_process_aio_io_error()
[all …]
/OK3568_Linux_fs/kernel/drivers/staging/unisys/visorhba/
H A Dvisorhba_main.c801 (host_byte(cmdrsp->scsi.linuxstat) == DID_NO_CONNECT) && in do_scsi_linuxstat()
/OK3568_Linux_fs/kernel/drivers/target/
H A Dtarget_core_pscsi.c1062 switch (host_byte(result)) { in pscsi_req_done()
/OK3568_Linux_fs/kernel/drivers/xen/
H A Dxen-scsiback.c228 host_byte(errors), driver_byte(errors)); in scsiback_print_status()
/OK3568_Linux_fs/kernel/drivers/scsi/libfc/
H A Dfc_fcp.c2041 if (host_byte(sc_cmd->result) == DID_TIME_OUT) in fc_io_compl()
/OK3568_Linux_fs/kernel/drivers/scsi/bnx2fc/
H A Dbnx2fc_io.c204 sc_cmd, host_byte(sc_cmd->result), sc_cmd->retries, in bnx2fc_scsi_done()
/OK3568_Linux_fs/kernel/drivers/scsi/csiostor/
H A Dcsio_scsi.c1988 if (host_byte(cmnd->result) == DID_REQUEUE) { in csio_eh_abort_handler()
/OK3568_Linux_fs/kernel/drivers/scsi/arm/
H A Dfas216.c2054 if (host_byte(SCpnt->result) != DID_OK || in fas216_std_done()
/OK3568_Linux_fs/kernel/drivers/scsi/ufs/
H A Dufshcd.c5112 if ((host_byte(result) != DID_OK) && in ufshcd_transfer_rsp_status()
5113 (host_byte(result) != DID_REQUEUE) && !hba->silence_err_logs) in ufshcd_transfer_rsp_status()
/OK3568_Linux_fs/kernel/Documentation/scsi/
H A Dscsi_mid_low_api.rst1181 msg_byte(), host_byte() and driver_byte() macros and