Lines Matching defs:inqbuf
341 struct scsipi_inquiry_data inqbuf;
358 if ((error = scsipi_inquire(periph, &inqbuf,
361 periph->periph_version = inqbuf.version & SID_ANSII;
555 struct scsipi_inquiry_pattern *inqbuf;
564 inqbuf = &sa->sa_inqbuf;
568 type = inqbuf->type & SID_TYPE;
572 strnvisx(vendor, sizeof(vendor), inqbuf->vendor, 8,
574 strnvisx(product, sizeof(product), inqbuf->product, 16,
576 strnvisx(revision, sizeof(revision), inqbuf->revision, 4,
581 inqbuf->removable ? "removable" : "fixed",
882 struct scsipi_inquiry_data inqbuf;
927 memset(&inqbuf, 0, sizeof(inqbuf));
929 u_int8_t *extension = &inqbuf.flags1;
944 if (scsipi_inquire(periph, &inqbuf, XS_CTL_DISCOVERY | XS_CTL_SILENT))
947 periph->periph_type = inqbuf.device & SID_TYPE;
948 if (inqbuf.dev_qual2 & SID_REMOVABLE)
950 periph->periph_version = inqbuf.version & SID_ANSII;
958 switch (inqbuf.device & SID_QUAL) {
1004 sa.sa_inqbuf.type = inqbuf.device;
1005 sa.sa_inqbuf.removable = inqbuf.dev_qual2 & SID_REMOVABLE ?
1007 sa.sa_inqbuf.vendor = inqbuf.vendor;
1008 sa.sa_inqbuf.product = inqbuf.product;
1009 sa.sa_inqbuf.revision = inqbuf.revision;
1010 sa.scsipi_info.scsi_version = inqbuf.version;
1011 sa.sa_inqptr = &inqbuf;
1027 if ((inqbuf.flags3 & SID_CmdQue) != 0 &&
1030 if ((inqbuf.flags3 & SID_Linked) != 0)
1032 if ((inqbuf.flags3 & SID_Sync) != 0 &&
1035 if ((inqbuf.flags3 & SID_WBus16) != 0 &&
1038 if ((inqbuf.flags3 & SID_WBus32) != 0 &&
1041 if ((inqbuf.flags3 & SID_SftRe) != 0)
1043 if ((inqbuf.flags3 & SID_RelAdr) != 0)
1053 switch (inqbuf.flags4 & SID_Clocking) {
1069 if (inqbuf.flags4 & SID_IUS)
1071 if (inqbuf.flags4 & SID_QAS)