/freebsd-10.0-release/sys/dev/cxgbe/iw_cxgbe/ |
H A D | resource.c | 107 u32 qid; local 115 qid = entry->qid; 118 qid = c4iw_get_resource(&rdev->resource.qid_table); 119 if (!qid) 122 rdev->stats.qid.cur += rdev->qpmask + 1; 124 for (i = qid+1; i & rdev->qpmask; i++) { 128 entry->qid = i; 139 entry->qid = qid; 159 c4iw_put_cqid(struct c4iw_rdev *rdev, u32 qid, struct c4iw_dev_ucontext *uctx) argument 177 u32 qid; local 229 c4iw_put_qpid(struct c4iw_rdev *rdev, u32 qid, struct c4iw_dev_ucontext *uctx) argument [all...] |
H A D | ev.c | 55 qhp->attr.state, qhp->wq.sq.qid, CQE_STATUS(err_cqe)); 178 CQE_STATUS(err_cqe), qhp->wq.sq.qid); 193 u32 qid = be32_to_cpu(rc->pldbuflen_qid); local 197 chp = get_chp(dev, qid); 203 CTR2(KTR_IW_CXGBE, "%s unknown cqid 0x%x", __func__, qid);
|
H A D | qp.c | 120 c4iw_put_qpid(rdev, wq->rq.qid, uctx); 121 c4iw_put_qpid(rdev, wq->sq.qid, uctx); 139 wq->sq.qid = c4iw_get_qpid(rdev, uctx); 140 if (!wq->sq.qid) 143 wq->rq.qid = c4iw_get_qpid(rdev, uctx); 144 if (!wq->rq.qid) 190 (wq->sq.qid << rdev->qpshift)); 193 (wq->rq.qid << rdev->qpshift)); 234 res->u.sqrq.eqid = cpu_to_be32(wq->sq.qid); 255 res->u.sqrq.eqid = cpu_to_be32(wq->rq.qid); [all...] |
H A D | device.c | 61 if (!(entry->qid & rdev->qpmask)) { 63 entry->qid); 65 rdev->stats.qid.cur -= rdev->qpmask + 1; 123 rdev->stats.qid.total = sc->vres.qp.size;
|
/freebsd-10.0-release/sys/mips/nlm/hal/ |
H A D | fmn.c | 74 * defined qid. 150 * qid - is the output queue id otherwise called as vc id 156 int nlm_cms_alloc_spill_q(uint64_t base, int qid, uint64_t spill_base, argument 166 queue_config = nlm_read_cms_reg(base,(CMS_OUTPUTQ_CONFIG(qid))); 175 nlm_write_cms_reg(base,(CMS_OUTPUTQ_CONFIG(qid)),queue_config); 180 uint64_t nlm_cms_get_onchip_queue (uint64_t base, int qid) argument 182 return nlm_read_cms_reg(base, CMS_OUTPUTQ_CONFIG(qid)); 185 void nlm_cms_set_onchip_queue (uint64_t base, int qid, uint64_t val) argument 189 rdval = nlm_read_cms_reg(base, CMS_OUTPUTQ_CONFIG(qid)); 191 nlm_write_cms_reg(base, CMS_OUTPUTQ_CONFIG(qid), rdva 194 nlm_cms_per_queue_level_intr(uint64_t base, int qid, int sub_type, int intr_val) argument 209 nlm_cms_per_queue_timer_intr(uint64_t base, int qid, int sub_type, int intr_val) argument 225 nlm_cms_outputq_intr_check(uint64_t base, int qid) argument 233 nlm_cms_outputq_clr_intr(uint64_t base, int qid) argument [all...] |
H A D | fmn.h | 214 extern int nlm_cms_get_oc_space(int qsize, int max_queues, int qid, int *ocbase, int *ocstart, int *ocend); 216 extern int nlm_cms_config_onchip_queue (uint64_t base, uint64_t cms_spill_base, int qid, int spill_en); 218 extern uint64_t nlm_cms_get_onchip_queue (uint64_t base, int qid); 219 extern void nlm_cms_set_onchip_queue (uint64_t base, int qid, uint64_t val); 220 extern void nlm_cms_per_queue_level_intr(uint64_t base, int qid, int sub_type, int intr_val); 222 extern void nlm_cms_per_queue_timer_intr(uint64_t base, int qid, int sub_type, int intr_val); 224 extern int nlm_cms_outputq_intr_check(uint64_t base, int qid); 225 extern void nlm_cms_outputq_clr_intr(uint64_t base, int qid); 241 extern int nlm_cms_alloc_spill_q(uint64_t base, int qid, uint64_t spill_base, 243 extern int nlm_cms_alloc_onchip_q(uint64_t base, int qid, in [all...] |
/freebsd-10.0-release/sbin/ipfw/ |
H A D | altq.c | 102 if (pfioc.altq.qid == 0) 122 return altq->qid; 126 altq_qid_to_name(u_int32_t qid) argument 132 if (qid == altq->qid) 145 qname = altq_qid_to_name(altqptr->qid); 147 printf(" altq ?<%u>", altqptr->qid);
|
/freebsd-10.0-release/sys/net/ |
H A D | pf_mtag.h | 45 u_int32_t qid; /* queue id */ member in struct:pf_mtag
|
/freebsd-10.0-release/sys/dev/rt/ |
H A D | if_rtreg.h | 261 #define TX_BASE_PTR(qid) (((qid>1)?(0x20):(0x10)) + (qid) * 16) 262 #define TX_MAX_CNT(qid) (((qid>1)?(0x24):(0x14)) + (qid) * 16) 263 #define TX_CTX_IDX(qid) (((qid>1)?(0x28):(0x18)) + (qid) * 16) 264 #define TX_DTX_IDX(qid) (((qi [all...] |
H A D | if_rt.c | 103 static void rt_tx_intr(struct rt_softc *sc, int qid); 123 struct rt_softc_tx_ring *ring, int qid); 860 rt_tx_data(struct rt_softc *sc, struct mbuf *m, int qid) argument 870 KASSERT(qid >= 0 && qid < RT_SOFTC_TX_RING_COUNT, 871 ("%s: Tx data: invalid qid=%d\n", 872 device_get_nameunit(sc->dev), qid)); 874 RT_SOFTC_TX_RING_ASSERT_LOCKED(&sc->tx_ring[qid]); 877 ring = &sc->tx_ring[qid]; 939 desc->qn = qid; 1002 int qid = 0 /* XXX must check QoS priority */; local 1442 rt_tx_intr(struct rt_softc *sc, int qid) argument 2115 rt_alloc_tx_ring(struct rt_softc *sc, struct rt_softc_tx_ring *ring, int qid) argument [all...] |
/freebsd-10.0-release/contrib/unbound/services/ |
H A D | mesh.h | 211 uint16_t qid; member in struct:mesh_reply 234 uint16_t qid; member in struct:mesh_cb 275 * @param qid: query id to reply with. 279 uint16_t qid); 291 * @param qid: query id to reply with. 298 uint16_t qid, mesh_cb_func_t cb, void* cb_arg); 455 * @param qid: ID of reply. 461 struct comm_reply* rep, uint16_t qid, uint16_t qflags, uint8_t* qname); 471 * @param qid: ID of reply. 476 ldns_buffer* buf, mesh_cb_func_t cb, void* cb_arg, uint16_t qid, [all...] |
H A D | mesh.c | 278 uint16_t qid) 318 qinfo, qid, qflags, edns); 336 if(!mesh_state_add_reply(s, edns, rep, qid, qflags, qinfo->qname)) { 339 qinfo, qid, qflags, edns); 374 uint16_t qid, mesh_cb_func_t cb, void* cb_arg) 405 if(!mesh_state_add_cb(s, edns, buf, cb, cb_arg, qid, qflags)) { 794 if(!reply_info_answer_encode(&m->s.qinfo, rep, r->qid, 850 &r->qid, sizeof(uint16_t)); 857 r->qid, r->qflags, &r->edns); 866 if(!reply_info_answer_encode(&m->s.qinfo, rep, r->qid, 276 mesh_new_client(struct mesh_area* mesh, struct query_info* qinfo, uint16_t qflags, struct edns_data* edns, struct comm_reply* rep, uint16_t qid) argument 372 mesh_new_callback(struct mesh_area* mesh, struct query_info* qinfo, uint16_t qflags, struct edns_data* edns, ldns_buffer* buf, uint16_t qid, mesh_cb_func_t cb, void* cb_arg) argument 944 mesh_state_add_cb(struct mesh_state* s, struct edns_data* edns, ldns_buffer* buf, mesh_cb_func_t cb, void* cb_arg, uint16_t qid, uint16_t qflags) argument 965 mesh_state_add_reply(struct mesh_state* s, struct edns_data* edns, struct comm_reply* rep, uint16_t qid, uint16_t qflags, uint8_t* qname) argument [all...] |
/freebsd-10.0-release/sys/mips/nlm/ |
H A D | cms.c | 122 int src, qid, i; local 144 for (qid = 0; qid < maxqid; qid++) 145 nlm_cms_setup_credits(cmsbase, qid, 157 int qid, maxqid, src; local 164 for (qid = 0; qid < maxqid; qid++) 165 nlm_cms_setup_credits(cmsbase, qid, sr 259 int i, qid; local [all...] |
/freebsd-10.0-release/sys/dev/wpi/ |
H A D | if_wpireg.h | 57 #define WPI_TX_CTL(qid) (0x940 + (qid) * 8) 58 #define WPI_TX_BASE(qid) (0x944 + (qid) * 8) 59 #define WPI_TX_DESC(qid) (0x980 + (qid) * 80) 66 #define WPI_TX_CONFIG(qid) (0xd00 + (qid) * 32) 67 #define WPI_TX_CREDIT(qid) (0xd04 + (qid) * 3 212 uint8_t qid; member in struct:wpi_rx_desc 264 uint8_t qid; member in struct:wpi_tx_cmd [all...] |
H A D | if_wpi.c | 1073 int qid) 1078 ring->qid = qid; 1094 sc->shared->txbase[qid] = htole32(ring->desc_dma.paddr); 1151 WPI_WRITE(sc, WPI_TX_CONFIG(ring->qid), 0); 1153 if (WPI_READ(sc, WPI_TX_STATUS) & WPI_TX_IDLE(ring->qid)) 1160 ring->qid); 1577 struct wpi_tx_ring *ring = &sc->txq[desc->qid & 0x3]; 1584 DPRINTFN(WPI_DEBUG_TX, ("tx done: qid=%d idx=%d retries=%d nkill=%d " 1585 "rate=%x duration=%d status=%x\n", desc->qid, des 1072 wpi_alloc_tx_ring(struct wpi_softc *sc, struct wpi_tx_ring *ring, int count, int qid) argument 3061 int ntries, qid; local [all...] |
/freebsd-10.0-release/contrib/unbound/util/data/ |
H A D | msgencode.h | 122 * @param qid: query ID to set in packet. network order. 128 uint16_t qid, uint16_t qflags, struct edns_data* edns);
|
/freebsd-10.0-release/sys/dev/iwn/ |
H A D | if_iwn.c | 959 int qid; local 986 for (qid = 0; qid < sc->ntxqs; qid++) 987 iwn_free_tx_ring(sc, &sc->txq[qid]); 1544 iwn_alloc_tx_ring(struct iwn_softc *sc, struct iwn_tx_ring *ring, int qid) argument 1550 ring->qid = qid; 1636 sc->qfullmsk &= ~(1 << ring->qid); 2639 int ackfailcnt = 0, i, lastidx, qid, *re local 2855 int qid; local 2882 int qid; local 3008 iwn_ampdu_tx_done(struct iwn_softc *sc, int qid, int idx, int nframes, void *stat) argument 3300 int qid; local 3498 iwn4965_update_sched(struct iwn_softc *sc, int qid, int idx, uint8_t id, uint16_t len) argument 3516 iwn5000_update_sched(struct iwn_softc *sc, int qid, int idx, uint8_t id, uint16_t len) argument 3535 iwn5000_reset_sched(struct iwn_softc *sc, int qid, int idx) argument 5971 int qid; local 6001 int qid = *(int *)tap->txa_private; local 6033 int error, qid; local 6066 int qid; local 6088 iwn4965_ampdu_tx_start(struct iwn_softc *sc, struct ieee80211_node *ni, int qid, uint8_t tid, uint16_t ssn) argument 6128 iwn4965_ampdu_tx_stop(struct iwn_softc *sc, int qid, uint8_t tid, uint16_t ssn) argument 6149 iwn5000_ampdu_tx_start(struct iwn_softc *sc, struct ieee80211_node *ni, int qid, uint8_t tid, uint16_t ssn) argument 6188 iwn5000_ampdu_tx_stop(struct iwn_softc *sc, int qid, uint8_t tid, uint16_t ssn) argument 6333 int error, qid; local 6388 int error, qid; local 7117 int error, chnl, qid; local 7229 int chnl, qid, ntries; local [all...] |
H A D | if_iwnreg.h | 109 #define IWN_FH_TFBD_CTRL0(qid) (0x1900 + (qid) * 8) 110 #define IWN_FH_TFBD_CTRL1(qid) (0x1904 + (qid) * 8) 112 #define IWN_FH_SRAM_ADDR(qid) (0x19a4 + (qid) * 4) 113 #define IWN_FH_CBBC_QUEUE(qid) (0x19d0 + (qid) * 4) 119 #define IWN_FH_TX_CONFIG(qid) (0x1d00 + (qid) * 3 441 uint8_t qid; member in struct:iwn_rx_desc 510 uint8_t qid; member in struct:iwn_tx_cmd 1359 uint16_t qid; member in struct:iwn_compressed_ba [all...] |
/freebsd-10.0-release/sys/dev/ral/ |
H A D | rt2860reg.h | 47 #define RT2860_TX_BASE_PTR(qid) (0x0230 + (qid) * 16) 48 #define RT2860_TX_MAX_CNT(qid) (0x0234 + (qid) * 16) 49 #define RT2860_TX_CTX_IDX(qid) (0x0238 + (qid) * 16) 50 #define RT2860_TX_DTX_IDX(qid) (0x023c + (qid) * 16) 66 #define RT2860_TXQ_IO(qid) (0x041c + (qid) * [all...] |
H A D | rt2860.c | 225 int error, ntries, qid; local 276 for (qid = 0; qid < 6; qid++) { 277 if ((error = rt2860_alloc_tx_ring(sc, &sc->txq[qid])) != 0) { 279 "could not allocate Tx ring %d\n", qid); 370 fail2: while (--qid >= 0) 371 rt2860_free_tx_ring(sc, &sc->txq[qid]); 383 int qid; local 391 for (qid 1135 rt2860_tx_intr(struct rt2860_softc *sc, int qid) argument 1487 uint8_t type, qsel, mcs, pid, tid, qid; local 1770 uint8_t type, qsel, mcs, pid, tid, qid; local 3597 int i, qid, ridx, ntries, error; local 3857 int qid; local [all...] |
/freebsd-10.0-release/sys/dev/usb/wlan/ |
H A D | if_runreg.h | 50 #define RT2860_TX_BASE_PTR(qid) (0x0230 + (qid) * 16) 51 #define RT2860_TX_MAX_CNT(qid) (0x0234 + (qid) * 16) 52 #define RT2860_TX_CTX_IDX(qid) (0x0238 + (qid) * 16) 53 #define RT2860_TX_DTX_IDX(qid) (0x023c + (qid) * 16) 69 #define RT2860_TXQ_IO(qid) (0x041c + (qid) * [all...] |
/freebsd-10.0-release/sbin/pfctl/ |
H A D | pfctl_qstats.c | 165 if (pa.altq.qid > 0 && 168 if (pa.altq.qid > 0) { 291 printf(" [ qid=%u ifname=%s ifbandwidth=%s ]\n", 292 node->altq.qid, node->altq.ifname, 303 if (a->altq.qid == 0) 405 if (a->altq.qid == 0)
|
/freebsd-10.0-release/sys/contrib/altq/altq/ |
H A D | altq_priq.c | 175 if (a->qid == 0) 179 if (clh_to_clp(pif, a->qid) != NULL) 183 a->pq_u.priq_opts.flags, a->qid); 199 if ((cl = clh_to_clp(pif, a->qid)) == NULL) 216 if ((cl = clh_to_clp(pif, a->qid)) == NULL) 284 priq_class_create(struct priq_if *pif, int pri, int qlimit, int flags, int qid) argument 343 cl->cl_handle = qid; 475 cl = clh_to_clp(pif, t->qid); 901 int qid; local 911 qid [all...] |
H A D | if_altq.h | 110 u_int32_t qid; /* queue id */ member in struct:altq_tag
|
/freebsd-10.0-release/contrib/unbound/libunbound/ |
H A D | libworker.c | 569 uint16_t qflags, qid; local 578 qid = 0; 582 ldns_buffer_write_u16_at(w->back->udp_buff, 0, qid); 595 w->back->udp_buff, qid, libworker_fg_done_cb, q)) { 683 uint16_t qflags, qid; local 703 qid = 0; 706 ldns_buffer_write_u16_at(w->back->udp_buff, 0, qid); 719 w->back->udp_buff, qid, libworker_bg_done_cb, q)) {
|