| /linux/drivers/net/ethernet/amd/ |
| H A D | atarilance.c | 223 int cur_rx, cur_tx; /* The next free ring entry */ member 689 lp->cur_rx = lp->cur_tx = 0; in lance_init_ring() 748 lp->dirty_tx, lp->cur_tx, in lance_tx_timeout() 815 entry = lp->cur_tx & TX_RING_MOD_MASK; in lance_start_xmit() 829 lp->cur_tx++; in lance_start_xmit() 830 while( lp->cur_tx >= TX_RING_SIZE && lp->dirty_tx >= TX_RING_SIZE ) { in lance_start_xmit() 831 lp->cur_tx -= TX_RING_SIZE; in lance_start_xmit() 885 while( dirty_tx < lp->cur_tx) { in lance_interrupt() 921 if (lp->cur_tx - dirty_tx >= TX_RING_SIZE) { in lance_interrupt() 924 dirty_tx, lp->cur_tx, lp->tx_full )); in lance_interrupt() [all …]
|
| H A D | pcnet32.c | 271 unsigned int cur_rx, cur_tx; /* The next free ring entry */ member 1311 while (dirty_tx != lp->cur_tx) { in pcnet32_tx() 1371 delta = (lp->cur_tx - dirty_tx) & (lp->tx_mod_mask + lp->tx_ring_size); in pcnet32_tx() 1374 dirty_tx, lp->cur_tx, lp->tx_full); in pcnet32_tx() 2368 lp->cur_rx = lp->cur_tx = 0; in pcnet32_init_ring() 2471 lp->dirty_tx, lp->cur_tx, lp->tx_full ? " (full)" : "", in pcnet32_tx_timeout() 2518 entry = lp->cur_tx & lp->tx_mod_mask; in pcnet32_start_xmit() 2540 lp->cur_tx++; in pcnet32_start_xmit()
|
| /linux/drivers/net/can/spi/mcp251xfd/ |
| H A D | mcp251xfd-ethtool.c | 44 layout.cur_tx != priv->tx->obj_num) && in mcp251xfd_ring_set_ringparam() 50 priv->tx->obj_num = layout.cur_tx; in mcp251xfd_ring_set_ringparam() 112 priv->tx->obj_num = layout.cur_tx; in mcp251xfd_ring_set_coalesce()
|
| H A D | mcp251xfd-ram.c | 153 layout->cur_tx = num_tx; in can_ram_get_layout() 158 layout->cur_tx = layout->default_tx; in can_ram_get_layout()
|
| H A D | mcp251xfd-ram.h | 50 u8 cur_tx; member
|
| /linux/drivers/net/arcnet/ |
| H A D | arcnet.c | 567 lp->cur_tx = lp->next_tx = -1; in arcnet_open() 709 lp->hw.status(dev), lp->cur_tx, lp->next_tx, skb->len, skb->protocol); in arcnet_send_packet() 790 lp->hw.status(dev), lp->intmask, lp->next_tx, lp->cur_tx); in go_tx() 792 if (lp->cur_tx != -1 || lp->next_tx == -1) in go_tx() 798 lp->cur_tx = lp->next_tx; in go_tx() 802 lp->hw.command(dev, TXcmd | (lp->cur_tx << 3)); in go_tx() 828 lp->hw.command(dev, NOTXcmd | (lp->cur_tx << 3)); in arcnet_timeout() 845 if (lp->cur_tx == -1) in arcnet_timeout() 965 if (lp->cur_tx != -1 && !lp->timed_out) { in arcnet_interrupt() 990 if (lp->cur_tx != -1) in arcnet_interrupt() [all …]
|
| H A D | arc-rawmode.c | 121 lp->next_tx, lp->cur_tx, bufnum); in prepare_tx()
|
| H A D | rfc1051.c | 216 lp->next_tx, lp->cur_tx, bufnum); in prepare_tx()
|
| H A D | capmode.c | 145 lp->next_tx, lp->cur_tx, bufnum); in prepare_tx()
|
| /linux/drivers/net/ethernet/stmicro/stmmac/ |
| H A D | chain_mode.c | 22 unsigned int entry = tx_q->cur_tx; in jumbo_frm() 83 tx_q->cur_tx = entry; in jumbo_frm()
|
| H A D | ring_mode.c | 22 unsigned int entry = tx_q->cur_tx; in jumbo_frm() 90 tx_q->cur_tx = entry; in jumbo_frm()
|
| H A D | stmmac_main.c | 361 return CIRC_SPACE(tx_q->cur_tx, tx_q->dirty_tx, in stmmac_tx_avail() 468 if (tx_q->dirty_tx != tx_q->cur_tx) in stmmac_eee_tx_busy() 2690 unsigned int entry = tx_q->cur_tx; in stmmac_xdp_xmit_zc() 2775 tx_q->cur_tx = STMMAC_NEXT_ENTRY(tx_q->cur_tx, priv->dma_conf.dma_tx_size); in stmmac_xdp_xmit_zc() 2776 entry = tx_q->cur_tx; in stmmac_xdp_xmit_zc() 2836 while ((entry != tx_q->cur_tx) && count < priv->dma_conf.dma_tx_size) { in stmmac_tx_clean() 2985 if (tx_q->dirty_tx != tx_q->cur_tx) in stmmac_tx_clean() 4319 p = &tx_q->dma_entx[tx_q->cur_tx].basic; in stmmac_vlan_insert() 4321 p = &tx_q->dma_tx[tx_q->cur_tx]; in stmmac_vlan_insert() [all...] |
| /linux/drivers/net/ethernet/dec/tulip/ |
| H A D | interrupt.c | 595 for (dirty_tx = tp->dirty_tx; tp->cur_tx - dirty_tx > 0; in tulip_interrupt() 652 if (tp->cur_tx - dirty_tx > TX_RING_SIZE) { in tulip_interrupt() 655 dirty_tx, tp->cur_tx); in tulip_interrupt() 660 if (tp->cur_tx - dirty_tx < TX_RING_SIZE - 2) in tulip_interrupt()
|
| H A D | tulip.h | 422 unsigned int cur_rx, cur_tx; /* The next free ring entry */ member
|
| /linux/drivers/net/ethernet/samsung/sxgbe/ |
| H A D | sxgbe_main.c | 194 return queue->dirty_tx + tx_qsize - queue->cur_tx - 1; in sxgbe_tx_avail() 427 tx_ring->cur_tx = 0; in init_tx_ring() 744 while (tqueue->dirty_tx != tqueue->cur_tx) { in sxgbe_tx_queue_clean() 757 __func__, tqueue->cur_tx, tqueue->dirty_tx); in sxgbe_tx_queue_clean() 832 tx_ring->cur_tx = 0; in sxgbe_restart_tx_queue() 1315 entry = tqueue->cur_tx % tx_rsize; in sxgbe_xmit() 1340 entry = (++tqueue->cur_tx) % tx_rsize; in sxgbe_xmit() 1362 entry = (++tqueue->cur_tx) % tx_rsize; in sxgbe_xmit() 1402 tqueue->cur_tx++; in sxgbe_xmit() 1406 __func__, tqueue->cur_tx % tx_rsize, in sxgbe_xmit()
|
| H A D | sxgbe_common.h | 384 unsigned int cur_tx; member
|
| /linux/drivers/net/ethernet/renesas/ |
| H A D | rtsn.c | 50 u32 cur_tx; member 115 for (; priv->cur_tx - priv->dirty_tx > 0; priv->dirty_tx++) { in rtsn_tx_free() 393 priv->cur_tx = 0; in rtsn_chain_format() 1056 if (priv->cur_tx - priv->dirty_tx > priv->num_tx_ring) { in rtsn_start_xmit() 1072 entry = priv->cur_tx % priv->num_tx_ring; in rtsn_start_xmit() 1090 priv->cur_tx++; in rtsn_start_xmit()
|
| H A D | sh_eth.h | 546 u32 cur_tx, dirty_tx; member
|
| H A D | sh_eth.c | 1239 for (; mdp->cur_tx - mdp->dirty_tx > 0; mdp->dirty_tx++) { in sh_eth_tx_free() 1332 mdp->cur_tx = 0; in sh_eth_ring_format() 1823 intr_status, mdp->cur_tx, mdp->dirty_tx, in sh_eth_error() 2273 data[i++] = mdp->cur_tx; in sh_eth_get_ethtool_stats() 2502 if ((mdp->cur_tx - mdp->dirty_tx) >= (mdp->num_tx_ring - 4)) { in sh_eth_start_xmit() 2515 entry = mdp->cur_tx % mdp->num_tx_ring; in sh_eth_start_xmit() 2537 mdp->cur_tx++; in sh_eth_start_xmit()
|
| H A D | ravb_main.c | 205 for (; priv->cur_tx[q] - priv->dirty_tx[q] > 0; priv->dirty_tx[q]++) { in ravb_tx_free() 367 priv->cur_tx[q] = 0; in ravb_ring_format() 1661 data[i++] = priv->cur_tx[q]; in ravb_get_ethtool_stats() 2146 if (priv->cur_tx[q] - priv->dirty_tx[q] > (priv->num_tx_ring[q] - 1) * in ravb_start_xmit() 2158 entry = priv->cur_tx[q] % (priv->num_tx_ring[q] * num_tx_desc); in ravb_start_xmit() 2266 priv->cur_tx[q] += num_tx_desc; in ravb_start_xmit() 2267 if (priv->cur_tx[q] - priv->dirty_tx[q] > in ravb_start_xmit()
|
| /linux/drivers/net/ethernet/via/ |
| H A D | via-rhine.c | 469 unsigned int cur_tx, dirty_tx; member 1307 rp->dirty_tx = rp->cur_tx = 0; in alloc_tbufs() 1772 return (rp->cur_tx - rp->dirty_tx) >= TX_QUEUE_LEN; in rhine_tx_queue_full() 1787 entry = rp->cur_tx % TX_RING_SIZE; in rhine_start_tx() 1849 rp->cur_tx++; in rhine_start_tx() 1878 rp->cur_tx - 1, entry); in rhine_start_tx() 1924 unsigned int cur_tx; in rhine_tx() local 1934 cur_tx = rp->cur_tx; in rhine_tx() 1936 while (dirty_tx != cur_tx) { in rhine_tx()
|
| /linux/drivers/net/wireless/admtek/ |
| H A D | adm8211.c | 309 for (dirty_tx = priv->dirty_tx; priv->cur_tx - dirty_tx; dirty_tx++) { in adm8211_interrupt_tci() 342 if (priv->cur_tx - dirty_tx < priv->tx_ring_size - 2) in adm8211_interrupt_tci() 1475 priv->cur_rx = priv->cur_tx = priv->dirty_tx = 0; in adm8211_init_rings() 1638 if (priv->cur_tx - priv->dirty_tx == priv->tx_ring_size / 2) in adm8211_tx_raw() 1643 if (priv->cur_tx - priv->dirty_tx == priv->tx_ring_size - 2) in adm8211_tx_raw() 1646 entry = priv->cur_tx % priv->tx_ring_size; in adm8211_tx_raw() 1661 priv->cur_tx++; in adm8211_tx_raw()
|
| /linux/drivers/net/ethernet/natsemi/ |
| H A D | sonic.c | 374 int entry = lp->cur_tx; in sonic_interrupt() 425 lp->cur_tx = entry; in sonic_interrupt() 813 lp->cur_tx = 0; in sonic_init()
|
| H A D | sonic.h | 321 unsigned int cur_tx; /* first unacked transmit packet */ member
|
| /linux/drivers/net/ethernet/freescale/fs_enet/ |
| H A D | fs_enet.h | 141 cbd_t __iomem *cur_tx; member
|