Home
last modified time | relevance | path

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

/linux/drivers/scsi/
H A Dscsi_scan.c522 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 …]
H A Dscsi_proc.c313 sdev->scsi_level - (sdev->scsi_level > 1)); in proc_print_scsidevice()
314 if (sdev->scsi_level == 2) in proc_print_scsidevice()
H A Dscsi.c558 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()
H A Dscsi_error.c1090 if (sdev->scsi_level <= SCSI_2 && sdev->scsi_level != SCSI_UNKNOWN) in scsi_eh_prep_cmnd()
H A Dstorvsc_drv.c1599 sdevice->scsi_level = SCSI_SPC_3; in storvsc_device_configure()
H A Dscsi_debug.c6617 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);
H A Desp_scsi.c682 *p++ = ((dev->scsi_level <= SCSI_2) ? in esp_autosense()
H A Dsd.c2806 if (sdp->scsi_level > SCSI_SPC_2) in sd_try_rc16_first()
/linux/include/scsi/
H A Dscsi_device.h135 char scsi_level; member
367 char scsi_level; member
649 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()
/linux/drivers/usb/storage/
H A Dscsiglue.c239 if (sdev->scsi_level > SCSI_SPC_2 && in device_configure()
314 sdev->scsi_level == SCSI_UNKNOWN) in device_configure()
/linux/drivers/message/fusion/
H A Dmptspi.c123 if (sdev->scsi_level < SCSI_2) { in mptspi_setTargetNegoParms()
/linux/drivers/scsi/sym53c8xx_2/
H A Dsym_hipd.c3128 if (cp->cmd->device->scsi_level <= SCSI_2 && cp->lun <= 7)
/linux/drivers/scsi/mpt3sas/
H A Dmpt3sas_scsih.c1837 sdev->scsi_level, ((sdev->inquiry[7] & 2) >> 1)); in scsih_change_queue_depth()