Searched refs:inquiry_len (Results 1 – 13 of 13) sorted by relevance
/Linux-v6.1/drivers/scsi/ |
D | scsi_scan.c | 658 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()
|
D | virtio_scsi.c | 338 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()
|
D | scsi_transport_spi.c | 717 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()
|
D | scsi_sysfs.c | 952 sdev->inquiry_len); in show_inquiry()
|
/Linux-v6.1/include/scsi/ |
D | scsi_device.h | 142 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/ |
D | scsiglue.c | 77 sdev->inquiry_len = 36; in slave_alloc()
|
/Linux-v6.1/drivers/hwmon/ |
D | drivetemp.c | 439 if (!sdev->inquiry || sdev->inquiry_len < 16) in drivetemp_identify()
|
/Linux-v6.1/drivers/usb/image/ |
D | microtek.c | 327 s->inquiry_len = 0x24; in mts_slave_alloc()
|
/Linux-v6.1/drivers/staging/rts5208/ |
D | rtsx.c | 67 sdev->inquiry_len = 36; in slave_alloc()
|
/Linux-v6.1/drivers/target/ |
D | target_core_pscsi.c | 166 if (sdev->inquiry_len < INQUIRY_LEN) in pscsi_set_inquiry_info()
|
/Linux-v6.1/drivers/message/fusion/ |
D | mptspi.c | 350 if (sdev->inquiry_len > 49 ) { in mptspi_initTarget()
|
D | mptscsih.c | 2371 sdev->ppr, sdev->inquiry_len)); in mptscsih_slave_configure()
|
/Linux-v6.1/drivers/firewire/ |
D | sbp2.c | 1509 sdev->inquiry_len = 36; in sbp2_scsi_slave_alloc()
|