Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/scsi/
Dscsi_scan.c574 first_inquiry_len = sdev->inquiry_len ? sdev->inquiry_len : 36; in scsi_probe_lun()
653 else if (sdev->inquiry_len) in scsi_probe_lun()
654 next_inquiry_len = sdev->inquiry_len; in scsi_probe_lun()
685 sdev->inquiry_len = min(try_inquiry_len, response_len); in scsi_probe_lun()
702 if (sdev->inquiry_len < 36) { in scsi_probe_lun()
706 " using 36\n", sdev->inquiry_len); in scsi_probe_lun()
709 sdev->inquiry_len = 36; in scsi_probe_lun()
790 max_t(size_t, sdev->inquiry_len, 36), in scsi_add_lun()
860 (sdev->inquiry_len > 56 && inq_result[56] & 0x04)) in scsi_add_lun()
Dvirtio_scsi.c339 int result, inquiry_len, inq_result_len = 256; in virtscsi_rescan_hotunplug() local
343 inquiry_len = sdev->inquiry_len ? sdev->inquiry_len : 36; in virtscsi_rescan_hotunplug()
347 scsi_cmd[4] = (unsigned char) inquiry_len; in virtscsi_rescan_hotunplug()
352 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.c936 sdev->inquiry_len); in show_inquiry()
/kernel/linux/linux-5.10/include/scsi/
Dscsi_device.h136 unsigned char inquiry_len; /* valid bytes in 'inquiry' */ member
535 if (sdev->inquiry_len < 57) in scsi_device_dt_only()
541 if (sdev->inquiry_len < 57) in scsi_device_ius()
547 if (sdev->inquiry_len < 57) in scsi_device_qas()
/kernel/linux/linux-5.10/drivers/usb/storage/
Dscsiglue.c77 sdev->inquiry_len = 36; in slave_alloc()
/kernel/linux/linux-5.10/drivers/hwmon/
Ddrivetemp.c439 if (!sdev->inquiry || sdev->inquiry_len < 16) in drivetemp_identify()
/kernel/linux/linux-5.10/drivers/usb/image/
Dmicrotek.c323 s->inquiry_len = 0x24; in mts_slave_alloc()
/kernel/linux/linux-5.10/drivers/staging/rts5208/
Drtsx.c67 sdev->inquiry_len = 36; in slave_alloc()
/kernel/linux/linux-5.10/drivers/target/
Dtarget_core_pscsi.c169 if (sdev->inquiry_len < INQUIRY_LEN) in pscsi_set_inquiry_info()
/kernel/linux/linux-5.10/drivers/firewire/
Dsbp2.c1509 sdev->inquiry_len = 36; in sbp2_scsi_slave_alloc()
/kernel/linux/linux-5.10/drivers/message/fusion/
Dmptspi.c350 if (sdev->inquiry_len > 49 ) { in mptspi_initTarget()
Dmptscsih.c2371 sdev->ppr, sdev->inquiry_len)); in mptscsih_slave_configure()