Lines Matching refs:scsi_level
442 starget->scsi_level = SCSI_2; in scsi_alloc_target()
732 sdev->scsi_level = inq_result[2] & 0x07; in scsi_probe_lun()
733 if (sdev->scsi_level >= 2 || in scsi_probe_lun()
734 (sdev->scsi_level == 1 && (inq_result[3] & 0x0f) == 1)) in scsi_probe_lun()
735 sdev->scsi_level++; in scsi_probe_lun()
736 sdev->sdev_target->scsi_level = sdev->scsi_level; in scsi_probe_lun()
743 if (sdev->scsi_level <= SCSI_2 && in scsi_probe_lun()
744 sdev->scsi_level != SCSI_UNKNOWN && in scsi_probe_lun()
861 if (sdev->scsi_level >= SCSI_3 || in scsi_add_lun()
875 if ((sdev->scsi_level >= SCSI_2) && (inq_result[7] & 2) && in scsi_add_lun()
989 if (sdev->scsi_level >= SCSI_3) in scsi_add_lun()
1202 int bflags, int scsi_level, int rescan) in scsi_sequential_lun_scan() argument
1255 if (scsi_level < SCSI_3 && !(bflags & BLIST_LARGELUN)) in scsi_sequential_lun_scan()
1320 if (starget->scsi_level < SCSI_2 && in scsi_report_lun_scan()
1321 starget->scsi_level != SCSI_UNKNOWN) in scsi_report_lun_scan()
1323 if (starget->scsi_level < SCSI_3 && in scsi_report_lun_scan()
1573 starget->scsi_level, rescan); in __scsi_scan_target()