/linux-6.6.21/drivers/net/ethernet/stmicro/stmmac/ |
D | ring_mode.c | 17 static int jumbo_frm(struct stmmac_tx_queue *tx_q, struct sk_buff *skb, in jumbo_frm() argument 21 struct stmmac_priv *priv = tx_q->priv_data; in jumbo_frm() 22 unsigned int entry = tx_q->cur_tx; in jumbo_frm() 27 desc = (struct dma_desc *)(tx_q->dma_etx + entry); in jumbo_frm() 29 desc = tx_q->dma_tx + entry; in jumbo_frm() 46 tx_q->tx_skbuff_dma[entry].buf = des2; in jumbo_frm() 47 tx_q->tx_skbuff_dma[entry].len = bmax; in jumbo_frm() 48 tx_q->tx_skbuff_dma[entry].is_jumbo = true; in jumbo_frm() 53 tx_q->tx_skbuff[entry] = NULL; in jumbo_frm() 57 desc = (struct dma_desc *)(tx_q->dma_etx + entry); in jumbo_frm() [all …]
|
D | chain_mode.c | 17 static int jumbo_frm(struct stmmac_tx_queue *tx_q, struct sk_buff *skb, in jumbo_frm() argument 21 struct stmmac_priv *priv = tx_q->priv_data; in jumbo_frm() 22 unsigned int entry = tx_q->cur_tx; in jumbo_frm() 27 desc = tx_q->dma_tx + entry; in jumbo_frm() 41 tx_q->tx_skbuff_dma[entry].buf = des2; in jumbo_frm() 42 tx_q->tx_skbuff_dma[entry].len = bmax; in jumbo_frm() 48 tx_q->tx_skbuff[entry] = NULL; in jumbo_frm() 50 desc = tx_q->dma_tx + entry; in jumbo_frm() 59 tx_q->tx_skbuff_dma[entry].buf = des2; in jumbo_frm() 60 tx_q->tx_skbuff_dma[entry].len = bmax; in jumbo_frm() [all …]
|
D | stmmac_main.c | 364 struct stmmac_tx_queue *tx_q = &priv->dma_conf.tx_queue[queue]; in stmmac_tx_avail() local 367 if (tx_q->dirty_tx > tx_q->cur_tx) in stmmac_tx_avail() 368 avail = tx_q->dirty_tx - tx_q->cur_tx - 1; in stmmac_tx_avail() 370 avail = priv->dma_conf.dma_tx_size - tx_q->cur_tx + tx_q->dirty_tx - 1; in stmmac_tx_avail() 416 struct stmmac_tx_queue *tx_q = &priv->dma_conf.tx_queue[queue]; in stmmac_enable_eee_mode() local 418 if (tx_q->dirty_tx != tx_q->cur_tx) in stmmac_enable_eee_mode() 1303 struct stmmac_tx_queue *tx_q = &dma_conf->tx_queue[queue]; in stmmac_display_tx_rings() local 1308 head_tx = (void *)tx_q->dma_etx; in stmmac_display_tx_rings() 1310 } else if (tx_q->tbs & STMMAC_TBS_AVAIL) { in stmmac_display_tx_rings() 1311 head_tx = (void *)tx_q->dma_entx; in stmmac_display_tx_rings() [all …]
|
D | hwif.h | 571 int (*jumbo_frm)(struct stmmac_tx_queue *tx_q, struct sk_buff *skb, 576 void (*clean_desc3)(struct stmmac_tx_queue *tx_q, struct dma_desc *p);
|
/linux-6.6.21/drivers/net/ethernet/qualcomm/emac/ |
D | emac-mac.c | 305 writel(upper_32_bits(adpt->tx_q.tpd.dma_addr), in emac_mac_dma_rings_config() 308 writel(lower_32_bits(adpt->tx_q.tpd.dma_addr), in emac_mac_dma_rings_config() 311 writel(adpt->tx_q.tpd.count & TPD_RING_SIZE_BMSK, in emac_mac_dma_rings_config() 587 struct emac_tx_queue *tx_q = &adpt->tx_q; in emac_tx_q_descs_free() local 592 if (!tx_q->tpd.tpbuff) in emac_tx_q_descs_free() 595 for (i = 0; i < tx_q->tpd.count; i++) { in emac_tx_q_descs_free() 596 struct emac_buffer *tpbuf = GET_TPD_BUFFER(tx_q, i); in emac_tx_q_descs_free() 610 size = sizeof(struct emac_buffer) * tx_q->tpd.count; in emac_tx_q_descs_free() 611 memset(tx_q->tpd.tpbuff, 0, size); in emac_tx_q_descs_free() 614 memset(tx_q->tpd.v_addr, 0, tx_q->tpd.size); in emac_tx_q_descs_free() [all …]
|
D | emac-mac.h | 231 struct emac_tx_queue *tx_q, 233 void emac_mac_tx_process(struct emac_adapter *adpt, struct emac_tx_queue *tx_q);
|
D | emac.h | 341 struct emac_tx_queue tx_q; member
|
D | emac.c | 122 return emac_mac_tx_buf_send(adpt, &adpt->tx_q, skb); in emac_start_xmit() 160 emac_mac_tx_process(adpt, &adpt->tx_q); in emac_isr()
|
/linux-6.6.21/drivers/net/wwan/t7xx/ |
D | t7xx_hif_dpmaif.c | 211 struct dpmaif_tx_queue *tx_q; in t7xx_dpmaif_rxtx_sw_allocs() local 236 tx_q = &dpmaif_ctrl->txq[tx_idx]; in t7xx_dpmaif_rxtx_sw_allocs() 237 tx_q->index = tx_idx; in t7xx_dpmaif_rxtx_sw_allocs() 238 tx_q->dpmaif_ctrl = dpmaif_ctrl; in t7xx_dpmaif_rxtx_sw_allocs() 239 ret = t7xx_dpmaif_txq_init(tx_q); in t7xx_dpmaif_rxtx_sw_allocs() 261 tx_q = &dpmaif_ctrl->txq[i]; in t7xx_dpmaif_rxtx_sw_allocs() 262 t7xx_dpmaif_txq_free(tx_q); in t7xx_dpmaif_rxtx_sw_allocs() 282 struct dpmaif_tx_queue *tx_q; in t7xx_dpmaif_sw_release() local 289 tx_q = &dpmaif_ctrl->txq[i]; in t7xx_dpmaif_sw_release() 290 t7xx_dpmaif_txq_free(tx_q); in t7xx_dpmaif_sw_release()
|
/linux-6.6.21/drivers/net/ethernet/intel/ice/ |
D | ice_dcb_lib.h | 44 static inline bool ice_find_q_in_range(u16 low, u16 high, unsigned int tx_q) in ice_find_q_in_range() argument 46 return (tx_q >= low) && (tx_q < high); in ice_find_q_in_range()
|
/linux-6.6.21/net/nfc/nci/ |
D | uart.c | 44 skb = skb_dequeue(&nu->tx_q); in nci_uart_dequeue() 56 return skb_queue_empty(&nu->tx_q); in nci_uart_queue_empty() 123 skb_queue_head_init(&nu->tx_q); in nci_uart_set_driver() 186 skb_queue_purge(&nu->tx_q); in nci_uart_tty_close() 363 skb_queue_tail(&nu->tx_q, skb); in nci_uart_send()
|
D | data.c | 146 spin_lock_irqsave(&ndev->tx_q.lock, flags); in nci_queue_tx_data_frags() 149 __skb_queue_tail(&ndev->tx_q, skb_frag); in nci_queue_tx_data_frags() 151 spin_unlock_irqrestore(&ndev->tx_q.lock, flags); in nci_queue_tx_data_frags() 185 skb_queue_tail(&ndev->tx_q, skb); in nci_send_data()
|
D | core.c | 543 skb_queue_purge(&ndev->tx_q); in nci_open_device() 576 skb_queue_purge(&ndev->tx_q); in nci_close_device() 1258 skb_queue_head_init(&ndev->tx_q); in nci_register_device() 1482 skb = skb_dequeue(&ndev->tx_q); in nci_tx_work()
|
D | ntf.c | 78 if (!skb_queue_empty(&ndev->tx_q)) in nci_core_conn_credits_ntf_packet() 709 skb_queue_purge(&ndev->tx_q); in nci_rf_deactivate_ntf_packet()
|
/linux-6.6.21/drivers/net/wireless/mediatek/mt7601u/ |
D | dma.c | 312 struct mt7601u_tx_queue *q = &dev->tx_q[ep]; in mt7601u_dma_submit_tx() 477 if (!dev->tx_q) in mt7601u_free_tx() 481 mt7601u_free_tx_queue(&dev->tx_q[i]); in mt7601u_free_tx() 505 dev->tx_q = devm_kcalloc(dev->dev, __MT_EP_OUT_MAX, in mt7601u_alloc_tx() 506 sizeof(*dev->tx_q), GFP_KERNEL); in mt7601u_alloc_tx() 507 if (!dev->tx_q) in mt7601u_alloc_tx() 511 if (mt7601u_alloc_tx_queue(dev, &dev->tx_q[i])) in mt7601u_alloc_tx()
|
D | mt7601u.h | 201 struct mt7601u_tx_queue *tx_q; member
|
/linux-6.6.21/drivers/net/fddi/skfp/h/ |
D | hwmtm.h | 242 #define HWM_GET_TX_USED(smc,queue) (int) (smc)->hw.fp.tx_q[queue].tx_used 261 (smc)->hw.fp.tx_q[queue].tx_curr_put
|
D | fplustm.h | 191 struct s_smt_tx_queue tx_q[USED_QUEUES] ; member
|
/linux-6.6.21/drivers/net/wireless/mediatek/mt76/ |
D | mt76_connac_mac.c | 89 if (wcid && pm->tx_q[i].wcid != wcid) in mt76_connac_free_pending_tx_skbs() 92 dev_kfree_skb(pm->tx_q[i].skb); in mt76_connac_free_pending_tx_skbs() 93 pm->tx_q[i].skb = NULL; in mt76_connac_free_pending_tx_skbs() 108 if (!pm->tx_q[qid].skb) { in mt76_connac_pm_queue_skb() 110 pm->tx_q[qid].wcid = wcid; in mt76_connac_pm_queue_skb() 111 pm->tx_q[qid].skb = skb; in mt76_connac_pm_queue_skb() 127 struct mt76_wcid *wcid = pm->tx_q[i].wcid; in mt76_connac_pm_dequeue_skbs() 130 if (!pm->tx_q[i].skb) in mt76_connac_pm_dequeue_skbs() 137 mt76_tx(phy, sta, wcid, pm->tx_q[i].skb); in mt76_connac_pm_dequeue_skbs() 138 pm->tx_q[i].skb = NULL; in mt76_connac_pm_dequeue_skbs()
|
D | mt76_connac.h | 98 } tx_q[IEEE80211_NUM_ACS]; member
|
/linux-6.6.21/drivers/media/radio/wl128x/ |
D | fmdrv.h | 205 struct sk_buff_head tx_q; /* TX queue */ member
|
D | fmdrv_common.c | 328 if (!skb_queue_empty(&fmdev->tx_q)) in recv_tasklet() 352 skb = skb_dequeue(&fmdev->tx_q); in send_tasklet() 442 skb_queue_tail(&fmdev->tx_q, skb); in fm_send_cmd() 1541 skb_queue_head_init(&fmdev->tx_q); in fmc_prepare() 1595 skb_queue_purge(&fmdev->tx_q); in fmc_release()
|
/linux-6.6.21/net/bluetooth/ |
D | l2cap_core.c | 470 skb_queue_head_init(&chan->tx_q); in l2cap_chan_create() 569 skb_queue_head_init(&chan->tx_q); in l2cap_le_flowctl_init() 690 skb_queue_purge(&chan->tx_q); in l2cap_chan_del() 705 skb_queue_purge(&chan->tx_q); in l2cap_chan_del() 1316 skb_queue_walk(&chan->tx_q, skb) { in l2cap_move_setup() 2073 skb_queue_splice_tail_init(skbs, &chan->tx_q); in l2cap_streaming_send() 2075 while (!skb_queue_empty(&chan->tx_q)) { in l2cap_streaming_send() 2077 skb = skb_dequeue(&chan->tx_q); in l2cap_streaming_send() 2156 if (skb_queue_is_last(&chan->tx_q, skb)) in l2cap_ertm_send() 2159 chan->tx_send_head = skb_queue_next(&chan->tx_q, skb); in l2cap_ertm_send() [all …]
|
/linux-6.6.21/include/net/nfc/ |
D | nci_core.h | 227 struct sk_buff_head tx_q; member 454 struct sk_buff_head tx_q; member
|
/linux-6.6.21/drivers/net/ethernet/chelsio/cxgb3/ |
D | adapter.h | 208 struct netdev_queue *tx_q; /* associated netdev TX queue */ member
|