Home
last modified time | relevance | path

Searched refs:tx_bufs (Results 1 – 10 of 10) sorted by relevance

/linux/drivers/net/ethernet/sun/
H A Dsunvnet_common.c1012 if (port->tx_bufs[txi].skb) { in vnet_clean_tx_ring()
1016 BUG_ON(port->tx_bufs[txi].skb->next); in vnet_clean_tx_ring()
1018 port->tx_bufs[txi].skb->next = skb; in vnet_clean_tx_ring()
1019 skb = port->tx_bufs[txi].skb; in vnet_clean_tx_ring()
1020 port->tx_bufs[txi].skb = NULL; in vnet_clean_tx_ring()
1023 port->tx_bufs[txi].cookies, in vnet_clean_tx_ring()
1024 port->tx_bufs[txi].ncookies); in vnet_clean_tx_ring()
1399 BUG_ON(port->tx_bufs[txi].skb); in sunvnet_start_xmit_common()
1405 err = vnet_skb_map(port->vio.lp, skb, port->tx_bufs[txi].cookies, 2, in sunvnet_start_xmit_common()
1412 port->tx_bufs[txi].skb = skb; in sunvnet_start_xmit_common()
[all …]
H A Dsunvnet_common.h73 struct vnet_tx_entry tx_bufs[VNET_TX_RING_SIZE]; member
/linux/include/uapi/linux/hsi/
H A Dcs-protocol.h59 __u32 tx_bufs; /* number of TX buffer slots */ member
82 __u32 tx_bufs; /* # of TX buffers */ member
/linux/drivers/net/ethernet/apple/
H A Dbmac.c71 struct sk_buff *tx_bufs[N_TX_RING]; member
491 if (bp->tx_bufs[i] != NULL) { in bmac_suspend()
492 dev_kfree_skb(bp->tx_bufs[i]); in bmac_suspend()
493 bp->tx_bufs[i] = NULL; in bmac_suspend()
657 bp->tx_bufs[bp->tx_fill] = skb; in bmac_transmit_packet()
774 if (bp->tx_bufs[bp->tx_empty]) { in bmac_txdma_intr()
776 dev_consume_skb_irq(bp->tx_bufs[bp->tx_empty]); in bmac_txdma_intr()
778 bp->tx_bufs[bp->tx_empty] = NULL; in bmac_txdma_intr()
1362 if (bp->tx_bufs[i] != NULL) { in bmac_close()
1363 dev_kfree_skb(bp->tx_bufs[i]); in bmac_close()
[all …]
H A Dmace.c55 struct sk_buff *tx_bufs[N_TX_RING]; member
425 dev_kfree_skb(mp->tx_bufs[i]); in mace_clean_rings()
560 mp->tx_bufs[fill] = skb; in mace_xmit_start()
768 dev->stats.tx_bytes += mp->tx_bufs[i]->len; in mace_interrupt()
771 dev_consume_skb_irq(mp->tx_bufs[i]); in mace_interrupt()
847 dev_kfree_skb_irq(mp->tx_bufs[i]); in mace_tx_timeout()
/linux/drivers/hsi/clients/
H A Dcmt_speech.c101 unsigned int tx_bufs; member
788 static void set_buffer_sizes(struct cs_hsi_iface *hi, int rx_bufs, int tx_bufs) in set_buffer_sizes() argument
791 hi->tx_bufs = tx_bufs; in set_buffer_sizes()
793 hi->mmap_cfg->tx_bufs = tx_bufs; in set_buffer_sizes()
814 (buf_cfg->rx_bufs + buf_cfg->tx_bufs); in check_buf_params()
819 buf_cfg->tx_bufs > CS_MAX_BUFFERS) { in check_buf_params()
886 set_buffer_sizes(hi, buf_cfg->rx_bufs, buf_cfg->tx_bufs); in cs_hsi_data_enable()
904 for (i = 0; i < hi->mmap_cfg->tx_bufs; i++) { in cs_hsi_data_enable()
/linux/drivers/net/ethernet/silan/
H A Dsc92031.c284 void *tx_bufs; member
957 skb_copy_and_csum_dev(skb, priv->tx_bufs + entry * TX_BUF_SIZE); in sc92031_start_xmit()
961 memset(priv->tx_bufs + entry * TX_BUF_SIZE + len, in sc92031_start_xmit()
1004 priv->tx_bufs = dma_alloc_coherent(&pdev->dev, TX_BUF_TOT_LEN, in sc92031_open()
1006 if (unlikely(!priv->tx_bufs)) { in sc92031_open()
1035 dma_free_coherent(&pdev->dev, TX_BUF_TOT_LEN, priv->tx_bufs, in sc92031_open()
1062 dma_free_coherent(&pdev->dev, TX_BUF_TOT_LEN, priv->tx_bufs, in sc92031_stop()
/linux/drivers/net/ethernet/aeroflex/
H A Dgreth.h105 unsigned char *tx_bufs[GRETH_TXBD_NUM]; member
H A Dgreth.c223 kfree(greth->tx_bufs[i]); in greth_clean_rings()
297 greth->tx_bufs[i] = kmalloc(MAX_FRAME_SIZE, GFP_KERNEL); in greth_init_rings()
299 if (greth->tx_bufs[i] == NULL) { in greth_init_rings()
306 greth->tx_bufs[i], in greth_init_rings()
/linux/drivers/net/ethernet/via/
H A Dvia-rhine.c451 unsigned char *tx_bufs; member
1155 rp->tx_bufs = dma_alloc_coherent(hwdev, in alloc_ring()
1159 if (rp->tx_bufs == NULL) { in alloc_ring()
1187 if (rp->tx_bufs) in free_ring()
1189 rp->tx_bufs, rp->tx_bufs_dma); in free_ring()
1191 rp->tx_bufs = NULL; in free_ring()
1316 rp->tx_buf[i] = &rp->tx_bufs[i * PKT_BUF_SZ]; in alloc_tbufs()
1813 rp->tx_bufs)); in rhine_start_tx()