Searched refs:tx_next (Results 1 – 5 of 5) sorted by relevance
324 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() argument456 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 …]
109 u16 tx_next; member
699 unsigned int tx_next; in owl_emac_tx_complete() local722 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()
2228 u16 tx_next; /* debug only */ member
2026 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()