Home
last modified time | relevance | path

Searched refs:driver_byte (Results 1 – 21 of 21) sorted by relevance

/linux-4.1.27/drivers/scsi/
Dscsi_ioctl.c103 if ((driver_byte(result) & DRIVER_SENSE) && in ioctl_internal_command()
Dconstants.c1242 int db = driver_byte(result); in scsi_driverbyte_string()
Dsd.c1479 if (driver_byte(res) & DRIVER_SENSE) in sd_sync_cache()
1679 if (driver_byte(result) != DRIVER_SENSE && in sd_done()
1783 ((driver_byte(the_result) & DRIVER_SENSE) && in sd_spinup_disk()
1786 if ((driver_byte(the_result) & DRIVER_SENSE) == 0) { in sd_spinup_disk()
1911 if (driver_byte(the_result) & DRIVER_SENSE) in read_capacity_error()
3091 if (driver_byte(res) & DRIVER_SENSE) in sd_start_stop_device()
3296 msg, host_byte(result), driver_byte(result)); in sd_print_result()
Dsr_ioctl.c216 if (driver_byte(result) != 0) { in sr_do_ioctl()
Dscsi_logging.c480 "driverbyte=0x%02x", driver_byte(cmd->result)); in scsi_print_result()
Dsr.c337 if (driver_byte(result) != 0 && /* An error occurred */ in sr_done()
Dch.c201 if (driver_byte(result) & DRIVER_SENSE) { in ch_do_scsi()
Dscsi_lib.c1049 if (driver_byte(result) & DRIVER_SENSE) in scsi_io_completion()
2471 (driver_byte(result) & DRIVER_SENSE)) { in scsi_mode_sense()
Dscsi_scan.c607 if ((driver_byte(result) & DRIVER_SENSE) && in scsi_probe_lun()
Dsg.c1319 srp->header.driver_status = driver_byte(result); in sg_rq_end_io()
1327 if (driver_byte(result) != 0 in sg_rq_end_io()
Dscsi_transport_spi.c134 if (driver_byte(result) & DRIVER_SENSE) { in spi_execute()
Dst.c391 result, driver_byte(result), host_byte(result)); in st_chk_result()
Dosst.c287 name, result, driver_byte(result), in osst_chk_result()
/linux-4.1.27/include/scsi/
Dscsi.h524 #define driver_byte(result) (((result) >> 24) & 0xff) macro
/linux-4.1.27/block/
Dscsi_ioctl.c263 hdr->driver_status = driver_byte(rq->errors); in blk_complete_sghdr_rq()
Dbsg.c404 hdr->driver_status = driver_byte(rq->errors); in blk_complete_sgv4_hdr_rq()
/linux-4.1.27/drivers/block/
Dcciss.c3047 unsigned int driver_byte) in make_status_bytes() argument
3053 ((driver_byte & 0xff) << 24); in make_status_bytes()
3060 unsigned char status_byte, msg_byte, host_byte, driver_byte; in evaluate_target_status() local
3066 driver_byte = DRIVER_OK; in evaluate_target_status()
3075 host_byte, driver_byte); in evaluate_target_status()
/linux-4.1.27/drivers/ata/
Dlibata-scsi.c540 if (driver_byte(cmd_result) == DRIVER_SENSE) {/* sense data available */ in ata_cmd_ioctl()
626 if (driver_byte(cmd_result) == DRIVER_SENSE) {/* sense data available */ in ata_task_ioctl()
/linux-4.1.27/drivers/xen/
Dxen-scsiback.c275 host_byte(errors), driver_byte(errors)); in scsiback_print_status()
/linux-4.1.27/drivers/scsi/ufs/
Dufshcd.c4739 if (driver_byte(ret) & DRIVER_SENSE) in ufshcd_set_dev_pwr_mode()
/linux-4.1.27/Documentation/scsi/
Dscsi_mid_low_api.txt1285 msg_byte(), host_byte() and driver_byte() macros and