HomeSort by: relevance | last modified time | path
    Searched defs:inqbuf (Results 1 - 25 of 38) sorted by relevancy

1 2

  /src/sys/dev/scsipi/
atapiconf.c 307 struct scsipi_inquiry_pattern *inqbuf; local in function:atapibusprint
313 inqbuf = &sa->sa_inqbuf;
315 dtype = scsipi_dtype(inqbuf->type & SID_TYPE);
317 sa->sa_periph->periph_target, inqbuf->vendor,
318 inqbuf->product, inqbuf->revision, dtype,
319 inqbuf->removable ? "removable" : "fixed");
atapiconf.c 307 struct scsipi_inquiry_pattern *inqbuf; local in function:atapibusprint
313 inqbuf = &sa->sa_inqbuf;
315 dtype = scsipi_dtype(inqbuf->type & SID_TYPE);
317 sa->sa_periph->periph_target, inqbuf->vendor,
318 inqbuf->product, inqbuf->revision, dtype,
319 inqbuf->removable ? "removable" : "fixed");
scsiconf.c 341 struct scsipi_inquiry_data inqbuf; local in function:scsi_report_luns
358 if ((error = scsipi_inquire(periph, &inqbuf,
361 periph->periph_version = inqbuf.version & SID_ANSII;
555 struct scsipi_inquiry_pattern *inqbuf; local in function:scsibusprint
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; local in function:scsi_probe_device
    [all...]
scsiconf.c 341 struct scsipi_inquiry_data inqbuf; local in function:scsi_report_luns
358 if ((error = scsipi_inquire(periph, &inqbuf,
361 periph->periph_version = inqbuf.version & SID_ANSII;
555 struct scsipi_inquiry_pattern *inqbuf; local in function:scsibusprint
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; local in function:scsi_probe_device
    [all...]
  /src/tests/dev/scsipi/libscsitest/
scsitest.c 121 struct scsipi_inquiry_data *inqbuf = (void *)xs->data; local in function:scsitest_request
123 memset(inqbuf, 0, sizeof(*inqbuf));
124 inqbuf->device = T_CDROM;
125 inqbuf->dev_qual2 = SID_REMOVABLE;
126 strncpy(inqbuf->vendor, "RUMPHOBO", sizeof inqbuf->vendor);
127 strncpy(inqbuf->product, "It's a LIE", sizeof inqbuf->product);
128 strncpy(inqbuf->revision, "0.00", sizeof inqbuf->revision)
    [all...]
scsitest.c 121 struct scsipi_inquiry_data *inqbuf = (void *)xs->data; local in function:scsitest_request
123 memset(inqbuf, 0, sizeof(*inqbuf));
124 inqbuf->device = T_CDROM;
125 inqbuf->dev_qual2 = SID_REMOVABLE;
126 strncpy(inqbuf->vendor, "RUMPHOBO", sizeof inqbuf->vendor);
127 strncpy(inqbuf->product, "It's a LIE", sizeof inqbuf->product);
128 strncpy(inqbuf->revision, "0.00", sizeof inqbuf->revision)
    [all...]
  /src/sys/arch/usermode/dev/
vatapi.c 202 struct scsipi_inquiry_data inqbuf; local in function:vatapi_probe_device
225 memset(&inqbuf, 0, sizeof(inqbuf));
226 if (scsipi_inquire(periph, &inqbuf, XS_CTL_DISCOVERY) != 0) {
233 scsipi_strvis(vendor, 33, inqbuf.vendor, 8);
234 scsipi_strvis(product, 65, inqbuf.product, 16);
235 scsipi_strvis(revision, 17, inqbuf.revision, 4);
239 sa.sa_inqbuf.type = inqbuf.device;
240 sa.sa_inqbuf.removable = inqbuf.dev_qual2 & SID_REMOVABLE ?
vatapi.c 202 struct scsipi_inquiry_data inqbuf; local in function:vatapi_probe_device
225 memset(&inqbuf, 0, sizeof(inqbuf));
226 if (scsipi_inquire(periph, &inqbuf, XS_CTL_DISCOVERY) != 0) {
233 scsipi_strvis(vendor, 33, inqbuf.vendor, 8);
234 scsipi_strvis(product, 65, inqbuf.product, 16);
235 scsipi_strvis(revision, 17, inqbuf.revision, 4);
239 sa.sa_inqbuf.type = inqbuf.device;
240 sa.sa_inqbuf.removable = inqbuf.dev_qual2 & SID_REMOVABLE ?
  /src/sys/arch/luna68k/stand/boot/
sd.c 105 struct scsi_inquiry inqbuf; local in function:sdident
109 if (!scident(sc->sc_ctlr, sc->sc_tgt, sc->sc_lun, &inqbuf, capbuf))
123 return inqbuf.type;
sd.c 105 struct scsi_inquiry inqbuf; local in function:sdident
109 if (!scident(sc->sc_ctlr, sc->sc_tgt, sc->sc_lun, &inqbuf, capbuf))
123 return inqbuf.type;
sc.c 179 * sensebuf and inqbuf may be uninitialized for some cases.
191 struct scsi_inquiry inqbuf; local in function:scident
194 { CMD_INQUIRY, 0, 0, 0, sizeof(inqbuf), 0 }
221 if (scsi_immed_command(ctlr, target, lun, &inq, (uint8_t *)&inqbuf,
222 sizeof(inqbuf)) ||
228 switch (inqbuf.type) {
239 *inqout = inqbuf;
254 struct scsi_inquiry inqbuf; local in function:scprobe
259 if (!scident(hs->sc_ctlr, target, lun, &inqbuf, capbuf))
266 memcpy(idstr, &inqbuf.vendor_id, 28)
    [all...]
sc.c 179 * sensebuf and inqbuf may be uninitialized for some cases.
191 struct scsi_inquiry inqbuf; local in function:scident
194 { CMD_INQUIRY, 0, 0, 0, sizeof(inqbuf), 0 }
221 if (scsi_immed_command(ctlr, target, lun, &inq, (uint8_t *)&inqbuf,
222 sizeof(inqbuf)) ||
228 switch (inqbuf.type) {
239 *inqout = inqbuf;
254 struct scsi_inquiry inqbuf; local in function:scprobe
259 if (!scident(hs->sc_ctlr, target, lun, &inqbuf, capbuf))
266 memcpy(idstr, &inqbuf.vendor_id, 28)
    [all...]
  /src/sys/arch/hp300/stand/common/
sd.c 89 struct scsi_inquiry inqbuf; local in function:sdinit
110 memset(&inqbuf, 0, sizeof(inqbuf));
111 stat = scsi_inquiry(ctlr, unit, (u_char *)&inqbuf, sizeof(inqbuf));
114 ss->sc_type = inqbuf.type & SID_TYPE;
sd.c 89 struct scsi_inquiry inqbuf; local in function:sdinit
110 memset(&inqbuf, 0, sizeof(inqbuf));
111 stat = scsi_inquiry(ctlr, unit, (u_char *)&inqbuf, sizeof(inqbuf));
114 ss->sc_type = inqbuf.type & SID_TYPE;
  /src/sys/dev/usb/
umass_scsipi.c 537 struct scsipi_inquiry_data inqbuf; local in function:umass_atapi_probe_device
559 memset(&inqbuf, 0, sizeof(inqbuf));
560 if (scsipi_inquire(periph, &inqbuf, XS_CTL_DISCOVERY) != 0) {
566 strnvisx(vendor, sizeof(vendor), inqbuf.vendor, 8,
568 strnvisx(product, sizeof(product), inqbuf.product, 16,
570 strnvisx(revision, sizeof(revision), inqbuf.revision, 4,
574 sa.sa_inqbuf.type = inqbuf.device;
575 sa.sa_inqbuf.removable = inqbuf.dev_qual2 & SID_REMOVABLE ?
umass_scsipi.c 537 struct scsipi_inquiry_data inqbuf; local in function:umass_atapi_probe_device
559 memset(&inqbuf, 0, sizeof(inqbuf));
560 if (scsipi_inquire(periph, &inqbuf, XS_CTL_DISCOVERY) != 0) {
566 strnvisx(vendor, sizeof(vendor), inqbuf.vendor, 8,
568 strnvisx(product, sizeof(product), inqbuf.product, 16,
570 strnvisx(revision, sizeof(revision), inqbuf.revision, 4,
574 sa.sa_inqbuf.type = inqbuf.device;
575 sa.sa_inqbuf.removable = inqbuf.dev_qual2 & SID_REMOVABLE ?
  /src/sys/arch/bebox/stand/boot/
sd.c 571 struct scsipi_inquiry_data *inqbuf; local in function:sdopen
600 inqbuf = (struct scsipi_inquiry_data *)buf;
602 sd->sc_type = inqbuf->device & SID_TYPE;
607 if ((inqbuf->version & SID_ANSII) >= 2) {
608 // if ((inqbuf->flags3 & SID_CmdQue) != 0)
610 if ((inqbuf->flags3 & SID_Sync) != 0)
614 if ((inqbuf->version & SID_ANSII) >= 3) {
620 switch (inqbuf->flags4 & SID_Clocking) {
628 (inqbuf->dev_qual2 & SID_REMOVABLE) ? FLAGS_REMOVABLE : 0;
644 strncpy(sd->sc_label.d_typename, inqbuf->product, 16)
    [all...]
sd.c 571 struct scsipi_inquiry_data *inqbuf; local in function:sdopen
600 inqbuf = (struct scsipi_inquiry_data *)buf;
602 sd->sc_type = inqbuf->device & SID_TYPE;
607 if ((inqbuf->version & SID_ANSII) >= 2) {
608 // if ((inqbuf->flags3 & SID_CmdQue) != 0)
610 if ((inqbuf->flags3 & SID_Sync) != 0)
614 if ((inqbuf->version & SID_ANSII) >= 3) {
620 switch (inqbuf->flags4 & SID_Clocking) {
628 (inqbuf->dev_qual2 & SID_REMOVABLE) ? FLAGS_REMOVABLE : 0;
644 strncpy(sd->sc_label.d_typename, inqbuf->product, 16)
    [all...]
siop.c 791 struct scsipi_inquiry_data *inqbuf = local in function:_scsi_inquire
799 memset(inqbuf, 0, sizeof(*inqbuf));
807 xs.data = (void *)inqbuf;
817 memcpy(buf, inqbuf, buflen);
1054 struct scsipi_inquiry_data *inqbuf; local in function:scsi_probe
1058 product[sizeof(inqbuf->product) + 1];
1068 inqbuf = (struct scsipi_inquiry_data *)buf;
1069 device = inqbuf->device & SID_TYPE;
1078 strncpy(product, inqbuf->product, sizeof(product) - 1)
    [all...]
siop.c 791 struct scsipi_inquiry_data *inqbuf = local in function:_scsi_inquire
799 memset(inqbuf, 0, sizeof(*inqbuf));
807 xs.data = (void *)inqbuf;
817 memcpy(buf, inqbuf, buflen);
1054 struct scsipi_inquiry_data *inqbuf; local in function:scsi_probe
1058 product[sizeof(inqbuf->product) + 1];
1068 inqbuf = (struct scsipi_inquiry_data *)buf;
1069 device = inqbuf->device & SID_TYPE;
1078 strncpy(product, inqbuf->product, sizeof(product) - 1)
    [all...]
  /src/sys/arch/prep/stand/boot/
sd.c 571 struct scsipi_inquiry_data buf, *inqbuf = &buf; local in function:sdopen
600 inqbuf = &buf;
602 sd->sc_type = inqbuf->device & SID_TYPE;
607 if ((inqbuf->version & SID_ANSII) >= 2) {
608 // if ((inqbuf->flags3 & SID_CmdQue) != 0)
610 if ((inqbuf->flags3 & SID_Sync) != 0)
614 if ((inqbuf->version & SID_ANSII) >= 3) {
620 switch (inqbuf->flags4 & SID_Clocking) {
628 (inqbuf->dev_qual2 & SID_REMOVABLE) ? FLAGS_REMOVABLE : 0;
644 strncpy(sd->sc_label.d_typename, inqbuf->product, 16)
    [all...]
sd.c 571 struct scsipi_inquiry_data buf, *inqbuf = &buf; local in function:sdopen
600 inqbuf = &buf;
602 sd->sc_type = inqbuf->device & SID_TYPE;
607 if ((inqbuf->version & SID_ANSII) >= 2) {
608 // if ((inqbuf->flags3 & SID_CmdQue) != 0)
610 if ((inqbuf->flags3 & SID_Sync) != 0)
614 if ((inqbuf->version & SID_ANSII) >= 3) {
620 switch (inqbuf->flags4 & SID_Clocking) {
628 (inqbuf->dev_qual2 & SID_REMOVABLE) ? FLAGS_REMOVABLE : 0;
644 strncpy(sd->sc_label.d_typename, inqbuf->product, 16)
    [all...]
siop.c 770 struct scsipi_inquiry_data *inqbuf = local in function:_scsi_inquire
778 memset(inqbuf, 0, sizeof(*inqbuf));
786 xs.data = (void *)inqbuf;
796 memcpy(buf, inqbuf, buflen);
1015 struct scsipi_inquiry_data buf, *inqbuf = &buf; local in function:scsi_probe
1018 char product[sizeof(inqbuf->product) + 1];
1031 device = inqbuf->device & SID_TYPE;
1040 strncpy(product, inqbuf->product, sizeof(product) - 1);
  /src/sys/dev/ic/
mpt_netbsd.c 1826 struct scsipi_inquiry_data inqbuf; local in function:mpt_bio_ioctl_vol
1853 memset(&inqbuf, 0, sizeof(inqbuf));
1854 if (scsipi_inquire(periph, &inqbuf,
1857 inqbuf.vendor, sizeof(inqbuf.vendor),
1860 inqbuf.product, sizeof(inqbuf.product),
1863 inqbuf.revision, sizeof(inqbuf.revision)
    [all...]
  /src/sys/arch/evbppc/wii/dev/
di.c 298 struct scsipi_inquiry_data *inqbuf; local in function:di_transfer_complete
316 inqbuf = (struct scsipi_inquiry_data *)xs->data;
329 memset(inqbuf, 0, sizeof(*inqbuf));
330 inqbuf->device = T_CDROM;
331 inqbuf->dev_qual2 = SID_REMOVABLE;
332 strncpy(inqbuf->vendor, "NINTENDO", sizeof(inqbuf->vendor));
333 snprintf(inqbuf->product, sizeof(inqbuf->product), "%08x"
    [all...]

Completed in 93 milliseconds

1 2