Home
last modified time | relevance | path

Searched refs:tx_ring_head (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/net/ethernet/smsc/
H A Dsmsc9420.c56 int tx_ring_head, tx_ring_tail; member
519 pd->tx_ring_head = 0; in smsc9420_free_tx_ring()
892 while (pd->tx_ring_tail != pd->tx_ring_head) { in smsc9420_complete_tx()
930 int index = pd->tx_ring_head; in smsc9420_hard_start_xmit()
933 (((pd->tx_ring_head + 2) % TX_RING_SIZE) == pd->tx_ring_tail); in smsc9420_hard_start_xmit()
968 pd->tx_ring_head = (pd->tx_ring_head + 1) % TX_RING_SIZE; in smsc9420_hard_start_xmit()
1200 pd->tx_ring_head = 0; in smsc9420_alloc_tx_ring()
/linux/drivers/net/ethernet/xilinx/
H A Dxilinx_axienet.h619 int tx_ring_head; member
H A Dxilinx_axienet_main.c845 CIRC_SPACE(lp->tx_ring_head, lp->tx_ring_tail, TX_BD_NUM_MAX), in axienet_dma_tx_cb()
880 if (CIRC_SPACE(lp->tx_ring_head, lp->tx_ring_tail, TX_BD_NUM_MAX) <= sg_len) { in axienet_start_xmit_dmaengine()
887 skbuf_dma = axienet_get_tx_desc(lp, lp->tx_ring_head); in axienet_start_xmit_dmaengine()
891 lp->tx_ring_head++; in axienet_start_xmit_dmaengine()
929 netif_txq_maybe_stop(txq, CIRC_SPACE(lp->tx_ring_head, lp->tx_ring_tail, TX_BD_NUM_MAX), in axienet_start_xmit_dmaengine()
1461 lp->tx_ring_head = 0; in axienet_init_dmaengine()