Home
last modified time | relevance | path

Searched refs:qnum (Results 1 – 25 of 32) sorted by relevance

12

/drivers/net/ethernet/samsung/sxgbe/
Dsxgbe_reg.h261 #define SXGBE_MTL_TXQ_OPMODE_REG(qnum) \ argument
262 (SXGBE_MTL_TC_TXBASE_REG + (qnum * 0x80) + 0x00)
266 #define SXGBE_MTL_TXQ_UNDERFLOW_REG(qnum) \ argument
267 (SXGBE_MTL_TC_TXBASE_REG + (qnum * 0x80) + 0x04)
268 #define SXGBE_MTL_TXQ_DEBUG_REG(qnum) \ argument
269 (SXGBE_MTL_TC_TXBASE_REG + (qnum * 0x80) + 0x08)
270 #define SXGBE_MTL_TXQ_ETSCTL_REG(qnum) \ argument
271 (SXGBE_MTL_TC_TXBASE_REG + (qnum * 0x80) + 0x10)
272 #define SXGBE_MTL_TXQ_ETSSTATUS_REG(qnum) \ argument
273 (SXGBE_MTL_TC_TXBASE_REG + (qnum * 0x80) + 0x14)
[all …]
Dsxgbe_main.c1439 u8 qnum = priv->cur_rx_qnum; in sxgbe_rx_refill() local
1441 for (; priv->rxq[qnum]->cur_rx - priv->rxq[qnum]->dirty_rx > 0; in sxgbe_rx_refill()
1442 priv->rxq[qnum]->dirty_rx++) { in sxgbe_rx_refill()
1443 unsigned int entry = priv->rxq[qnum]->dirty_rx % rxsize; in sxgbe_rx_refill()
1446 p = priv->rxq[qnum]->dma_rx + entry; in sxgbe_rx_refill()
1448 if (likely(priv->rxq[qnum]->rx_skbuff[entry] == NULL)) { in sxgbe_rx_refill()
1456 priv->rxq[qnum]->rx_skbuff[entry] = skb; in sxgbe_rx_refill()
1457 priv->rxq[qnum]->rx_skbuff_dma[entry] = in sxgbe_rx_refill()
1462 priv->rxq[qnum]->rx_skbuff_dma[entry]; in sxgbe_rx_refill()
1483 u8 qnum = priv->cur_rx_qnum; in sxgbe_rx() local
[all …]
/drivers/net/wireless/ath/ath5k/
Dtrace.h48 __field(u8, qnum)
55 __entry->qnum = (u8) q->qnum;
61 __entry->qnum
74 __field(u8, qnum)
83 __entry->qnum = (u8) q->qnum;
91 __entry->priv, __entry->skbaddr, __entry->qnum,
Dmac80211-ops.c62 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()
755 u16 qnum; in ath5k_set_ringparam() local
765 for (qnum = 0; qnum < ARRAY_SIZE(ah->txqs); qnum++) { in ath5k_set_ringparam()
766 if (!ah->txqs[qnum].setup) in ath5k_set_ringparam()
768 if (ah->txqs[qnum].qnum < AR5K_TX_QUEUE_ID_DATA_MIN || in ath5k_set_ringparam()
769 ah->txqs[qnum].qnum > AR5K_TX_QUEUE_ID_DATA_MAX) in ath5k_set_ringparam()
772 ah->txqs[qnum].txq_max = tx; in ath5k_set_ringparam()
773 if (ah->txqs[qnum].txq_len >= ah->txqs[qnum].txq_max) in ath5k_set_ringparam()
[all …]
Dbase.c833 ath5k_hw_set_txdp(ah, txq->qnum, bf->daddr); in ath5k_txbuf_setup()
838 ath5k_hw_start_tx_dma(ah, txq->qnum); in ath5k_txbuf_setup()
985 int qnum; in ath5k_txq_setup() local
1001 qnum = ath5k_hw_setup_tx_queue(ah, qtype, &qi); in ath5k_txq_setup()
1002 if (qnum < 0) { in ath5k_txq_setup()
1007 return ERR_PTR(qnum); in ath5k_txq_setup()
1009 txq = &ah->txqs[qnum]; in ath5k_txq_setup()
1011 txq->qnum = qnum; in ath5k_txq_setup()
1021 return &ah->txqs[qnum]; in ath5k_txq_setup()
1145 ath5k_hw_release_tx_queue(ah, txq->qnum); in ath5k_txq_release()
[all …]
/drivers/net/wireless/ath/ath9k/
Dhtc_drv_txrx.c103 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
336 qnum = skb_get_queue_mapping(skb); in ath9k_htc_tx_data()
337 tx_ctl->epid = get_htc_epid(priv, qnum); in ath9k_htc_tx_data()
[all …]
Dar9002_phy.c555 static void ar9002_hw_tx99_start(struct ath_hw *ah, u32 qnum) in ar9002_hw_tx99_start() argument
561 REG_WRITE(ah, AR_DLCL_IFS(qnum), 0); in ar9002_hw_tx99_start()
564 REG_WRITE(ah, AR_D_FPCTL, 0x10|qnum); in ar9002_hw_tx99_start()
566 REG_WRITE(ah, AR_DRETRY_LIMIT(qnum), 0xffffffff); in ar9002_hw_tx99_start()
567 REG_SET_BIT(ah, AR_QMISC(qnum), AR_Q_MISC_DCU_EARLY_TERM_REQ); in ar9002_hw_tx99_start()
Ddebug.c786 int qnum = txq->axq_qnum; in ath_debug_stat_tx() local
788 TX_STAT_INC(sc, qnum, tx_pkts_all); in ath_debug_stat_tx()
789 sc->debug.stats.txstats[qnum].tx_bytes_all += bf->bf_mpdu->len; in ath_debug_stat_tx()
793 TX_STAT_INC(sc, qnum, a_xretries); in ath_debug_stat_tx()
795 TX_STAT_INC(sc, qnum, a_completed); in ath_debug_stat_tx()
798 TX_STAT_INC(sc, qnum, xretries); in ath_debug_stat_tx()
800 TX_STAT_INC(sc, qnum, completed); in ath_debug_stat_tx()
804 TX_STAT_INC(sc, qnum, txerr_filtered); in ath_debug_stat_tx()
806 TX_STAT_INC(sc, qnum, fifo_underrun); in ath_debug_stat_tx()
808 TX_STAT_INC(sc, qnum, xtxop); in ath_debug_stat_tx()
[all …]
Dhtc_drv_gpio.c186 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()
Dhw-ops.h87 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()
Dbtcoex.h129 void ath9k_hw_init_btcoex_hw(struct ath_hw *ah, int qnum);
Dbtcoex.c59 void ath9k_hw_init_btcoex_hw(struct ath_hw *ah, int qnum) in ath9k_hw_init_btcoex_hw() argument
105 SM(qnum, AR_BT_QCU_THRESH); in ath9k_hw_init_btcoex_hw()
Dxmit.c1770 int ath_txq_update(struct ath_softc *sc, int qnum, in ath_txq_update() argument
1777 BUG_ON(sc->tx.txq[qnum].axq_qnum != qnum); in ath_txq_update()
1779 ath9k_hw_get_txq_props(ah, qnum, &qi); in ath_txq_update()
1786 if (!ath9k_hw_set_txq_props(ah, qnum, &qi)) { in ath_txq_update()
1788 "Unable to update hardware queue %u!\n", qnum); in ath_txq_update()
1791 ath9k_hw_resettxqueue(ah, qnum); in ath_txq_update()
1801 int qnum = sc->beacon.cabq->axq_qnum; in ath_cabq_update() local
1803 ath9k_hw_get_txq_props(sc->sc_ah, qnum, &qi); in ath_cabq_update()
1807 ath_txq_update(sc, qnum, &qi); in ath_cabq_update()
Dhtc_drv_beacon.c37 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()
Dhtc_drv_main.c1378 int ret = 0, qnum; in ath9k_htc_conf_tx() local
1393 qnum = get_hw_qnum(queue, priv->hwq_map); in ath9k_htc_conf_tx()
1397 queue, qnum, params->aifs, params->cw_min, in ath9k_htc_conf_tx()
1400 ret = ath_htc_txq_update(priv, qnum, &qi); in ath9k_htc_conf_tx()
1407 (qnum == priv->hwq_map[IEEE80211_AC_BE])) in ath9k_htc_conf_tx()
Dar9003_phy.c1805 static void ar9003_hw_tx99_start(struct ath_hw *ah, u32 qnum) in ar9003_hw_tx99_start() argument
1810 REG_WRITE(ah, AR_DLCL_IFS(qnum), 0); in ar9003_hw_tx99_start()
1814 REG_WRITE(ah, AR_DRETRY_LIMIT(qnum), 0xffffffff); in ar9003_hw_tx99_start()
1815 REG_SET_BIT(ah, AR_QMISC(qnum), AR_Q_MISC_DCU_EARLY_TERM_REQ); in ar9003_hw_tx99_start()
Dhw.c1549 u32 qnum; in ath9k_hw_channel_change() local
1558 for (qnum = 0; qnum < AR_NUM_QCU; qnum++) { in ath9k_hw_channel_change()
1559 if (ath9k_hw_numtxpending(ah, qnum)) { in ath9k_hw_channel_change()
1561 "Transmit frames pending on queue %d\n", qnum); in ath9k_hw_channel_change()
/drivers/net/ethernet/marvell/prestera/
Dprestera_rxtx.c277 int qnum = PRESTERA_SDMA_RX_QUEUE_NUM; in prestera_sdma_rx_poll() local
285 qnum = PRESTERA_SDMA_RX_QUEUE_NUM; in prestera_sdma_rx_poll()
286 qmask = GENMASK(qnum - 1, 0); in prestera_sdma_rx_poll()
293 for (q = 0; q < qnum && pkts_done < budget; q++) { in prestera_sdma_rx_poll()
338 int qnum = PRESTERA_SDMA_RX_QUEUE_NUM; in prestera_sdma_rx_fini() local
345 for (q = 0; q < qnum; q++) { in prestera_sdma_rx_fini()
373 int qnum = PRESTERA_SDMA_RX_QUEUE_NUM; in prestera_sdma_rx_init() local
381 for (q = 0; q < qnum; q++) { in prestera_sdma_rx_init()
/drivers/net/ethernet/via/
Dvia-velocity.c1910 int qnum; in velocity_tx_srv() local
1917 for (qnum = 0; qnum < vptr->tx.numq; qnum++) { in velocity_tx_srv()
1918 for (idx = vptr->tx.tail[qnum]; vptr->tx.used[qnum] > 0; in velocity_tx_srv()
1924 td = &(vptr->tx.rings[qnum][idx]); in velocity_tx_srv()
1925 tdinfo = &(vptr->tx.infos[qnum][idx]); in velocity_tx_srv()
1949 vptr->tx.used[qnum]--; in velocity_tx_srv()
1951 vptr->tx.tail[qnum] = idx; in velocity_tx_srv()
1953 if (AVAIL_TD(vptr, qnum) < 1) in velocity_tx_srv()
2535 int qnum = 0; in velocity_xmit() local
2559 index = vptr->tx.curr[qnum]; in velocity_xmit()
[all …]
/drivers/net/ethernet/chelsio/cxgb3/
Dcxgb3_ioctl.h96 int32_t qnum; member
/drivers/net/wireless/realtek/rtlwifi/
Dcore.c958 int qnum; in _rtl_get_hal_qnum() local
962 qnum = AC3_VO; in _rtl_get_hal_qnum()
965 qnum = AC2_VI; in _rtl_get_hal_qnum()
968 qnum = AC0_BE; in _rtl_get_hal_qnum()
971 qnum = AC1_BK; in _rtl_get_hal_qnum()
974 qnum = AC0_BE; in _rtl_get_hal_qnum()
977 return qnum; in _rtl_get_hal_qnum()
Dusb.c898 enum rtl_txq qnum) in _rtl_usb_transmit() argument
910 ep_num = rtlusb->ep_map.ep_mapping[qnum]; in _rtl_usb_transmit()
/drivers/nvme/host/
Dfc.c40 u32 qnum; member
1271 queue->qnum, validation_errors[fcret]); in nvme_fc_connect_admin_queue()
1288 queue->qnum, ret); in nvme_fc_connect_admin_queue()
1337 conn_rqst->connect_cmd.qid = cpu_to_be16(queue->qnum); in nvme_fc_connect_queue()
1377 queue->qnum, validation_errors[fcret]); in nvme_fc_connect_queue()
1390 queue->qnum, ret); in nvme_fc_connect_queue()
2086 if (queue->qnum) in __nvme_fc_init_request()
2230 queue->qnum = idx; in nvme_fc_init_queue()
2564 ctrl->cnum, op->queue->qnum, sqe->common.opcode, in nvme_fc_timeout()
2690 op->fcp_req.sqid = cpu_to_le16(queue->qnum); in nvme_fc_start_fcp_op()
/drivers/net/ethernet/cavium/thunder/
Dnic_main.c788 int i, stat, qnum; in nic_reset_stat_counters() local
810 qnum = i >> 1; in nic_reset_stat_counters()
813 (qnum << NIC_Q_NUM_SHIFT) | (stat << 3); in nic_reset_stat_counters()
/drivers/net/
Dvirtio_net.c1764 int qnum = skb_get_queue_mapping(skb); in start_xmit() local
1765 struct send_queue *sq = &vi->sq[qnum]; in start_xmit()
1767 struct netdev_queue *txq = netdev_get_tx_queue(dev, qnum); in start_xmit()
1793 qnum, err); in start_xmit()
1816 netif_stop_subqueue(dev, qnum); in start_xmit()
1824 netif_start_subqueue(dev, qnum); in start_xmit()

12