Lines Matching defs:inqp
296 struct scsipi_inquiry_data *inqp = sa->sa_inqptr;
298 if (inqp == NULL)
301 return (ses_type(inqp));
566 ses_type(struct scsipi_inquiry_data *inqp)
568 size_t given_len = inqp->additional_length + 4;
573 if ((inqp->device & SID_TYPE) == T_ENCLOSURE) {
574 if (STRNCMP(inqp->vendor, SEN_ID, SEN_ID_LEN) == 0) {
576 } else if ((inqp->version & SID_ANSII) > 2) {
585 if ((inqp->flags2 & SID_EncServ) && (inqp->version & SID_ANSII) >= 2) {
602 if (STRNCMP((char *)&inqp->vendor_specific[8], "SAF-TE",