/linux/drivers/net/ethernet/samsung/sxgbe/ |
H A D | sxgbe_reg.h | 261 #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 …]
|
H A D | sxgbe_main.c | 1441 u8 qnum = priv->cur_rx_qnum; in sxgbe_rx_refill() local 1443 for (; priv->rxq[qnum]->cur_rx - priv->rxq[qnum]->dirty_rx > 0; in sxgbe_rx_refill() 1444 priv->rxq[qnum]->dirty_rx++) { in sxgbe_rx_refill() 1445 unsigned int entry = priv->rxq[qnum]->dirty_rx % rxsize; in sxgbe_rx_refill() 1448 p = priv->rxq[qnum]->dma_rx + entry; in sxgbe_rx_refill() 1450 if (likely(priv->rxq[qnum]->rx_skbuff[entry] == NULL)) { in sxgbe_rx_refill() 1458 priv->rxq[qnum]->rx_skbuff[entry] = skb; in sxgbe_rx_refill() 1459 priv->rxq[qnum]->rx_skbuff_dma[entry] = in sxgbe_rx_refill() 1464 priv->rxq[qnum]->rx_skbuff_dma[entry]; in sxgbe_rx_refill() 1485 u8 qnum = priv->cur_rx_qnum; in sxgbe_rx() local [all …]
|
/linux/drivers/net/wireless/ath/ath5k/ |
H A D | trace.h | 48 __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,
|
H A 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() 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 …]
|
H A D | base.c | 879 ath5k_hw_set_txdp(ah, txq->qnum, bf->daddr); in ath5k_txbuf_setup() 884 ath5k_hw_start_tx_dma(ah, txq->qnum); in ath5k_txbuf_setup() 1031 int qnum; in ath5k_txq_setup() local 1047 qnum = ath5k_hw_setup_tx_queue(ah, qtype, &qi); in ath5k_txq_setup() 1048 if (qnum < 0) { in ath5k_txq_setup() 1053 return ERR_PTR(qnum); in ath5k_txq_setup() 1055 txq = &ah->txqs[qnum]; in ath5k_txq_setup() 1057 txq->qnum = qnum; in ath5k_txq_setup() 1067 return &ah->txqs[qnum]; in ath5k_txq_setup() 1191 ath5k_hw_release_tx_queue(ah, txq->qnum); in ath5k_txq_release() [all …]
|
/linux/tools/testing/selftests/ipc/ |
H A D | msgque.c | 30 int qnum; member 66 for (i = 0; i < msgque->qnum; i++) { in restore_queue() 116 if (cnt != msgque->qnum) { in check_and_destroy_queue() 157 msgque->qnum = ds.msg_qnum; in dump_queue() 161 for (i = 0; i < msgque->qnum; i++) { in dump_queue()
|
/linux/drivers/net/wireless/ath/ath9k/ |
H A 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 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 …]
|
H A D | ar9002_phy.c | 555 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()
|
H A D | debug.c | 815 int qnum = txq->axq_qnum; in ath_debug_stat_tx() local 817 TX_STAT_INC(sc, qnum, tx_pkts_all); in ath_debug_stat_tx() 818 sc->debug.stats.txstats[qnum].tx_bytes_all += bf->bf_mpdu->len; in ath_debug_stat_tx() 822 TX_STAT_INC(sc, qnum, a_xretries); in ath_debug_stat_tx() 824 TX_STAT_INC(sc, qnum, a_completed); in ath_debug_stat_tx() 827 TX_STAT_INC(sc, qnum, xretries); in ath_debug_stat_tx() 829 TX_STAT_INC(sc, qnum, completed); in ath_debug_stat_tx() 833 TX_STAT_INC(sc, qnum, txerr_filtered); in ath_debug_stat_tx() 835 TX_STAT_INC(sc, qnum, fifo_underrun); in ath_debug_stat_tx() 837 TX_STAT_INC(sc, qnum, xtxop); in ath_debug_stat_tx() [all …]
|
H A 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()
|
H A 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()
|
H A D | btcoex.h | 129 void ath9k_hw_init_btcoex_hw(struct ath_hw *ah, int qnum);
|
H A D | btcoex.c | 59 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()
|
H A 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()
|
H A D | xmit.c | 1834 int ath_txq_update(struct ath_softc *sc, int qnum, in ath_txq_update() argument 1841 BUG_ON(sc->tx.txq[qnum].axq_qnum != qnum); in ath_txq_update() 1843 ath9k_hw_get_txq_props(ah, qnum, &qi); in ath_txq_update() 1850 if (!ath9k_hw_set_txq_props(ah, qnum, &qi)) { in ath_txq_update() 1852 "Unable to update hardware queue %u!\n", qnum); in ath_txq_update() 1855 ath9k_hw_resettxqueue(ah, qnum); in ath_txq_update() 1865 int qnum = sc->beacon.cabq->axq_qnum; in ath_cabq_update() local 1867 ath9k_hw_get_txq_props(sc->sc_ah, qnum, &qi); in ath_cabq_update() 1871 ath_txq_update(sc, qnum, &qi); in ath_cabq_update()
|
H A D | htc_drv_main.c | 1378 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()
|
H A D | ar9003_phy.c | 1793 static void ar9003_hw_tx99_start(struct ath_hw *ah, u32 qnum) in ar9003_hw_tx99_start() argument 1798 REG_WRITE(ah, AR_DLCL_IFS(qnum), 0); in ar9003_hw_tx99_start() 1802 REG_WRITE(ah, AR_DRETRY_LIMIT(qnum), 0xffffffff); in ar9003_hw_tx99_start() 1803 REG_SET_BIT(ah, AR_QMISC(qnum), AR_Q_MISC_DCU_EARLY_TERM_REQ); in ar9003_hw_tx99_start()
|
/linux/drivers/net/ethernet/marvell/prestera/ |
H A D | prestera_rxtx.c | 274 int qnum = PRESTERA_SDMA_RX_QUEUE_NUM; in prestera_sdma_rx_poll() local 282 qnum = PRESTERA_SDMA_RX_QUEUE_NUM; in prestera_sdma_rx_poll() 283 qmask = GENMASK(qnum - 1, 0); in prestera_sdma_rx_poll() 290 for (q = 0; q < qnum && pkts_done < budget; q++) { in prestera_sdma_rx_poll() 335 int qnum = PRESTERA_SDMA_RX_QUEUE_NUM; in prestera_sdma_rx_fini() local 342 for (q = 0; q < qnum; q++) { in prestera_sdma_rx_fini() 370 int qnum = PRESTERA_SDMA_RX_QUEUE_NUM; in prestera_sdma_rx_init() local 378 for (q = 0; q < qnum; q++) { in prestera_sdma_rx_init()
|
/linux/drivers/net/ethernet/via/ |
H A D | via-velocity.c | 1910 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 …]
|
/linux/drivers/net/ethernet/chelsio/cxgb3/ |
H A D | cxgb3_ioctl.h | 96 int32_t qnum; member
|
/linux/drivers/nvme/host/ |
H A D | fc.c | 41 u32 qnum; member 1265 queue->qnum, validation_errors[fcret]); in nvme_fc_connect_admin_queue() 1282 queue->qnum, ret); in nvme_fc_connect_admin_queue() 1331 conn_rqst->connect_cmd.qid = cpu_to_be16(queue->qnum); in nvme_fc_connect_queue() 1371 queue->qnum, validation_errors[fcret]); in nvme_fc_connect_queue() 1384 queue->qnum, ret); in nvme_fc_connect_queue() 2111 if (queue->qnum) in __nvme_fc_init_request() 2247 queue->qnum = idx; in nvme_fc_init_queue() 2570 u16 qnum = op->queue->qnum; in nvme_fc_timeout() local 2581 ctrl->cnum, qnum, sqe->common.opcode, sqe->fabrics.fctype, in nvme_fc_timeout() [all …]
|
/linux/drivers/net/wireless/realtek/rtlwifi/ |
H A D | core.c | 936 int qnum; in _rtl_get_hal_qnum() local 940 qnum = AC3_VO; in _rtl_get_hal_qnum() 943 qnum = AC2_VI; in _rtl_get_hal_qnum() 946 qnum = AC0_BE; in _rtl_get_hal_qnum() 949 qnum = AC1_BK; in _rtl_get_hal_qnum() 952 qnum = AC0_BE; in _rtl_get_hal_qnum() 955 return qnum; in _rtl_get_hal_qnum()
|
/linux/drivers/net/ |
H A D | virtio_net.c | 1053 int qnum; in check_sq_full_and_disable() local 1055 qnum = sq - vi->sq; in check_sq_full_and_disable() 1068 struct netdev_queue *txq = netdev_get_tx_queue(dev, qnum); in check_sq_full_and_disable() 1081 netif_start_subqueue(dev, qnum); in check_sq_full_and_disable() 3076 int qnum = skb_get_queue_mapping(skb); in start_xmit() local 3077 struct send_queue *sq = &vi->sq[qnum]; in start_xmit() 3079 struct netdev_queue *txq = netdev_get_tx_queue(dev, qnum); in start_xmit() 3106 qnum, err); in start_xmit() 4677 int qnum, i, j, res_size, qtype, last_vq, first_vq; in virtnet_get_hw_stats() local 4696 qnum = 0; in virtnet_get_hw_stats() [all …]
|
/linux/drivers/net/wwan/t7xx/ |
H A D | t7xx_hif_cldma.c | 758 static void t7xx_cldma_clear_txq(struct cldma_ctrl *md_ctrl, int qnum) in t7xx_cldma_clear_txq() argument 760 struct cldma_queue *txq = &md_ctrl->txq[qnum]; in t7xx_cldma_clear_txq() 778 static int t7xx_cldma_clear_rxq(struct cldma_ctrl *md_ctrl, int qnum) in t7xx_cldma_clear_rxq() argument 780 struct cldma_queue *rxq = &md_ctrl->rxq[qnum]; in t7xx_cldma_clear_rxq()
|
/linux/drivers/net/ethernet/cavium/thunder/ |
H A D | nic_main.c | 788 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()
|