/freebsd-10-stable/sys/dev/pms/RefTisa/sallsdk/spc/ |
H A D | sassp.c | 57 bit8 inq; local 61 inq = INQ(queueNum); 62 circularQ = &saRoot->inboundQueue[inq]; 70 bit8 inq; local 74 inq = INQ(queueNum); 75 circularQ = &saRoot->inboundQueue[inq]; 145 bit8 inq; local 168 inq = INQ(queueNum); 169 SA_ASSERT((AGSA_MAX_INBOUND_Q > inq), "The IBQ Number is out of range."); 178 circularQ = &saRoot->inboundQueue[inq]; 289 bit8 inq, outq; local 533 bit8 inq; local 605 bit8 inq = 0, outq = 0; local 1699 bit8 inq, outq; local [all...] |
H A D | sasmp.c | 79 bit8 i, inq, outq; local 105 inq = (bit8)(queueNum & MPI_IB_NUM_MASK); 107 SA_ASSERT((AGSA_MAX_INBOUND_Q > inq), "The IBQ Number is out of range."); 179 ossaSingleThreadedEnter(agRoot, LL_IOREQ_IBQ0_LOCK + inq); 184 circularQ = &saRoot->inboundQueue[inq]; 190 ossaSingleThreadedLeave(agRoot, LL_IOREQ_IBQ0_LOCK + inq); 208 ossaSingleThreadedLeave(agRoot, LL_IOREQ_IBQ0_LOCK + inq); 287 ossaSingleThreadedLeave(agRoot, LL_IOREQ_IBQ0_LOCK + inq); 351 ret = mpiSMPCmd(agRoot, pMessage, OPC_INB_SMP_REQUEST, (agsaSMPCmd_t *)payload_ptr, inq, outq); 354 ossaSingleThreadedLeave(agRoot, LL_IOREQ_IBQ0_LOCK + inq); [all...] |
H A D | sasata.c | 85 bit8 inq = 0, outq = 0; local 98 inq = (bit8)(queueNum & MPI_IB_NUM_MASK); 100 SA_ASSERT((AGSA_MAX_INBOUND_Q > inq), "The IBQ Number is out of range."); 164 ossaSingleThreadedEnter(agRoot, LL_IOREQ_IBQ0_LOCK + inq); 168 circularQ = &saRoot->inboundQueue[inq]; 174 ossaSingleThreadedLeave(agRoot, LL_IOREQ_IBQ0_LOCK + inq); 193 ossaSingleThreadedLeave(agRoot, LL_IOREQ_IBQ0_LOCK + inq); 560 ossaSingleThreadedLeave(agRoot, LL_IOREQ_IBQ0_LOCK + inq); 613 bit8 inq, outq; local 626 inq [all...] |
H A D | saioctlcmd.c | 83 bit8 inq, outq; local 105 inq = (bit8)(queueNum & MPI_IB_NUM_MASK); 107 SA_ASSERT((AGSA_MAX_INBOUND_Q > inq), "The IBQ Number is out of range."); 118 ossaSingleThreadedEnter(agRoot, LL_IOREQ_IBQ0_LOCK + inq); 121 circularQ = &saRoot->inboundQueue[inq]; 128 ossaSingleThreadedLeave(agRoot, LL_IOREQ_IBQ0_LOCK + inq); 148 ossaSingleThreadedLeave(agRoot, LL_IOREQ_IBQ0_LOCK + inq); 187 ossaSingleThreadedLeave(agRoot, LL_IOREQ_IBQ0_LOCK + inq); 236 bit8 inq, outq; local 271 inq 383 bit8 inq, outq; local 3357 bit8 inq, outq; local [all...] |
H A D | mpi.c | 604 bit32 inq; local 606 for(inq=0; ((inq < saRoot->QueueConfig.numInboundQueues) && saRoot->BunchStarts_Pending); inq++) 608 circularQ= &saRoot->inboundQueue[inq]; 617 if(circularQ->qNumber != inq) 619 SA_DBG1(("mpiMsgProduceBunch:circularQ->qNumber(%d) != inq(%d)\n",circularQ->qNumber, inq)); 622 SA_DBG1(("mpiMsgProduceBunch: IQ=%d, PI=%d\n", inq, circularQ->producerIdx));
|
H A D | sampicmd.c | 108 bit8 inq, outq; local 112 inq = (bit8)(queueNum & MPI_IB_NUM_MASK); 114 SA_ASSERT((AGSA_MAX_INBOUND_Q > inq), "The IBQ Number is out of range."); 124 ossaSingleThreadedEnter(agRoot, LL_IOREQ_IBQ0_LOCK + inq); 127 circularQ = &saRoot->inboundQueue[inq]; 134 ossaSingleThreadedLeave(agRoot, LL_IOREQ_IBQ0_LOCK + inq); 165 ossaSingleThreadedLeave(agRoot, LL_IOREQ_IBQ0_LOCK + inq); 891 * \param inq inbound queue number 906 bit8 inq, 936 circularQ = &saRoot->inboundQueue[inq]; 901 mpiSMPCmd( agsaRoot_t *agRoot, void *pIomb, bit16 opcode, agsaSMPCmd_t *payload, bit8 inq, bit8 outq ) argument [all...] |
H A D | saproto.h | 644 bit8 inq,
|
/freebsd-10-stable/share/examples/scsi_target/ |
H A D | scsi_cmds.c | 298 struct scsi_inquiry *inq; local 304 inq = (struct scsi_inquiry *)a_descr->cdb; 314 if ((inq->byte2 & SI_EVPD) != 0) { 321 } else if (inq->page_code != 0) { 331 scsi_2btoul(inq->length)); 342 struct scsi_inquiry_data *inq; local 344 inq = &inq_data; 345 bzero(inq, sizeof(*inq)); 346 inq [all...] |
/freebsd-10-stable/sys/netgraph/bluetooth/drivers/bt3c/ |
H A D | ng_bt3c_pccard.c | 348 IF_DRAIN(&sc->inq); 394 _IF_QLEN(&sc->inq), /* XXX */ 395 sc->inq.ifq_maxlen, /* XXX */ 450 sc->inq.ifq_maxlen; 480 sc->inq.ifq_maxlen = ((ng_bt3c_node_qlen_ep *) 670 sc->inq.ifq_maxlen = sc->outq.ifq_maxlen = BT3C_DEFAULTQLEN; 671 mtx_init(&sc->inq.ifq_mtx, "BT3C inq", NULL, MTX_DEF); 740 IF_DRAIN(&sc->inq); 743 mtx_destroy(&sc->inq [all...] |
H A D | ng_bt3c_var.h | 98 struct ifqueue inq; /* queue of incoming mbuf's */ member in struct:bt3c_softc
|
/freebsd-10-stable/sys/dev/sound/midi/ |
H A D | midi.c | 111 struct mtx qlock; /* Protects inq, outq and flags */ 112 MIDIQ_HEAD(, char) inq, outq; member in struct:snd_midi 345 MIDIQ_INIT(m->inq, buf, inqsize); 355 if ((inqsize && !MIDIQ_BUF(m->inq)) || 386 if (MIDIQ_BUF(m->inq)) 387 free(MIDIQ_BUF(m->inq), M_MIDI); 521 if (!MIDIQ_FULL(m->inq)) { 523 MIDIQ_ENQ(m->inq, &m->inq_status, 1); 545 if (!MIDIQ_FULL(m->inq)) { 546 MIDIQ_ENQ(m->inq, [all...] |
/freebsd-10-stable/usr.sbin/mlxcontrol/ |
H A D | interface.c | 234 struct scsi_inquiry_data inq; member in union:__anon12135::__anon12136 262 *vendor = &dcdb_cmd.d.inq.vendor[0]; 263 *device = &dcdb_cmd.d.inq.product[0]; 264 *revision = &dcdb_cmd.d.inq.revision[0];
|
/freebsd-10-stable/sys/dev/amr/ |
H A D | amr_cam.c | 550 struct scsi_inquiry_data *inq; local 556 inq = (struct scsi_inquiry_data *)csio->data_ptr; 587 if ((cdb0 == INQUIRY) && (SID_TYPE(inq) == T_DIRECT)) 588 inq->device = (inq->device & 0xe0) | T_NODEVICE;
|
/freebsd-10-stable/sys/cam/scsi/ |
H A D | scsi_targ_bh.c | 556 struct scsi_inquiry *inq; local 558 inq = (struct scsi_inquiry *)cdb; 566 if ((inq->byte2 & SI_EVPD) != 0 567 || inq->page_code != 0) { 591 scsi_2btoul(inq->length));
|
H A D | scsi_all.c | 8724 struct scsi_inquiry_data *inq; local 8727 inq = (struct scsi_inquiry_data *)inqbuffer; 8729 if (((SID_TYPE(inq) == entry->type) 8731 && (SID_IS_REMOVABLE(inq) ? entry->media_type & SIP_MEDIA_REMOVABLE 8733 && (cam_strmatch(inq->vendor, entry->vendor, sizeof(inq->vendor)) == 0) 8734 && (cam_strmatch(inq->product, entry->product, 8735 sizeof(inq->product)) == 0) 8736 && (cam_strmatch(inq->revision, entry->revision, 8737 sizeof(inq 8751 struct scsi_inquiry_data *inq; local [all...] |
/freebsd-10-stable/sys/dev/iir/ |
H A D | iir.c | 1087 struct scsi_inquiry_data inq; local 1088 size_t copylen = MIN(sizeof(inq), ccb->csio.dxfer_len); 1090 bzero(&inq, sizeof(inq)); 1091 inq.device = (gdt->sc_hdr[t].hd_devtype & 4) ? 1093 inq.dev_qual2 = (gdt->sc_hdr[t].hd_devtype & 1) ? 0x80 : 0; 1094 inq.version = SCSI_REV_2; 1095 inq.response_format = 2; 1096 inq.additional_length = 32; 1097 inq [all...] |
/freebsd-10-stable/usr.sbin/mptutil/ |
H A D | mpt_show.c | 220 const char *inq, *state; local 230 inq = mpt_pd_inq_string(info); 231 if (inq != NULL) 232 printf(" %s", inq);
|
/freebsd-10-stable/sys/dev/aac/ |
H A D | aac_cam.c | 530 struct scsi_inquiry_data *inq; local 544 inq = (struct scsi_inquiry_data *)ccb->csio.data_ptr; 545 device = SID_TYPE(inq); 546 qual = SID_QUAL(inq);
|
/freebsd-10-stable/sys/dev/aacraid/ |
H A D | aacraid_cam.c | 548 struct scsi_inquiry *inq = (struct scsi_inquiry *)cmdp; local 553 ccb->csio.dxfer_len, inq->byte2, inq->page_code); 554 if (!(inq->byte2 & SI_EVPD)) { 557 if (inq->page_code != 0) { 578 if (inq->page_code == SVPD_SUPPORTED_PAGE_LIST) { 587 } else if (inq->page_code == SVPD_UNIT_SERIAL_NUMBER) {
|
/freebsd-10-stable/sys/dev/ciss/ |
H A D | ciss.c | 1646 struct scsi_inquiry *inq; local 1669 inq = (struct scsi_inquiry *)&(cc->cdb.cdb[0]); 1670 inq->opcode = INQUIRY; 1671 inq->byte2 = SI_EVPD; 1672 inq->page_code = CISS_VPD_LOGICAL_DRIVE_GEOMETRY; 1673 scsi_ulto2b(sizeof(ld->cl_geometry), inq->length); 3380 struct scsi_inquiry_data *inq; local 3392 inq = (struct scsi_inquiry_data *)csio->data_ptr; 3399 * the physical disks and setup the parts of the inq structure for 3404 if (SID_TYPE(inq) [all...] |
/freebsd-10-stable/sys/dev/firewire/ |
H A D | sbp.c | 1587 struct scsi_inquiry_data *inq; local 1598 inq = (struct scsi_inquiry_data *) ccb->csio.data_ptr; local 1599 switch (SID_TYPE(inq)) { 1606 if (SID_TYPE(inq) == T_DIRECT) 1607 inq->device |= T_RBC; /* T_DIRECT == 0 */ 1616 bcopy(sdev->vendor, inq->vendor, sizeof(inq->vendor)); 1617 bcopy(sdev->product, inq->product, sizeof(inq->product)); 1618 bcopy(sdev->revision+2, inq [all...] |
/freebsd-10-stable/sys/dev/mly/ |
H A D | mly.c | 2307 struct scsi_inquiry_data *inq = (struct scsi_inquiry_data *)csio->data_ptr; local 2333 padstr(inq->vendor, mly_describe_code(mly_table_device_type, btl->mb_type), 8); 2334 padstr(inq->product, mly_describe_code(mly_table_device_state, btl->mb_state), 16); 2335 padstr(inq->revision, "", 4);
|