/Linux-v4.19/drivers/net/ethernet/sun/ |
D | sunvnet_common.c | 1011 if (port->tx_bufs[txi].skb) { in vnet_clean_tx_ring() 1015 BUG_ON(port->tx_bufs[txi].skb->next); in vnet_clean_tx_ring() 1017 port->tx_bufs[txi].skb->next = skb; in vnet_clean_tx_ring() 1018 skb = port->tx_bufs[txi].skb; in vnet_clean_tx_ring() 1019 port->tx_bufs[txi].skb = NULL; in vnet_clean_tx_ring() 1022 port->tx_bufs[txi].cookies, in vnet_clean_tx_ring() 1023 port->tx_bufs[txi].ncookies); in vnet_clean_tx_ring() 1414 BUG_ON(port->tx_bufs[txi].skb); in sunvnet_start_xmit_common() 1420 err = vnet_skb_map(port->vio.lp, skb, port->tx_bufs[txi].cookies, 2, in sunvnet_start_xmit_common() 1427 port->tx_bufs[txi].skb = skb; in sunvnet_start_xmit_common() [all …]
|
D | sunvnet_common.h | 73 struct vnet_tx_entry tx_bufs[VNET_TX_RING_SIZE]; member
|
/Linux-v4.19/include/uapi/linux/hsi/ |
D | cs-protocol.h | 73 __u32 tx_bufs; /* number of TX buffer slots */ member 96 __u32 tx_bufs; /* # of TX buffers */ member
|
/Linux-v4.19/drivers/net/ethernet/aurora/ |
D | nb8800.c | 364 txb = &priv->tx_bufs[priv->tx_queue]; in __nb8800_tx_dma_start() 432 txb = &priv->tx_bufs[next]; in nb8800_xmit() 450 desc->n_addr = priv->tx_bufs[next].dma_desc; in nb8800_xmit() 505 struct nb8800_tx_buf *txb = &priv->tx_bufs[done]; in nb8800_tx_done() 768 if (priv->tx_bufs) { in nb8800_dma_free() 770 kfree_skb(priv->tx_bufs[i].skb); in nb8800_dma_free() 772 kfree(priv->tx_bufs); in nb8800_dma_free() 773 priv->tx_bufs = NULL; in nb8800_dma_free() 813 struct nb8800_tx_buf *txb = &priv->tx_bufs[i]; in nb8800_dma_reset() 861 priv->tx_bufs = kcalloc(n_tx, sizeof(*priv->tx_bufs), GFP_KERNEL); in nb8800_dma_init() [all …]
|
D | nb8800.h | 266 struct nb8800_tx_buf *tx_bufs; member
|
/Linux-v4.19/drivers/net/ethernet/apple/ |
D | bmac.c | 72 struct sk_buff *tx_bufs[N_TX_RING]; member 492 if (bp->tx_bufs[i] != NULL) { in bmac_suspend() 493 dev_kfree_skb(bp->tx_bufs[i]); in bmac_suspend() 494 bp->tx_bufs[i] = NULL; in bmac_suspend() 661 bp->tx_bufs[bp->tx_fill] = skb; in bmac_transmit_packet() 778 if (bp->tx_bufs[bp->tx_empty]) { in bmac_txdma_intr() 780 dev_kfree_skb_irq(bp->tx_bufs[bp->tx_empty]); in bmac_txdma_intr() 782 bp->tx_bufs[bp->tx_empty] = NULL; in bmac_txdma_intr() 1419 if (bp->tx_bufs[i] != NULL) { in bmac_close() 1420 dev_kfree_skb(bp->tx_bufs[i]); in bmac_close() [all …]
|
D | mace.c | 55 struct sk_buff *tx_bufs[N_TX_RING]; member 421 dev_kfree_skb(mp->tx_bufs[i]); in mace_clean_rings() 556 mp->tx_bufs[fill] = skb; in mace_xmit_start() 764 dev->stats.tx_bytes += mp->tx_bufs[i]->len; in mace_interrupt() 767 dev_kfree_skb_irq(mp->tx_bufs[i]); in mace_interrupt() 843 dev_kfree_skb(mp->tx_bufs[i]); in mace_tx_timeout()
|
/Linux-v4.19/drivers/hsi/clients/ |
D | cmt_speech.c | 114 unsigned int tx_bufs; member 801 static void set_buffer_sizes(struct cs_hsi_iface *hi, int rx_bufs, int tx_bufs) in set_buffer_sizes() argument 804 hi->tx_bufs = tx_bufs; in set_buffer_sizes() 806 hi->mmap_cfg->tx_bufs = tx_bufs; in set_buffer_sizes() 827 (buf_cfg->rx_bufs + buf_cfg->tx_bufs); in check_buf_params() 832 buf_cfg->tx_bufs > CS_MAX_BUFFERS) { in check_buf_params() 899 set_buffer_sizes(hi, buf_cfg->rx_bufs, buf_cfg->tx_bufs); in cs_hsi_data_enable() 917 for (i = 0; i < hi->mmap_cfg->tx_bufs; i++) { in cs_hsi_data_enable()
|
/Linux-v4.19/drivers/net/ethernet/aeroflex/ |
D | greth.h | 105 unsigned char *tx_bufs[GRETH_TXBD_NUM]; member
|
D | greth.c | 227 kfree(greth->tx_bufs[i]); in greth_clean_rings() 300 greth->tx_bufs[i] = kmalloc(MAX_FRAME_SIZE, GFP_KERNEL); in greth_init_rings() 302 if (greth->tx_bufs[i] == NULL) { in greth_init_rings() 309 greth->tx_bufs[i], in greth_init_rings()
|
/Linux-v4.19/drivers/net/ethernet/silan/ |
D | sc92031.c | 284 void *tx_bufs; member 960 skb_copy_and_csum_dev(skb, priv->tx_bufs + entry * TX_BUF_SIZE); in sc92031_start_xmit() 964 memset(priv->tx_bufs + entry * TX_BUF_SIZE + len, in sc92031_start_xmit() 1008 priv->tx_bufs = pci_alloc_consistent(pdev, TX_BUF_TOT_LEN, in sc92031_open() 1010 if (unlikely(!priv->tx_bufs)) { in sc92031_open() 1040 pci_free_consistent(pdev, TX_BUF_TOT_LEN, priv->tx_bufs, in sc92031_open() 1068 pci_free_consistent(pdev, TX_BUF_TOT_LEN, priv->tx_bufs, in sc92031_stop()
|
/Linux-v4.19/drivers/net/ethernet/realtek/ |
D | 8139too.c | 596 unsigned char *tx_bufs; /* Tx bounce buffer region. */ member 1329 tp->tx_bufs = dma_alloc_coherent(&tp->pci_dev->dev, TX_BUF_TOT_LEN, in rtl8139_open() 1333 if (tp->tx_bufs == NULL || tp->rx_ring == NULL) { in rtl8139_open() 1336 if (tp->tx_bufs) in rtl8139_open() 1338 tp->tx_bufs, tp->tx_bufs_dma); in rtl8139_open() 1426 RTL_W32_F (TxAddr0 + (i * 4), tp->tx_bufs_dma + (tp->tx_buf[i] - tp->tx_bufs)); in rtl8139_hw_start() 1456 tp->tx_buf[i] = &tp->tx_bufs[i * TX_BUF_SIZE]; in rtl8139_init_ring() 2287 tp->tx_bufs, tp->tx_bufs_dma); in rtl8139_close() 2289 tp->tx_bufs = NULL; in rtl8139_close()
|
/Linux-v4.19/drivers/net/ethernet/via/ |
D | via-rhine.c | 457 unsigned char *tx_bufs; member 1173 rp->tx_bufs = dma_alloc_coherent(hwdev, in alloc_ring() 1177 if (rp->tx_bufs == NULL) { in alloc_ring() 1205 if (rp->tx_bufs) in free_ring() 1207 rp->tx_bufs, rp->tx_bufs_dma); in free_ring() 1209 rp->tx_bufs = NULL; in free_ring() 1334 rp->tx_buf[i] = &rp->tx_bufs[i * PKT_BUF_SZ]; in alloc_tbufs() 1823 rp->tx_bufs)); in rhine_start_tx()
|