Searched refs:scsi_level (Results 1 – 13 of 13) sorted by relevance
522 starget->scsi_level = SCSI_2; in scsi_alloc_target()839 sdev->scsi_level = inq_result[2] & 0x0f; in scsi_probe_lun()840 if (sdev->scsi_level >= 2 || in scsi_probe_lun()841 (sdev->scsi_level == 1 && (inq_result[3] & 0x0f) == 1)) in scsi_probe_lun()842 sdev->scsi_level++; in scsi_probe_lun()843 sdev->sdev_target->scsi_level = sdev->scsi_level; in scsi_probe_lun()850 if (sdev->scsi_level <= SCSI_2 && in scsi_probe_lun()851 sdev->scsi_level != SCSI_UNKNOWN && in scsi_probe_lun()970 if (sdev->scsi_level >= SCSI_3 || in scsi_add_lun()984 if ((sdev->scsi_level >= SCSI_2) && (inq_result[7] & 2) && in scsi_add_lun()[all …]
313 sdev->scsi_level - (sdev->scsi_level > 1)); in proc_print_scsidevice()314 if (sdev->scsi_level == 2) in proc_print_scsidevice()
558 if (sdev->no_report_opcodes || sdev->scsi_level < SCSI_SPC_3) in scsi_report_opcode()649 if (sdev->scsi_level < SCSI_SPC_5) { in scsi_cdl_check()
1090 if (sdev->scsi_level <= SCSI_2 && sdev->scsi_level != SCSI_UNKNOWN) in scsi_eh_prep_cmnd()
1599 sdevice->scsi_level = SCSI_SPC_3; in storvsc_device_configure()
6617 module_param_named(scsi_level, sdebug_scsi_level, int, S_IRUGO);6698 MODULE_PARM_DESC(scsi_level, "SCSI level to simulate(def=7[SPC-5])");7313 static DRIVER_ATTR_RO(scsi_level);
682 *p++ = ((dev->scsi_level <= SCSI_2) ? in esp_autosense()
2806 if (sdp->scsi_level > SCSI_SPC_2) in sd_try_rc16_first()
135 char scsi_level; member367 char scsi_level; member649 return sdev->scsi_level > SCSI_2 && sdev->inquiry[5] & (1<<0); in scsi_device_protection()677 if (sdev->scsi_level >= SCSI_SPC_2 && !sdev->skip_vpd_pages) in scsi_device_supports_vpd()
239 if (sdev->scsi_level > SCSI_SPC_2 && in device_configure()314 sdev->scsi_level == SCSI_UNKNOWN) in device_configure()
123 if (sdev->scsi_level < SCSI_2) { in mptspi_setTargetNegoParms()
3128 if (cp->cmd->device->scsi_level <= SCSI_2 && cp->lun <= 7)
1837 sdev->scsi_level, ((sdev->inquiry[7] & 2) >> 1)); in scsih_change_queue_depth()