HomeSort by: relevance | last modified time | path
    Searched defs:inq (Results 1 - 15 of 15) sorted by relevancy

  /src/share/examples/rump/btplay/
btplay.c 70 hci_inquiry_cp inq; local in function:main
122 inq.lap[0] = 0x33;
123 inq.lap[1] = 0x8b;
124 inq.lap[2] = 0x9e;
125 inq.inquiry_length = 4;
126 inq.num_responses = 1;
130 cmd->length = sizeof(inq);
131 memcpy(cmd+1, &inq, sizeof(inq));
133 if (rump_sys_sendto(s, msg, sizeof(*cmd)+sizeof(inq), 0, NULL, 0) == -1
    [all...]
  /src/usr.sbin/mlxctl/
util.c 172 struct scsipi_inquiry_data inq; member in struct:mlx_scsi_inquiry::__anonebd584420108
188 dcdb_cmd.dcdb.dcdb_datasize = sizeof(dcdb_cmd.inq);
193 inq_cmd->length = sizeof(dcdb_cmd.inq);
196 *vendor = &dcdb_cmd.inq.vendor[0];
197 *device = &dcdb_cmd.inq.product[0];
198 *revision = &dcdb_cmd.inq.revision[0];
  /src/sys/dev/
sequencervar.h 104 struct sequencer_queue inq; /* input event queue */ member in struct:sequencer_softc
  /src/sys/arch/next68k/stand/boot/
sd.c 76 struct scsipi_inquiry_data inq; local in function:sdprobe
101 (char *)&inq, &count);
105 if ((inq.device & SID_TYPE) != T_DIRECT
106 && (inq.device & SID_TYPE) != T_CDROM)
109 DPRINTF(("booting disk %s.\n", inq.vendor));
  /src/sys/arch/luna68k/stand/boot/
sc.c 192 struct scsi_generic_cdb inq = { local in function:scident
221 if (scsi_immed_command(ctlr, target, lun, &inq, (uint8_t *)&inqbuf,
  /src/bin/sh/
output.c 200 int inq; local in function:outshstr
231 inq = 1;
233 inq = 0;
241 if (inq)
242 outc('\'', file); /* inq = 0, implicit */
246 if ((inq = inquote(p)) != 0)
249 inq = 0;
252 if (inq)
  /src/sys/dev/ic/
adwlib.c 2195 struct scsipi_inquiry_data *inq; local in function:AdwInquiryHandling
2216 inq = (struct scsipi_inquiry_data *) scsiq->vdata_addr;
2221 if (((inq->response_format & SID_RespDataFmt) < 2) /*SCSI-1 | CCS*/ &&
2222 ((inq->version & SID_ANSII) < 2)) {
2247 if ((sc->wdtr_able & tidmask) && (inq->flags3 & SID_WBus16)) {
2286 if ((sc->sdtr_able & tidmask) && (inq->flags3 & SID_Sync)) {
2321 if((inq->flags4 & SID_Clocking) & SID_CLOCKING_DT_ONLY){
2345 if ((sc->tagqng_able & tidmask) && (inq->flags3 & SID_CmdQue)) {
ciss.c 87 static int ciss_inq(struct ciss_softc *sc, struct ciss_inquiry *inq);
221 struct ciss_inquiry *inq; local in function:ciss_attach
394 inq = sc->scratch;
395 if (ciss_inq(sc, inq)) {
403 if (!(inq->flags & CISS_INQ_BIGMAP)) {
405 inq->flags);
412 sc->maxunits = inq->numld;
413 sc->nbus = inq->nscsi_bus;
414 sc->ndrives = inq->buswidth ? inq->buswidth : 256
857 struct scsipi_inquiry_data *inq; local in function:ciss_done
    [all...]
  /src/sys/arch/vax/vsa/
hdc9224.c 218 static int rd_dmasize, inq = 0; variable in typeref:typename:int
469 if (inq == 0) {
470 inq = 1;
484 inq = 0;
489 inq = 1;
  /src/sys/net/
if_ppp.c 1446 struct ifqueue *inq = NULL; local in function:ppp_inproc
1719 inq = &sc->sc_inq;
1742 if (!inq) {
1746 if (IF_QFULL(inq)) {
1747 IF_DROP(inq);
1754 IF_ENQUEUE(inq, m);
  /src/sys/dev/pci/
mly.c 1943 struct scsipi_inquiry_data *inq; local in function:mly_scsipi_complete
1975 inq = (struct scsipi_inquiry_data *)xs->data;
1976 mly_padstr(inq->vendor, "MYLEX", 8);
1979 mly_padstr(inq->product, p, 16);
1982 mly_padstr(inq->revision, p, 4);
ips.c 931 struct scsipi_inquiry_data inq; local in function:ips_scsi_cmd
933 bzero(&inq, sizeof(inq));
934 inq.device = T_DIRECT;
935 inq.version = 2;
936 inq.response_format = 2;
937 inq.additional_length = 32;
938 inq.flags3 |= SID_CmdQue;
939 strlcpy(inq.vendor, "IBM", sizeof(inq.vendor))
    [all...]
  /src/sys/dev/hyperv/
hvs.c 726 is_inquiry_valid(struct scsipi_inquiry_data *inq)
729 if ((inq->device & SID_TYPE) == T_NODEVICE)
731 if ((inq->device & SID_QUAL) == SID_QUAL_LU_NOT_SUPP)
743 struct scsipi_inquiry_data *inq = (void *)xs->data; local in function:fixup_inquiry
747 resplen = srb->srb_datalen >= 5 ? inq->additional_length + 5 : 0;
752 !is_inquiry_valid(inq) && datalen >= 4 &&
753 (inq->version == 0 || inq->response_format == 0)) {
754 inq->version = 0x05; /* SPC-3 */
755 inq->response_format = SID_FORMAT_ISO
    [all...]
  /src/sys/dev/ieee1394/
sbp.c 1657 struct scsipi_inquiry_data *inq = local in function:sbp_fix_inq_data
1674 switch (inq->device & SID_TYPE) {
1681 if ((inq->device & SID_TYPE) == T_DIRECT)
1682 inq->device |= T_SIMPLE_DIRECT; /* T_DIRECT == 0 */
1692 memcpy(inq->vendor, sdev->vendor, sizeof(inq->vendor));
1693 memcpy(inq->product, sdev->product, sizeof(inq->product));
1694 memcpy(inq->revision + 2, sdev->revision,
1695 sizeof(inq->revision))
    [all...]
  /src/sys/arch/sparc64/dev/
vdsk.c 1337 struct scsipi_inquiry_data inq; local in function:vdsk_scsi_inquiry
1340 bzero(&inq, sizeof(inq));
1345 inq.device = T_CDROM;
1346 inq.dev_qual2 = SID_REMOVABLE;
1347 bcopy("Virtual CDROM ", inq.product, sizeof(inq.product));
1350 inq.device = T_DIRECT;
1351 bcopy("Virtual Disk ", inq.product, sizeof(inq.product))
    [all...]

Completed in 25 milliseconds