/drivers/net/ethernet/samsung/sxgbe/ |
D | sxgbe_reg.h | 264 #define SXGBE_MTL_TXQ_OPMODE_REG(qnum) \ argument 265 (SXGBE_MTL_TC_TXBASE_REG + (qnum * 0x80) + 0x00) 269 #define SXGBE_MTL_TXQ_UNDERFLOW_REG(qnum) \ argument 270 (SXGBE_MTL_TC_TXBASE_REG + (qnum * 0x80) + 0x04) 271 #define SXGBE_MTL_TXQ_DEBUG_REG(qnum) \ argument 272 (SXGBE_MTL_TC_TXBASE_REG + (qnum * 0x80) + 0x08) 273 #define SXGBE_MTL_TXQ_ETSCTL_REG(qnum) \ argument 274 (SXGBE_MTL_TC_TXBASE_REG + (qnum * 0x80) + 0x10) 275 #define SXGBE_MTL_TXQ_ETSSTATUS_REG(qnum) \ argument 276 (SXGBE_MTL_TC_TXBASE_REG + (qnum * 0x80) + 0x14) [all …]
|
D | sxgbe_main.c | 1455 u8 qnum = priv->cur_rx_qnum; in sxgbe_rx_refill() local 1457 for (; priv->rxq[qnum]->cur_rx - priv->rxq[qnum]->dirty_rx > 0; in sxgbe_rx_refill() 1458 priv->rxq[qnum]->dirty_rx++) { in sxgbe_rx_refill() 1459 unsigned int entry = priv->rxq[qnum]->dirty_rx % rxsize; in sxgbe_rx_refill() 1462 p = priv->rxq[qnum]->dma_rx + entry; in sxgbe_rx_refill() 1464 if (likely(priv->rxq[qnum]->rx_skbuff[entry] == NULL)) { in sxgbe_rx_refill() 1472 priv->rxq[qnum]->rx_skbuff[entry] = skb; in sxgbe_rx_refill() 1473 priv->rxq[qnum]->rx_skbuff_dma[entry] = in sxgbe_rx_refill() 1478 priv->rxq[qnum]->rx_skbuff_dma[entry]; in sxgbe_rx_refill() 1499 u8 qnum = priv->cur_rx_qnum; in sxgbe_rx() local [all …]
|
/drivers/net/wireless/ath/ath5k/ |
D | trace.h | 47 __field(u8, qnum) 54 __entry->qnum = (u8) q->qnum; 60 __entry->qnum 73 __field(u8, qnum) 82 __entry->qnum = (u8) q->qnum; 90 __entry->priv, __entry->skbaddr, __entry->qnum,
|
D | mac80211-ops.c | 62 u16 qnum = skb_get_queue_mapping(skb); in ath5k_tx() local 64 if (WARN_ON(qnum >= ah->ah_capabilities.cap_queues.q_tx_num)) { in ath5k_tx() 69 ath5k_tx_queue(hw, skb, &ah->txqs[qnum], control); in ath5k_tx() 756 u16 qnum; in ath5k_set_ringparam() local 766 for (qnum = 0; qnum < ARRAY_SIZE(ah->txqs); qnum++) { in ath5k_set_ringparam() 767 if (!ah->txqs[qnum].setup) in ath5k_set_ringparam() 769 if (ah->txqs[qnum].qnum < AR5K_TX_QUEUE_ID_DATA_MIN || in ath5k_set_ringparam() 770 ah->txqs[qnum].qnum > AR5K_TX_QUEUE_ID_DATA_MAX) in ath5k_set_ringparam() 773 ah->txqs[qnum].txq_max = tx; in ath5k_set_ringparam() 774 if (ah->txqs[qnum].txq_len >= ah->txqs[qnum].txq_max) in ath5k_set_ringparam() [all …]
|
D | base.c | 834 ath5k_hw_set_txdp(ah, txq->qnum, bf->daddr); in ath5k_txbuf_setup() 839 ath5k_hw_start_tx_dma(ah, txq->qnum); in ath5k_txbuf_setup() 987 int qnum; in ath5k_txq_setup() local 1003 qnum = ath5k_hw_setup_tx_queue(ah, qtype, &qi); in ath5k_txq_setup() 1004 if (qnum < 0) { in ath5k_txq_setup() 1009 return ERR_PTR(qnum); in ath5k_txq_setup() 1011 txq = &ah->txqs[qnum]; in ath5k_txq_setup() 1013 txq->qnum = qnum; in ath5k_txq_setup() 1023 return &ah->txqs[qnum]; in ath5k_txq_setup() 1147 ath5k_hw_release_tx_queue(ah, txq->qnum); in ath5k_txq_release() [all …]
|
D | ath5k.h | 630 unsigned int qnum; member
|
/drivers/net/wireless/ath/ath9k/ |
D | htc_drv_txrx.c | 103 u16 qnum) in get_htc_epid() argument 107 switch (qnum) { in get_htc_epid() 188 int ath_htc_txq_update(struct ath9k_htc_priv *priv, int qnum, in ath_htc_txq_update() argument 195 ath9k_hw_get_txq_props(ah, qnum, &qi); in ath_htc_txq_update() 203 if (!ath9k_hw_set_txq_props(ah, qnum, &qi)) { in ath_htc_txq_update() 205 "Unable to update hardware queue %u!\n", qnum); in ath_htc_txq_update() 208 ath9k_hw_resettxqueue(ah, qnum); in ath_htc_txq_update() 272 u16 qnum; in ath9k_htc_tx_data() local 331 qnum = skb_get_queue_mapping(skb); in ath9k_htc_tx_data() 332 tx_ctl->epid = get_htc_epid(priv, qnum); in ath9k_htc_tx_data() [all …]
|
D | ar9002_phy.c | 540 static void ar9002_hw_tx99_start(struct ath_hw *ah, u32 qnum) in ar9002_hw_tx99_start() argument 546 REG_WRITE(ah, AR_DLCL_IFS(qnum), 0); in ar9002_hw_tx99_start() 549 REG_WRITE(ah, AR_D_FPCTL, 0x10|qnum); in ar9002_hw_tx99_start() 551 REG_WRITE(ah, AR_DRETRY_LIMIT(qnum), 0xffffffff); in ar9002_hw_tx99_start() 552 REG_SET_BIT(ah, AR_QMISC(qnum), AR_Q_MISC_DCU_EARLY_TERM_REQ); in ar9002_hw_tx99_start()
|
D | debug.c | 788 int qnum = txq->axq_qnum; in ath_debug_stat_tx() local 790 TX_STAT_INC(qnum, tx_pkts_all); in ath_debug_stat_tx() 791 sc->debug.stats.txstats[qnum].tx_bytes_all += bf->bf_mpdu->len; in ath_debug_stat_tx() 795 TX_STAT_INC(qnum, a_xretries); in ath_debug_stat_tx() 797 TX_STAT_INC(qnum, a_completed); in ath_debug_stat_tx() 800 TX_STAT_INC(qnum, xretries); in ath_debug_stat_tx() 802 TX_STAT_INC(qnum, completed); in ath_debug_stat_tx() 806 TX_STAT_INC(qnum, txerr_filtered); in ath_debug_stat_tx() 808 TX_STAT_INC(qnum, fifo_underrun); in ath_debug_stat_tx() 810 TX_STAT_INC(qnum, xtxop); in ath_debug_stat_tx() [all …]
|
D | htc_drv_gpio.c | 186 int qnum; in ath9k_htc_init_btcoex() local 210 qnum = priv->hwq_map[IEEE80211_AC_BE]; in ath9k_htc_init_btcoex() 211 ath9k_hw_init_btcoex_hw(priv->ah, qnum); in ath9k_htc_init_btcoex()
|
D | hw-ops.h | 87 static inline void ath9k_hw_tx99_start(struct ath_hw *ah, u32 qnum) in ath9k_hw_tx99_start() argument 89 ath9k_hw_ops(ah)->tx99_start(ah, qnum); in ath9k_hw_tx99_start()
|
D | btcoex.h | 127 void ath9k_hw_init_btcoex_hw(struct ath_hw *ah, int qnum);
|
D | btcoex.c | 55 void ath9k_hw_init_btcoex_hw(struct ath_hw *ah, int qnum) in ath9k_hw_init_btcoex_hw() argument 84 SM(qnum, AR_BT_QCU_THRESH); in ath9k_hw_init_btcoex_hw()
|
D | xmit.c | 1748 int ath_txq_update(struct ath_softc *sc, int qnum, in ath_txq_update() argument 1755 BUG_ON(sc->tx.txq[qnum].axq_qnum != qnum); in ath_txq_update() 1757 ath9k_hw_get_txq_props(ah, qnum, &qi); in ath_txq_update() 1764 if (!ath9k_hw_set_txq_props(ah, qnum, &qi)) { in ath_txq_update() 1766 "Unable to update hardware queue %u!\n", qnum); in ath_txq_update() 1769 ath9k_hw_resettxqueue(ah, qnum); in ath_txq_update() 1779 int qnum = sc->beacon.cabq->axq_qnum; in ath_cabq_update() local 1781 ath9k_hw_get_txq_props(sc->sc_ah, qnum, &qi); in ath_cabq_update() 1785 ath_txq_update(sc, qnum, &qi); in ath_cabq_update()
|
D | htc_drv_beacon.c | 37 int qnum = priv->hwq_map[IEEE80211_AC_BE]; in ath9k_htc_beaconq_config() local 39 ath9k_hw_get_txq_props(ah, qnum, &qi_be); in ath9k_htc_beaconq_config()
|
D | htc_drv_main.c | 1380 int ret = 0, qnum; in ath9k_htc_conf_tx() local 1395 qnum = get_hw_qnum(queue, priv->hwq_map); in ath9k_htc_conf_tx() 1399 queue, qnum, params->aifs, params->cw_min, in ath9k_htc_conf_tx() 1402 ret = ath_htc_txq_update(priv, qnum, &qi); in ath9k_htc_conf_tx() 1409 (qnum == priv->hwq_map[IEEE80211_AC_BE])) in ath9k_htc_conf_tx()
|
D | hw.c | 1517 u32 qnum; in ath9k_hw_channel_change() local 1526 for (qnum = 0; qnum < AR_NUM_QCU; qnum++) { in ath9k_hw_channel_change() 1527 if (ath9k_hw_numtxpending(ah, qnum)) { in ath9k_hw_channel_change() 1529 "Transmit frames pending on queue %d\n", qnum); in ath9k_hw_channel_change()
|
D | ar9003_phy.c | 1815 static void ar9003_hw_tx99_start(struct ath_hw *ah, u32 qnum) in ar9003_hw_tx99_start() argument 1820 REG_WRITE(ah, AR_DLCL_IFS(qnum), 0); in ar9003_hw_tx99_start() 1824 REG_WRITE(ah, AR_DRETRY_LIMIT(qnum), 0xffffffff); in ar9003_hw_tx99_start() 1825 REG_SET_BIT(ah, AR_QMISC(qnum), AR_Q_MISC_DCU_EARLY_TERM_REQ); in ar9003_hw_tx99_start()
|
D | htc.h | 578 int ath_htc_txq_update(struct ath9k_htc_priv *priv, int qnum,
|
D | ath9k.h | 565 int ath_txq_update(struct ath_softc *sc, int qnum,
|
/drivers/net/ethernet/via/ |
D | via-velocity.c | 1904 int qnum; in velocity_tx_srv() local 1911 for (qnum = 0; qnum < vptr->tx.numq; qnum++) { in velocity_tx_srv() 1912 for (idx = vptr->tx.tail[qnum]; vptr->tx.used[qnum] > 0; in velocity_tx_srv() 1918 td = &(vptr->tx.rings[qnum][idx]); in velocity_tx_srv() 1919 tdinfo = &(vptr->tx.infos[qnum][idx]); in velocity_tx_srv() 1943 vptr->tx.used[qnum]--; in velocity_tx_srv() 1945 vptr->tx.tail[qnum] = idx; in velocity_tx_srv() 1947 if (AVAIL_TD(vptr, qnum) < 1) in velocity_tx_srv() 2536 int qnum = 0; in velocity_xmit() local 2560 index = vptr->tx.curr[qnum]; in velocity_xmit() [all …]
|
/drivers/net/ethernet/chelsio/cxgb3/ |
D | cxgb3_ioctl.h | 96 int32_t qnum; member
|
/drivers/net/wireless/realtek/rtlwifi/ |
D | core.c | 962 int qnum; in _rtl_get_hal_qnum() local 966 qnum = AC3_VO; in _rtl_get_hal_qnum() 969 qnum = AC2_VI; in _rtl_get_hal_qnum() 972 qnum = AC0_BE; in _rtl_get_hal_qnum() 975 qnum = AC1_BK; in _rtl_get_hal_qnum() 978 qnum = AC0_BE; in _rtl_get_hal_qnum() 981 return qnum; in _rtl_get_hal_qnum()
|
D | usb.c | 951 enum rtl_txq qnum) in _rtl_usb_transmit() argument 966 ep_num = rtlusb->ep_map.ep_mapping[qnum]; in _rtl_usb_transmit()
|
/drivers/net/ |
D | virtio_net.c | 936 int qnum = skb_get_queue_mapping(skb); in start_xmit() local 937 struct send_queue *sq = &vi->sq[qnum]; in start_xmit() 939 struct netdev_queue *txq = netdev_get_tx_queue(dev, qnum); in start_xmit() 956 "Unexpected TXQ (%d) queue failure: %d\n", qnum, err); in start_xmit() 977 netif_stop_subqueue(dev, qnum); in start_xmit() 982 netif_start_subqueue(dev, qnum); in start_xmit()
|