Searched refs:dma_tx_size (Results 1 – 11 of 11) sorted by relevance
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/stmicro/stmmac/ |
| H A D | stmmac_main.c | 74 #define STMMAC_TX_THRESH(x) ((x)->dma_tx_size / 4) 304 avail = priv->dma_tx_size - tx_q->cur_tx + tx_q->dirty_tx - 1; in stmmac_tx_avail() 1225 stmmac_display_ring(priv, head_tx, priv->dma_tx_size, false, in stmmac_display_tx_rings() 1296 for (i = 0; i < priv->dma_tx_size; i++) { in stmmac_clear_tx_descriptors() 1297 int last = (i == (priv->dma_tx_size - 1)); in stmmac_clear_tx_descriptors() 1529 priv->dma_tx_size, 1); in init_dma_tx_desc_rings() 1533 priv->dma_tx_size, 0); in init_dma_tx_desc_rings() 1536 for (i = 0; i < priv->dma_tx_size; i++) { in init_dma_tx_desc_rings() 1613 for (i = 0; i < priv->dma_tx_size; i++) in dma_free_tx_skbufs() 1691 size *= priv->dma_tx_size; in free_dma_tx_desc_resources() [all …]
|
| H A D | stmmac_uio.c | 158 size *= priv->dma_tx_size; in uio_free_dma_tx_desc_resources() 239 size *= priv->dma_tx_size; in uio_alloc_dma_tx_desc_resources() 421 (priv->dma_tx_size - 1), chan); in uio_set_rings_length() 838 if (!priv->dma_tx_size) in uio_open() 839 priv->dma_tx_size = DMA_DEFAULT_TX_SIZE; in uio_open() 972 uio->mem[2].size = priv->dma_tx_size * sizeof(struct dma_desc); in rockchip_gmac_uio_probe()
|
| H A D | chain_mode.c | 49 entry = STMMAC_GET_ENTRY(entry, priv->dma_tx_size); in jumbo_frm() 158 priv->dma_tx_size)) in clean_desc3()
|
| H A D | ring_mode.c | 54 entry = STMMAC_GET_ENTRY(entry, priv->dma_tx_size); in jumbo_frm()
|
| H A D | stmmac.h | 178 unsigned int dma_tx_size; member
|
| H A D | stmmac_platform.c | 465 of_property_read_u32(np, "tx-dma-size", &plat->dma_tx_size); in stmmac_probe_config_dt()
|
| H A D | stmmac_ethtool.c | 471 ring->tx_pending = priv->dma_tx_size; in stmmac_get_ringparam()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/samsung/sxgbe/ |
| H A D | sxgbe_main.c | 190 #define SXGBE_TX_THRESH(x) (x->dma_tx_size/4) 320 unsigned int txsize = priv->dma_tx_size; in sxgbe_clear_descriptors() 565 int tx_rsize = priv->dma_tx_size; in init_dma_desc_rings() 617 int tx_rsize = priv->dma_tx_size; in tx_free_ring_skbufs() 648 int tx_rsize = priv->dma_tx_size; in free_dma_desc_resources() 738 unsigned int tx_rsize = priv->dma_tx_size; in sxgbe_tx_queue_clean() 968 priv->dma_tx_size, priv->dma_rx_size); in sxgbe_init_dma_engine() 1076 priv->dma_tx_size = SXGBE_ALIGN(DMA_TX_SIZE); in sxgbe_open() 1279 unsigned int tx_rsize = priv->dma_tx_size; in sxgbe_xmit()
|
| H A D | sxgbe_common.h | 458 unsigned int dma_tx_size; member
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | stmmac.h | 174 int dma_tx_size; member
|
| /OK3568_Linux_fs/external/dpdk/gmac/kernel5.10/ |
| H A D | kernel_net_stmmac.diff | 241 + size *= priv->dma_tx_size; 322 + size *= priv->dma_tx_size; 504 + (priv->dma_tx_size - 1), chan); 921 + if (!priv->dma_tx_size) 922 + priv->dma_tx_size = DMA_DEFAULT_TX_SIZE; 1055 + uio->mem[2].size = priv->dma_tx_size * sizeof(struct dma_desc);
|