Searched refs:driver_byte (Results 1 – 13 of 13) sorted by relevance
623 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()
129 #define driver_byte(result) (((result) >> 24) & 0xff) macro130 #define suggestion(result) (driver_byte(result) & SUGGEST_MASK)
658 if (driver_byte(result) != 0) { in scsi_io_completion()763 if (driver_byte(result) & DRIVER_SENSE) in scsi_io_completion()
112 if (driver_byte(SRpnt->sr_result) != 0) in ioctl_internal_command()
968 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()
124 if (driver_byte(result) != 0) { in sr_do_ioctl()
640 if ((driver_byte(SRpnt->sr_result) & DRIVER_SENSE) != 0 && in scan_scsis_single()
246 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()
213 if (driver_byte(result) != 0 && /* An error occurred */ in rw_intr()
696 if (((driver_byte(SCpnt->result) & DRIVER_SENSE) || in scsi_unit_is_ready()
203 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()
1270 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()
1633 ((driver_byte(pcmd->result) & DRIVER_SENSE) && (pcmd->sense_buffer[0] & 0x70) == 0x70 && in dc390_SRBdone()