Searched refs:inquiry (Results 1 – 1 of 1) sorted by relevance
138 unsigned char * inquiry; /* INQUIRY response data */ member543 return (sdev->inquiry[56] & 0x0c) == 0x04; in scsi_device_dt_only()549 return sdev->inquiry[56] & 0x01; in scsi_device_ius()555 return sdev->inquiry[56] & 0x02; in scsi_device_qas()559 return sdev->inquiry ? (sdev->inquiry[6] & (1<<6)) : 1; in scsi_device_enclosure()567 return sdev->scsi_level > SCSI_2 && sdev->inquiry[5] & (1<<0); in scsi_device_protection()572 return sdev->inquiry ? (sdev->inquiry[5] >> 4) & 0x3 : 0; in scsi_device_tpgs()