Lines Matching refs:scsi_level
522 starget->scsi_level = SCSI_2; in scsi_alloc_target()
825 sdev->scsi_level = inq_result[2] & 0x07; in scsi_probe_lun()
826 if (sdev->scsi_level >= 2 || in scsi_probe_lun()
827 (sdev->scsi_level == 1 && (inq_result[3] & 0x0f) == 1)) in scsi_probe_lun()
828 sdev->scsi_level++; in scsi_probe_lun()
829 sdev->sdev_target->scsi_level = sdev->scsi_level; in scsi_probe_lun()
836 if (sdev->scsi_level <= SCSI_2 && in scsi_probe_lun()
837 sdev->scsi_level != SCSI_UNKNOWN && in scsi_probe_lun()
954 if (sdev->scsi_level >= SCSI_3 || in scsi_add_lun()
968 if ((sdev->scsi_level >= SCSI_2) && (inq_result[7] & 2) && in scsi_add_lun()
1084 if (sdev->scsi_level >= SCSI_3) in scsi_add_lun()
1302 blist_flags_t bflags, int scsi_level, in scsi_sequential_lun_scan() argument
1356 if (scsi_level < SCSI_3 && !(bflags & BLIST_LARGELUN)) in scsi_sequential_lun_scan()
1419 if (starget->scsi_level < SCSI_2 && in scsi_report_lun_scan()
1420 starget->scsi_level != SCSI_UNKNOWN) in scsi_report_lun_scan()
1422 if (starget->scsi_level < SCSI_3 && in scsi_report_lun_scan()
1678 starget->scsi_level, rescan); in __scsi_scan_target()