Searched refs:qnum (Results 1 - 25 of 33) sorted by relevance

12

/freebsd-11-stable/sys/dev/ath/
H A Dif_ath_debug.c136 u_int qnum, u_int ix, int done)
145 printf("Q%u[%3u] (nseg=%d)", qnum, ix, bf->bf_nseg);
199 u_int qnum, u_int ix, int done)
207 printf("Q%u[%3u]", qnum, ix);
242 u_int qnum, u_int ix, int done)
245 ath_printtxbuf_edma(sc, first_bf, qnum, ix, done);
247 ath_printtxbuf_legacy(sc, first_bf, qnum, ix, done);
252 const uint32_t *ds, u_int qnum, u_int ix, int done)
255 printf("Q%u[%3u] ", qnum, ix);
135 ath_printtxbuf_edma(struct ath_softc *sc, const struct ath_buf *first_bf, u_int qnum, u_int ix, int done) argument
198 ath_printtxbuf_legacy(struct ath_softc *sc, const struct ath_buf *first_bf, u_int qnum, u_int ix, int done) argument
241 ath_printtxbuf(struct ath_softc *sc, const struct ath_buf *first_bf, u_int qnum, u_int ix, int done) argument
251 ath_printtxstatbuf(struct ath_softc *sc, const struct ath_buf *first_bf, const uint32_t *ds, u_int qnum, u_int ix, int done) argument
H A Dif_ath_debug.h108 u_int qnum, u_int ix, int done);
110 const uint32_t *ds, u_int qnum, u_int ix, int done);
H A Dif_ath_tx_edma.c613 "%s: called; bf=%p, txq=%p, qnum=%d\n",
626 ath_edma_setup_txfifo(struct ath_softc *sc, int qnum) argument
628 struct ath_tx_edma_fifo *te = &sc->sc_txedma[qnum];
648 ath_edma_free_txfifo(struct ath_softc *sc, int qnum) argument
650 struct ath_tx_edma_fifo *te = &sc->sc_txedma[qnum];
H A Dif_ath.c3831 ath_txq_init(struct ath_softc *sc, struct ath_txq *txq, int qnum) argument
3833 txq->axq_qnum = qnum;
3854 int qnum; local
3880 qnum = ath_hal_setuptxqueue(ah, qtype, &qi);
3881 if (qnum == -1) {
3888 if (qnum >= nitems(sc->sc_txq)) {
3890 "hal qnum %u out of range, max %zu!\n",
3891 qnum, nitems(sc->sc_txq));
3892 ath_hal_releasetxqueue(ah, qnum);
3895 if (!ATH_TXQ_SETUP(sc, qnum)) {
[all...]
/freebsd-11-stable/sys/contrib/dev/ath/ath_hal/ar9300/
H A Dar9300_xmit_ds.c441 static int qnum = 0;
469 if (mode == 8) { /* set TXE for qnum */
470 OS_REG_WRITE(ah, AR_Q_TXE, 1 << qnum);
480 qnum = (int) ds;
498 OS_REG_WRITE(ah, AR_DLCL_IFS(qnum), 0);
499 OS_REG_WRITE(ah, AR_DRETRY_LIMIT(qnum), 0xffffffff);
506 OS_REG_WRITE(ah, AR_DRETRY_LIMIT(qnum), 0xffffffff);
507 /* enable prefetch on qnum */
508 OS_REG_WRITE(ah, AR_D_FPCTL, 0x10 | qnum);
512 OS_REG_WRITE(ah, AR_QMISC(qnum), /* se
[all...]
H A Dar9300_tx99_tgt.c498 a_uint32_t qnum = (a_uint32_t)data; local
508 OS_REG_WRITE(ah, AR_DLCL_IFS(qnum), 0);
512 OS_REG_WRITE(ah, AR_DRETRY_LIMIT(qnum), 0xffffffff);
515 val = OS_REG_READ(ah, AR_QMISC(qnum));
516 OS_REG_WRITE(ah, AR_QMISC(qnum), val | AR_Q_MISC_DCU_EARLY_TERM_REQ);
H A Dar9300_misc.c2397 ar9300_bt_coex_set_qcu_thresh(struct ath_hal *ah, int qnum) argument
2403 ahp->ah_bt_coex_mode |= SM(qnum, AR_BT_QCU_THRESH);
3810 u_int32_t qnum = (u_int32_t)data; local
3818 OS_REG_WRITE(ah, AR_DLCL_IFS(qnum), 0);
3823 OS_REG_WRITE(ah, AR_DRETRY_LIMIT(qnum), 0xffffffff);
3826 val = OS_REG_READ(ah, AR_QMISC(qnum));
3827 OS_REG_WRITE(ah, AR_QMISC(qnum), val | AR_Q_MISC_DCU_EARLY_TERM_REQ);
/freebsd-11-stable/sys/dev/ath/ath_hal/ar5416/
H A Dar5416_btcoex.c85 ar5416BTCoexSetQcuThresh(struct ath_hal *ah, int qnum) argument
89 ahp->ah_btCoexMode |= SM(qnum, AR_BT_QCU_THRESH);
H A Dar5416_reset.c492 uint32_t data, synthDelay, qnum;
503 for (qnum = 0; qnum < AH_PRIVATE(ah)->ah_caps.halTotalQueues; qnum++) {
504 if (ar5212NumTxPending(ah, qnum)) {
506 "%s: frames pending on queue %d\n", __func__, qnum);
/freebsd-11-stable/sys/dev/mwl/
H A Dif_mwlvar.h124 int qnum; /* f/w q number */ member in struct:mwl_txq
133 device_get_nameunit((_sc)->sc_dev), (_tq)->qnum); \
H A Dmwlhal.h157 mwl_hal_txstart(struct mwl_hal *mh, int qnum) argument
607 int mwl_hal_setedcaparams(struct mwl_hal *mh, uint8_t qnum,
H A Dif_mwl.c250 static void mwl_printtxbuf(const struct mwl_txbuf *bf, u_int qnum, u_int ix);
1284 "%s: out of xmit buffers on q %d\n", __func__, txq->qnum);
1371 "%s: tail drop on q %d\n", __func__, txq->qnum);
2828 mwl_txq_init(struct mwl_softc *sc, struct mwl_txq *txq, int qnum) argument
2834 txq->qnum = qnum;
2897 if (mwl_hal_setedcaparams(mh, txq->qnum, cwmin, cwmax, aifs, txoplim)) {
3258 ds->TxPriority = txq->qnum;
3276 ds->TxPriority = txq->qnum;
3278 ds->TxPriority = txq->qnum;
4493 mwl_printtxbuf(const struct mwl_txbuf *bf, u_int qnum, u_int ix) argument
[all...]
/freebsd-11-stable/sys/dev/malo/
H A Dif_malo.c742 malo_txq_init(struct malo_softc *sc, struct malo_txq *txq, int qnum) argument
748 txq->qnum = qnum;
790 "%s: out of xmit buffers on q %d\n", __func__, txq->qnum);
872 malo_printtxbuf(const struct malo_txbuf *bf, u_int qnum, u_int ix) argument
877 printf("Q%u[%3u]", qnum, ix);
936 __func__, txq->qnum);
956 malo_printtxbuf(bf, txq->qnum, nreaped);
1177 ds->txpriority = txq->qnum;
1600 malo_printtxbuf(bf, txq->qnum, i
[all...]
H A Dif_malo.h487 int qnum; /* f/w q number */ member in struct:malo_txq
496 device_get_nameunit((_sc)->malo_dev), (_tq)->qnum); \
/freebsd-11-stable/sys/mips/nlm/dev/sec/
H A Dnlmrsa.c272 int qstart, qnum; local
293 qnum = nlm_qnum(base);
295 sc->rsaecc_vc_end = qstart + qnum - 1;
H A Dnlmsec.c377 int qstart, qnum; local
420 qnum = nlm_qnum(base);
422 sc->sec_vc_end = qstart + qnum - 1;
/freebsd-11-stable/usr.sbin/bhyve/
H A Dpci_virtio_console.c234 int qnum; local
236 qnum = tx_queue ? port->vsp_txq : port->vsp_rxq;
237 return (&port->vsp_sc->vsc_queues[qnum]);
/freebsd-11-stable/sys/dev/usb/wlan/
H A Dif_uathreg.h358 uint32_t qnum; member in struct:uath_cmd_txq_setparams
383 uint32_t qnum; member in struct:uath_cmd_stoptxdma
/freebsd-11-stable/sys/dev/cxgb/
H A Dcxgb_ioctl.h114 int32_t qnum; member in struct:ch_qset_params
H A Dcxgb_sge.c3674 * @qnum: identifies the specific queue (0..2: Tx, 3:response, 4..5: Rx)
3682 t3_get_desc(const struct sge_qset *qs, unsigned int qnum, unsigned int idx, argument
3685 if (qnum >= 6)
3688 if (qnum < 3) {
3689 if (!qs->txq[qnum].desc || idx >= qs->txq[qnum].size)
3691 memcpy(data, &qs->txq[qnum].desc[idx], sizeof(struct tx_desc));
3695 if (qnum == 3) {
3702 qnum -= 4;
3703 if (!qs->fl[qnum]
[all...]
/freebsd-11-stable/tools/tools/cxgbtool/
H A Dcxgbtool.c777 unsigned int n = 1, qset, qnum; local
784 get_int_arg(argv[start_arg + 1], &qnum) ||
791 if (qnum > 5)
792 errx(1, "invalid queue number %d, range is 0..5", qnum);
794 desc.queue_num = qset * 6 + qnum;
1111 qp.qnum,
/freebsd-11-stable/sys/mips/nlm/dev/net/
H A Dxlpge.c548 int port, i, j, nchan, nblock, node, qstart, qnum; local
637 * range of qstart to qnum.
640 qnum = nlm_qnum(nae_pcibase);
641 if (register_msgring_handler(qstart, qstart + qnum - 1,
647 * range of qstart to qnum.
650 qnum = nlm_qnum(poe_pcibase);
651 if (register_msgring_handler(qstart, qstart + qnum - 1,
/freebsd-11-stable/sys/dev/ath/ath_hal/ar5211/
H A Dar5211.h185 extern uint32_t ar5211NumTxPending(struct ath_hal *, u_int qnum);
/freebsd-11-stable/sys/dev/ixl/
H A Dixl_pf_iov.c38 static void ixl_vf_map_vsi_queue(struct i40e_hw *hw, struct ixl_vf *vf, int qnum, uint32_t val);
215 ixl_vf_map_vsi_queue(struct i40e_hw *hw, struct ixl_vf *vf, int qnum, argument
226 index = qnum / 2;
227 shift = (qnum % 2) * I40E_VSILAN_QTABLE_QINDEX_1_SHIFT;
/freebsd-11-stable/sys/dev/ath/ath_hal/ar5212/
H A Dar5212_reset.c732 uint32_t data, synthDelay, qnum; local
743 for (qnum = 0; qnum < AH_PRIVATE(ah)->ah_caps.halTotalQueues; qnum++) {
744 if (ar5212NumTxPending(ah, qnum)) {

Completed in 406 milliseconds

12