Home
last modified time | relevance | path

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

/openbmc/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
/openbmc/linux/drivers/net/ethernet/sun/
H A Dsunvnet_common.c1012 if (port->tx_bufs[txi].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()
1399 BUG_ON(port->tx_bufs[txi].skb); in sunvnet_start_xmit_common()
1412 port->tx_bufs[txi].skb = skb; in sunvnet_start_xmit_common()
1482 skb = port->tx_bufs[txi].skb; in sunvnet_start_xmit_common()
1483 port->tx_bufs[txi].skb = NULL; in sunvnet_start_xmit_common()
1691 port->tx_bufs[i].cookies, in sunvnet_port_free_tx_bufs_common()
1692 port->tx_bufs[i].ncookies); in sunvnet_port_free_tx_bufs_common()
[all …]
H A Dsunvnet_common.h73 struct vnet_tx_entry tx_bufs[VNET_TX_RING_SIZE]; member
/openbmc/linux/drivers/net/ethernet/apple/
H A Dbmac.c72 struct sk_buff *tx_bufs[N_TX_RING]; member
492 if (bp->tx_bufs[i] != NULL) { in bmac_suspend()
494 bp->tx_bufs[i] = NULL; in bmac_suspend()
658 bp->tx_bufs[bp->tx_fill] = skb; in bmac_transmit_packet()
775 if (bp->tx_bufs[bp->tx_empty]) { in bmac_txdma_intr()
779 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()
1421 bp->tx_bufs[i] = NULL; in bmac_close()
1513 dev_kfree_skb_irq(bp->tx_bufs[i]); in bmac_tx_timeout()
[all …]
H A Dmace.c55 struct sk_buff *tx_bufs[N_TX_RING]; member
427 dev_kfree_skb(mp->tx_bufs[i]); in mace_clean_rings()
562 mp->tx_bufs[fill] = skb; in mace_xmit_start()
770 dev->stats.tx_bytes += mp->tx_bufs[i]->len; in mace_interrupt()
773 dev_consume_skb_irq(mp->tx_bufs[i]); in mace_interrupt()
849 dev_kfree_skb_irq(mp->tx_bufs[i]); in mace_tx_timeout()
/openbmc/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()
/openbmc/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()
/openbmc/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()
/openbmc/linux/drivers/net/ethernet/realtek/
H A D8139too.c597 unsigned char *tx_bufs; /* Tx bounce buffer region. */ member
1331 tp->tx_bufs = dma_alloc_coherent(&tp->pci_dev->dev, TX_BUF_TOT_LEN, in rtl8139_open()
1335 if (tp->tx_bufs == NULL || tp->rx_ring == NULL) { in rtl8139_open()
1338 if (tp->tx_bufs) in rtl8139_open()
1340 tp->tx_bufs, tp->tx_bufs_dma); in rtl8139_open()
1428 RTL_W32_F (TxAddr0 + (i * 4), tp->tx_bufs_dma + (tp->tx_buf[i] - tp->tx_bufs)); in rtl8139_hw_start()
1458 tp->tx_buf[i] = &tp->tx_bufs[i * TX_BUF_SIZE]; in rtl8139_init_ring()
2289 tp->tx_bufs, tp->tx_bufs_dma); in rtl8139_close()
2291 tp->tx_bufs = NULL; in rtl8139_close()
/openbmc/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()
1807 rp->tx_bufs)); in rhine_start_tx()