Home
last modified time | relevance | path

Searched refs:tx_next (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/net/ethernet/aeroflex/
H A Dgreth.c324 greth->tx_next = 0; in greth_init_rings()
425 bdp = greth->tx_bd_base + greth->tx_next; in greth_start_xmit()
433 greth->tx_bufs_length[greth->tx_next] = skb->len & GRETH_BD_LEN; in greth_start_xmit()
436 if (greth->tx_next == GRETH_TXBD_NUM_MASK) { in greth_start_xmit()
440 greth->tx_next = NEXT_TX(greth->tx_next); in greth_start_xmit()
454 static inline u16 greth_num_free_bds(u16 tx_last, u16 tx_next) in greth_num_free_bds() argument
456 if (tx_next < tx_last) in greth_num_free_bds()
457 return (tx_last - tx_next) - 1; in greth_num_free_bds()
459 return GRETH_TXBD_NUM - (tx_next - tx_last) - 1; in greth_num_free_bds()
476 if (greth_num_free_bds(tx_last, greth->tx_next) < nr_frags + 1) { in greth_start_xmit_gbit()
[all …]
H A Dgreth.h109 u16 tx_next; member
/linux/drivers/net/ethernet/actions/
H A Dowl-emac.c699 unsigned int tx_next; in owl_emac_tx_complete() local
722 tx_next = ring->tail; in owl_emac_tx_complete()
724 while ((tx_next = owl_emac_ring_get_next(ring, tx_next)) != ring->head) { in owl_emac_tx_complete()
725 status = READ_ONCE(ring->descs[tx_next].status); in owl_emac_tx_complete()
/linux/drivers/net/ethernet/marvell/
H A Dsky2.h2228 u16 tx_next; /* debug only */ member
H A Dsky2.c2026 sky2->tx_next = RING_NEXT(idx, sky2->tx_ring_size); in sky2_tx_complete()
4429 for (idx = sky2->tx_next; idx != sky2->tx_prod && idx < sky2->tx_ring_size; in sky2_debug_show()