Home
last modified time | relevance | path

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

/linux-2.4.37.9/drivers/scsi/
Dsd.c623 if (driver_byte(result) != 0 && /* An error occured */ in rw_intr()
837 || ((driver_byte(the_result) & DRIVER_SENSE) in sd_init_onedisk()
846 && ((driver_byte(the_result) & DRIVER_SENSE) != 0) in sd_init_onedisk()
856 if ((driver_byte(the_result) & DRIVER_SENSE) == 0) { in sd_init_onedisk()
968 driver_byte(the_result) in sd_init_onedisk()
970 if (driver_byte(the_result) & DRIVER_SENSE) in sd_init_onedisk()
Dscsi.h129 #define driver_byte(result) (((result) >> 24) & 0xff) macro
130 #define suggestion(result) (driver_byte(result) & SUGGEST_MASK)
Dscsi_lib.c658 if (driver_byte(result) != 0) { in scsi_io_completion()
763 if (driver_byte(result) & DRIVER_SENSE) in scsi_io_completion()
Dscsi_ioctl.c112 if (driver_byte(SRpnt->sr_result) != 0) in ioctl_internal_command()
Dconstants.c968 int i,dr=driver_byte(scsiresult)&DRIVER_MASK, in print_driverbyte()
969 su=(driver_byte(scsiresult)&SUGGEST_MASK)>>4; in print_driverbyte()
977 printk("Driverbyte=0x%02x",driver_byte(scsiresult)); in print_driverbyte()
984 { printk("Driverbyte=0x%02x ",driver_byte(scsiresult)); in print_driverbyte()
Dsr_ioctl.c124 if (driver_byte(result) != 0) { in sr_do_ioctl()
Dscsi_scan.c640 if ((driver_byte(SRpnt->sr_result) & DRIVER_SENSE) != 0 && in scan_scsis_single()
Dst.c246 if ((driver_byte(result) & DRIVER_SENSE) == DRIVER_SENSE) in st_chk_result()
261 if (driver_byte(result) & DRIVER_SENSE) in st_chk_result()
264 if (!(driver_byte(result) & DRIVER_SENSE) || in st_chk_result()
273 if (driver_byte(result) & DRIVER_SENSE) { in st_chk_result()
280 driver_byte(result) & DRIVER_MASK, host_byte(result)); in st_chk_result()
Dsr.c213 if (driver_byte(result) != 0 && /* An error occurred */ in rw_intr()
Dscsi_error.c696 if (((driver_byte(SCpnt->result) & DRIVER_SENSE) || in scsi_unit_is_ready()
Dosst.c203 if (driver_byte(result) & DRIVER_SENSE) in osst_chk_result()
217 if (driver_byte(result) & DRIVER_SENSE) in osst_chk_result()
222 if (!(driver_byte(result) & DRIVER_SENSE) || in osst_chk_result()
231 if (driver_byte(result) & DRIVER_SENSE) { in osst_chk_result()
240 dev, result, suggestion(result), driver_byte(result) & DRIVER_MASK, in osst_chk_result()
Dsg.c1270 srp->header.driver_status = driver_byte(SRpnt->sr_result); in sg_cmd_done_bh()
1277 if (driver_byte(SRpnt->sr_result) != 0 in sg_cmd_done_bh()
Dscsiiom.c1633 ((driver_byte(pcmd->result) & DRIVER_SENSE) && (pcmd->sense_buffer[0] & 0x70) == 0x70 && in dc390_SRBdone()