Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/scsi/
Dscsi_scan.c658 first_inquiry_len = sdev->inquiry_len ? sdev->inquiry_len : 36; in scsi_probe_lun()
745 else if (sdev->inquiry_len && in scsi_probe_lun()
746 response_len > sdev->inquiry_len && in scsi_probe_lun()
748 next_inquiry_len = sdev->inquiry_len; in scsi_probe_lun()
779 sdev->inquiry_len = min(try_inquiry_len, response_len); in scsi_probe_lun()
796 if (sdev->inquiry_len < 36) { in scsi_probe_lun()
800 " using 36\n", sdev->inquiry_len); in scsi_probe_lun()
803 sdev->inquiry_len = 36; in scsi_probe_lun()
884 max_t(size_t, sdev->inquiry_len, 36), in scsi_add_lun()
954 (sdev->inquiry_len > 56 && inq_result[56] & 0x04)) in scsi_add_lun()
Dvirtio_scsi.c338 int result, inquiry_len, inq_result_len = 256; in virtscsi_rescan_hotunplug() local
342 inquiry_len = sdev->inquiry_len ? sdev->inquiry_len : 36; in virtscsi_rescan_hotunplug()
346 scsi_cmd[4] = (unsigned char) inquiry_len; in virtscsi_rescan_hotunplug()
351 inq_result, inquiry_len, NULL, in virtscsi_rescan_hotunplug()
Dscsi_transport_spi.c717 const int len = sdev->inquiry_len; in spi_dv_device_compare_inquiry()
859 int len = sdev->inquiry_len; in spi_dv_device_internal()
953 spi_dv_retrain(sdev, buffer, buffer + sdev->inquiry_len, in spi_dv_device_internal()
Dscsi_sysfs.c952 sdev->inquiry_len); in show_inquiry()
/Linux-v6.1/include/scsi/
Dscsi_device.h142 unsigned char inquiry_len; /* valid bytes in 'inquiry' */ member
551 if (sdev->inquiry_len < 57) in scsi_device_dt_only()
557 if (sdev->inquiry_len < 57) in scsi_device_ius()
563 if (sdev->inquiry_len < 57) in scsi_device_qas()
/Linux-v6.1/drivers/usb/storage/
Dscsiglue.c77 sdev->inquiry_len = 36; in slave_alloc()
/Linux-v6.1/drivers/hwmon/
Ddrivetemp.c439 if (!sdev->inquiry || sdev->inquiry_len < 16) in drivetemp_identify()
/Linux-v6.1/drivers/usb/image/
Dmicrotek.c327 s->inquiry_len = 0x24; in mts_slave_alloc()
/Linux-v6.1/drivers/staging/rts5208/
Drtsx.c67 sdev->inquiry_len = 36; in slave_alloc()
/Linux-v6.1/drivers/target/
Dtarget_core_pscsi.c166 if (sdev->inquiry_len < INQUIRY_LEN) in pscsi_set_inquiry_info()
/Linux-v6.1/drivers/message/fusion/
Dmptspi.c350 if (sdev->inquiry_len > 49 ) { in mptspi_initTarget()
Dmptscsih.c2371 sdev->ppr, sdev->inquiry_len)); in mptscsih_slave_configure()
/Linux-v6.1/drivers/firewire/
Dsbp2.c1509 sdev->inquiry_len = 36; in sbp2_scsi_slave_alloc()