/freebsd/sys/dev/ath/ |
H A D | if_ath_debug.c | 136 u_int qnum, u_int ix, int done) in ath_printtxbuf_edma() argument 145 printf("Q%u[%3u] (nseg=%d)", qnum, ix, bf->bf_nseg); in ath_printtxbuf_edma() 199 u_int qnum, u_int ix, int done) in ath_printtxbuf_legacy() argument 207 printf("Q%u[%3u]", qnum, ix); in ath_printtxbuf_legacy() 242 u_int qnum, u_int ix, int done) in ath_printtxbuf() argument 245 ath_printtxbuf_edma(sc, first_bf, qnum, ix, done); in ath_printtxbuf() 247 ath_printtxbuf_legacy(sc, first_bf, qnum, ix, done); in ath_printtxbuf() 252 const uint32_t *ds, u_int qnum, u_int ix, int done) in ath_printtxstatbuf() argument 255 printf("Q%u[%3u] ", qnum, ix); in ath_printtxstatbuf()
|
H A D | if_ath_debug.h | 109 u_int qnum, u_int ix, int done); 111 const uint32_t *ds, u_int qnum, u_int ix, int done);
|
H A D | if_ath_tx_edma.c | 638 ath_edma_setup_txfifo(struct ath_softc *sc, int qnum) in ath_edma_setup_txfifo() argument 640 struct ath_tx_edma_fifo *te = &sc->sc_txedma[qnum]; in ath_edma_setup_txfifo() 660 ath_edma_free_txfifo(struct ath_softc *sc, int qnum) in ath_edma_free_txfifo() argument 662 struct ath_tx_edma_fifo *te = &sc->sc_txedma[qnum]; in ath_edma_free_txfifo()
|
H A D | if_ath.c | 3987 ath_txq_init(struct ath_softc *sc, struct ath_txq *txq, int qnum) in ath_txq_init() argument 3989 txq->axq_qnum = qnum; in ath_txq_init() 4010 int qnum; in ath_txq_setup() local 4036 qnum = ath_hal_setuptxqueue(ah, qtype, &qi); in ath_txq_setup() 4037 if (qnum == -1) { in ath_txq_setup() 4044 if (qnum >= nitems(sc->sc_txq)) { in ath_txq_setup() 4047 qnum, nitems(sc->sc_txq)); in ath_txq_setup() 4048 ath_hal_releasetxqueue(ah, qnum); in ath_txq_setup() 4051 if (!ATH_TXQ_SETUP(sc, qnum)) { in ath_txq_setup() 4052 ath_txq_init(sc, &sc->sc_txq[qnum], qnum); in ath_txq_setup() [all …]
|
/freebsd/sys/contrib/dev/ath/ath_hal/ar9300/ |
H A D | ar9300_xmit_ds.c | 448 static int qnum = 0; in ar9300__cont_tx_mode() 477 OS_REG_WRITE(ah, AR_Q_TXE, 1 << qnum); in ar9300__cont_tx_mode() 487 qnum = (int) ds; in ar9300__cont_tx_mode() 505 OS_REG_WRITE(ah, AR_DLCL_IFS(qnum), 0); in ar9300__cont_tx_mode() 506 OS_REG_WRITE(ah, AR_DRETRY_LIMIT(qnum), 0xffffffff); in ar9300__cont_tx_mode() 513 OS_REG_WRITE(ah, AR_DRETRY_LIMIT(qnum), 0xffffffff); in ar9300__cont_tx_mode() 515 OS_REG_WRITE(ah, AR_D_FPCTL, 0x10 | qnum); in ar9300__cont_tx_mode() 519 OS_REG_WRITE(ah, AR_QMISC(qnum), /* set QCU modes */ in ar9300__cont_tx_mode() 528 qbits &= ~(1 << qnum); in ar9300__cont_tx_mode() 530 if (i == qnum) { in ar9300__cont_tx_mode() [all …]
|
H A D | ar9300_tx99_tgt.c | 498 a_uint32_t qnum = (a_uint32_t)data; in ar9300_tx99_tgt_start() local 508 OS_REG_WRITE(ah, AR_DLCL_IFS(qnum), 0); in ar9300_tx99_tgt_start() 512 OS_REG_WRITE(ah, AR_DRETRY_LIMIT(qnum), 0xffffffff); in ar9300_tx99_tgt_start() 515 val = OS_REG_READ(ah, AR_QMISC(qnum)); in ar9300_tx99_tgt_start() 516 OS_REG_WRITE(ah, AR_QMISC(qnum), val | AR_Q_MISC_DCU_EARLY_TERM_REQ); in ar9300_tx99_tgt_start()
|
H A D | ar9300_misc.c | 2420 ar9300_bt_coex_set_qcu_thresh(struct ath_hal *ah, int qnum) in ar9300_bt_coex_set_qcu_thresh() argument 2426 ahp->ah_bt_coex_mode |= SM(qnum, AR_BT_QCU_THRESH); in ar9300_bt_coex_set_qcu_thresh() 3833 u_int32_t qnum = (u_int32_t)data; in ar9300_tx99_start() local 3841 OS_REG_WRITE(ah, AR_DLCL_IFS(qnum), 0); in ar9300_tx99_start() 3846 OS_REG_WRITE(ah, AR_DRETRY_LIMIT(qnum), 0xffffffff); in ar9300_tx99_start() 3849 val = OS_REG_READ(ah, AR_QMISC(qnum)); in ar9300_tx99_start() 3850 OS_REG_WRITE(ah, AR_QMISC(qnum), val | AR_Q_MISC_DCU_EARLY_TERM_REQ); in ar9300_tx99_start()
|
/freebsd/contrib/less/ |
H A D | os.c | 406 uintmax qnum = q * num; in muldiv() local 408 uintmax quot = qnum + rnum / den; in muldiv()
|
/freebsd/sys/dev/malo/ |
H A D | if_malo.c | 735 malo_txq_init(struct malo_softc *sc, struct malo_txq *txq, int qnum) in malo_txq_init() argument 741 txq->qnum = qnum; in malo_txq_init() 783 "%s: out of xmit buffers on q %d\n", __func__, txq->qnum); in malo_getbuf() 865 malo_printtxbuf(const struct malo_txbuf *bf, u_int qnum, u_int ix) in malo_printtxbuf() argument 870 printf("Q%u[%3u]", qnum, ix); in malo_printtxbuf() 925 __func__, txq->qnum); in malo_tx_processq() 945 malo_printtxbuf(bf, txq->qnum, nreaped); in malo_tx_processq() 1162 ds->txpriority = txq->qnum; in malo_tx_start() 1582 malo_printtxbuf(bf, txq->qnum, ix); in malo_tx_draintxq()
|
H A D | if_malo.h | 487 int qnum; /* f/w q number */ member 496 device_get_nameunit((_sc)->malo_dev), (_tq)->qnum); \
|
/freebsd/sys/dev/mwl/ |
H A D | if_mwlvar.h | 124 int qnum; /* f/w q number */ member 133 device_get_nameunit((_sc)->sc_dev), (_tq)->qnum); \
|
H A D | if_mwl.c | 244 static void mwl_printtxbuf(const struct mwl_txbuf *bf, u_int qnum, u_int ix); 1278 "%s: out of xmit buffers on q %d\n", __func__, txq->qnum); in mwl_gettxbuf() 1365 "%s: tail drop on q %d\n", __func__, txq->qnum); in mwl_start() 2821 mwl_txq_init(struct mwl_softc *sc, struct mwl_txq *txq, int qnum) in mwl_txq_init() argument 2827 txq->qnum = qnum; in mwl_txq_init() 2894 if (mwl_hal_setedcaparams(mh, txq->qnum, cwmin, cwmax, aifs, txoplim)) { in mwl_txq_update() 3253 ds->TxPriority = txq->qnum; in mwl_tx_start() 3271 ds->TxPriority = txq->qnum; in mwl_tx_start() 3273 ds->TxPriority = txq->qnum; in mwl_tx_start() 3322 DPRINTF(sc, MWL_DEBUG_TX_PROC, "%s: tx queue %u\n", __func__, txq->qnum); in mwl_tx_processq() [all …]
|
H A D | mwlhal.h | 157 mwl_hal_txstart(struct mwl_hal *mh, int qnum) in mwl_hal_txstart() argument 607 int mwl_hal_setedcaparams(struct mwl_hal *mh, uint8_t qnum,
|
/freebsd/sys/dev/ath/ath_hal/ar5416/ |
H A D | ar5416_btcoex.c | 85 ar5416BTCoexSetQcuThresh(struct ath_hal *ah, int qnum) in ar5416BTCoexSetQcuThresh() argument 89 ahp->ah_btCoexMode |= SM(qnum, AR_BT_QCU_THRESH); in ar5416BTCoexSetQcuThresh()
|
H A D | ar5416_reset.c | 493 uint32_t data, synthDelay, qnum; 504 for (qnum = 0; qnum < AH_PRIVATE(ah)->ah_caps.halTotalQueues; qnum++) { 505 if (ar5212NumTxPending(ah, qnum)) { 507 "%s: frames pending on queue %d\n", __func__, qnum);
|
/freebsd/sys/dev/usb/wlan/ |
H A D | if_uathreg.h | 357 uint32_t qnum; member 382 uint32_t qnum; member
|
/freebsd/usr.sbin/bhyve/ |
H A D | pci_virtio_console.c | 233 int qnum; in pci_vtcon_port_to_vq() local 235 qnum = tx_queue ? port->vsp_txq : port->vsp_rxq; in pci_vtcon_port_to_vq() 236 return (&port->vsp_sc->vsc_queues[qnum]); in pci_vtcon_port_to_vq()
|
/freebsd/tools/tools/cxgbtool/ |
H A D | cxgbtool.c | 776 unsigned int n = 1, qset, qnum; in get_sge_desc() local 783 get_int_arg(argv[start_arg + 1], &qnum) || in get_sge_desc() 790 if (qnum > 5) in get_sge_desc() 791 errx(1, "invalid queue number %d, range is 0..5", qnum); in get_sge_desc() 793 desc.queue_num = qset * 6 + qnum; in get_sge_desc() 1110 qp.qnum, in dump_qset_params()
|
/freebsd/sys/dev/cxgb/ |
H A D | cxgb_ioctl.h | 113 int32_t qnum; member
|
H A D | cxgb_sge.c | 3692 t3_get_desc(const struct sge_qset *qs, unsigned int qnum, unsigned int idx, in t3_get_desc() argument 3695 if (qnum >= 6) in t3_get_desc() 3698 if (qnum < 3) { in t3_get_desc() 3699 if (!qs->txq[qnum].desc || idx >= qs->txq[qnum].size) in t3_get_desc() 3701 memcpy(data, &qs->txq[qnum].desc[idx], sizeof(struct tx_desc)); in t3_get_desc() 3705 if (qnum == 3) { in t3_get_desc() 3712 qnum -= 4; in t3_get_desc() 3713 if (!qs->fl[qnum].desc || idx >= qs->fl[qnum].size) in t3_get_desc() 3715 memcpy(data, &qs->fl[qnum].desc[idx], sizeof(struct rx_desc)); in t3_get_desc()
|
H A D | cxgb_adapter.h | 512 int t3_get_desc(const struct sge_qset *qs, unsigned int qnum, unsigned int idx,
|
/freebsd/sys/compat/linuxkpi/common/include/net/ |
H A D | mac80211.h | 1390 ieee80211_stop_queue(struct ieee80211_hw *hw, int qnum) in ieee80211_beacon_get_tim() 1392 linuxkpi_ieee80211_stop_queue(hw, qnum); in ieee80211_beacon_get_tim() 1396 ieee80211_wake_queue(struct ieee80211_hw *hw, int qnum) in ieee80211_beacon_get_tim() 1398 linuxkpi_ieee80211_wake_queue(hw, qnum); 1327 ieee80211_stop_queue(struct ieee80211_hw * hw,int qnum) ieee80211_stop_queue() argument 1333 ieee80211_wake_queue(struct ieee80211_hw * hw,int qnum) ieee80211_wake_queue() argument
|
/freebsd/sys/dev/ath/ath_hal/ar5212/ |
H A D | ar5212_reset.c | 732 uint32_t data, synthDelay, qnum; in ar5212ChannelChange() local 743 for (qnum = 0; qnum < AH_PRIVATE(ah)->ah_caps.halTotalQueues; qnum++) { in ar5212ChannelChange() 744 if (ar5212NumTxPending(ah, qnum)) { in ar5212ChannelChange()
|
/freebsd/sys/dev/ixl/ |
H A D | ixl_pf_iov.c | 37 static void ixl_vf_map_vsi_queue(struct i40e_hw *hw, struct ixl_vf *vf, int qnum, uint32_t val); 221 ixl_vf_map_vsi_queue(struct i40e_hw *hw, struct ixl_vf *vf, int qnum, in ixl_vf_map_vsi_queue() argument 232 index = qnum / 2; in ixl_vf_map_vsi_queue() 233 shift = (qnum % 2) * I40E_VSILAN_QTABLE_QINDEX_1_SHIFT; in ixl_vf_map_vsi_queue()
|
/freebsd/sys/dev/ath/ath_hal/ar5211/ |
H A D | ar5211.h | 185 extern uint32_t ar5211NumTxPending(struct ath_hal *, u_int qnum);
|