/linux-6.1.9/drivers/net/ethernet/samsung/sxgbe/ |
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 …]
|
D | sxgbe_main.c | 1442 u8 qnum = priv->cur_rx_qnum; in sxgbe_rx_refill() local 1444 for (; priv->rxq[qnum]->cur_rx - priv->rxq[qnum]->dirty_rx > 0; in sxgbe_rx_refill() 1445 priv->rxq[qnum]->dirty_rx++) { in sxgbe_rx_refill() 1446 unsigned int entry = priv->rxq[qnum]->dirty_rx % rxsize; in sxgbe_rx_refill() 1449 p = priv->rxq[qnum]->dma_rx + entry; in sxgbe_rx_refill() 1451 if (likely(priv->rxq[qnum]->rx_skbuff[entry] == NULL)) { in sxgbe_rx_refill() 1459 priv->rxq[qnum]->rx_skbuff[entry] = skb; in sxgbe_rx_refill() 1460 priv->rxq[qnum]->rx_skbuff_dma[entry] = in sxgbe_rx_refill() 1465 priv->rxq[qnum]->rx_skbuff_dma[entry]; in sxgbe_rx_refill() 1486 u8 qnum = priv->cur_rx_qnum; in sxgbe_rx() local [all …]
|
/linux-6.1.9/drivers/net/wireless/ath/ath5k/ |
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,
|
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 | 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-6.1.9/tools/testing/selftests/ipc/ |
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-6.1.9/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 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 …]
|
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()
|
D | debug.c | 835 int qnum = txq->axq_qnum; in ath_debug_stat_tx() local 837 TX_STAT_INC(sc, qnum, tx_pkts_all); in ath_debug_stat_tx() 838 sc->debug.stats.txstats[qnum].tx_bytes_all += bf->bf_mpdu->len; in ath_debug_stat_tx() 842 TX_STAT_INC(sc, qnum, a_xretries); in ath_debug_stat_tx() 844 TX_STAT_INC(sc, qnum, a_completed); in ath_debug_stat_tx() 847 TX_STAT_INC(sc, qnum, xretries); in ath_debug_stat_tx() 849 TX_STAT_INC(sc, qnum, completed); in ath_debug_stat_tx() 853 TX_STAT_INC(sc, qnum, txerr_filtered); in ath_debug_stat_tx() 855 TX_STAT_INC(sc, qnum, fifo_underrun); in ath_debug_stat_tx() 857 TX_STAT_INC(sc, 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 | 129 void ath9k_hw_init_btcoex_hw(struct ath_hw *ah, int qnum);
|
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()
|
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 | xmit.c | 1811 int ath_txq_update(struct ath_softc *sc, int qnum, in ath_txq_update() argument 1818 BUG_ON(sc->tx.txq[qnum].axq_qnum != qnum); in ath_txq_update() 1820 ath9k_hw_get_txq_props(ah, qnum, &qi); in ath_txq_update() 1827 if (!ath9k_hw_set_txq_props(ah, qnum, &qi)) { in ath_txq_update() 1829 "Unable to update hardware queue %u!\n", qnum); in ath_txq_update() 1832 ath9k_hw_resettxqueue(ah, qnum); in ath_txq_update() 1842 int qnum = sc->beacon.cabq->axq_qnum; in ath_cabq_update() local 1844 ath9k_hw_get_txq_props(sc->sc_ah, qnum, &qi); in ath_cabq_update() 1848 ath_txq_update(sc, qnum, &qi); in ath_cabq_update()
|
D | htc_drv_main.c | 1379 int ret = 0, qnum; in ath9k_htc_conf_tx() local 1394 qnum = get_hw_qnum(queue, priv->hwq_map); in ath9k_htc_conf_tx() 1398 queue, qnum, params->aifs, params->cw_min, in ath9k_htc_conf_tx() 1401 ret = ath_htc_txq_update(priv, qnum, &qi); in ath9k_htc_conf_tx() 1408 (qnum == priv->hwq_map[IEEE80211_AC_BE])) in ath9k_htc_conf_tx()
|
D | ar9003_phy.c | 1796 static void ar9003_hw_tx99_start(struct ath_hw *ah, u32 qnum) in ar9003_hw_tx99_start() argument 1801 REG_WRITE(ah, AR_DLCL_IFS(qnum), 0); in ar9003_hw_tx99_start() 1805 REG_WRITE(ah, AR_DRETRY_LIMIT(qnum), 0xffffffff); in ar9003_hw_tx99_start() 1806 REG_SET_BIT(ah, AR_QMISC(qnum), AR_Q_MISC_DCU_EARLY_TERM_REQ); in ar9003_hw_tx99_start()
|
D | hw.c | 1549 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()
|
/linux-6.1.9/drivers/net/ethernet/marvell/prestera/ |
D | prestera_rxtx.c | 277 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()
|
/linux-6.1.9/drivers/net/ethernet/via/ |
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-6.1.9/drivers/net/ethernet/chelsio/cxgb3/ |
D | cxgb3_ioctl.h | 96 int32_t qnum; member
|
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/ |
D | core.c | 958 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()
|
/linux-6.1.9/drivers/nvme/host/ |
D | fc.c | 41 u32 qnum; member 1272 queue->qnum, validation_errors[fcret]); in nvme_fc_connect_admin_queue() 1289 queue->qnum, ret); in nvme_fc_connect_admin_queue() 1338 conn_rqst->connect_cmd.qid = cpu_to_be16(queue->qnum); in nvme_fc_connect_queue() 1378 queue->qnum, validation_errors[fcret]); in nvme_fc_connect_queue() 1391 queue->qnum, ret); in nvme_fc_connect_queue() 2105 if (queue->qnum) in __nvme_fc_init_request() 2241 queue->qnum = idx; in nvme_fc_init_queue() 2571 ctrl->cnum, op->queue->qnum, sqe->common.opcode, in nvme_fc_timeout() 2697 op->fcp_req.sqid = cpu_to_le16(queue->qnum); in nvme_fc_start_fcp_op()
|
/linux-6.1.9/drivers/net/wwan/t7xx/ |
D | t7xx_hif_cldma.c | 759 static void t7xx_cldma_clear_txq(struct cldma_ctrl *md_ctrl, int qnum) in t7xx_cldma_clear_txq() argument 761 struct cldma_queue *txq = &md_ctrl->txq[qnum]; in t7xx_cldma_clear_txq() 779 static int t7xx_cldma_clear_rxq(struct cldma_ctrl *md_ctrl, int qnum) in t7xx_cldma_clear_rxq() argument 781 struct cldma_queue *rxq = &md_ctrl->rxq[qnum]; in t7xx_cldma_clear_rxq()
|
/linux-6.1.9/drivers/net/ethernet/cavium/thunder/ |
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()
|