Searched refs:inquiry (Results 1 – 2 of 2) sorted by relevance
137 unsigned char * inquiry; /* INQUIRY response data */ member526 return (sdev->inquiry[56] & 0x0c) == 0x04; in scsi_device_dt_only()532 return sdev->inquiry[56] & 0x01; in scsi_device_ius()538 return sdev->inquiry[56] & 0x02; in scsi_device_qas()542 return sdev->inquiry ? (sdev->inquiry[6] & (1<<6)) : 1; in scsi_device_enclosure()550 return sdev->scsi_level > SCSI_2 && sdev->inquiry[5] & (1<<0); in scsi_device_protection()555 return sdev->inquiry ? (sdev->inquiry[5] >> 4) & 0x3 : 0; in scsi_device_tpgs()
356 if (sdev->inquiry[44] == 'S' && in mptspi_initTarget()357 sdev->inquiry[45] == 'A' && in mptspi_initTarget()358 sdev->inquiry[46] == 'F' && in mptspi_initTarget()359 sdev->inquiry[47] == '-' && in mptspi_initTarget()360 sdev->inquiry[48] == 'T' && in mptspi_initTarget()361 sdev->inquiry[49] == 'E' ) { in mptspi_initTarget()