Searched refs:tx_next (Results 1 – 8 of 8) sorted by relevance
/drivers/net/ethernet/aeroflex/ |
D | greth.c | 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() 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 …]
|
D | greth.h | 109 u16 tx_next; member
|
/drivers/net/can/ |
D | at91_can.c | 132 unsigned int tx_next; member 265 return (priv->tx_next & get_next_mb_mask(priv)) + get_mb_tx_first(priv); in get_tx_next_mb() 270 return (priv->tx_next >> get_next_prio_shift(priv)) & 0xf; in get_tx_next_prio() 348 priv->tx_next = priv->tx_echo = 0; in at91_setup_mailboxes() 495 priv->tx_next++; in at91_start_xmit() 498 (priv->tx_next & get_next_mask(priv)) == 0) in at91_start_xmit() 838 for (/* nix */; (priv->tx_next - priv->tx_echo) > 0; priv->tx_echo++) { in at91_irq_tx() 867 if ((priv->tx_next & get_next_mask(priv)) != 0 || in at91_irq_tx()
|
/drivers/net/ethernet/actions/ |
D | owl-emac.c | 699 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()
|
/drivers/net/ethernet/cavium/octeon/ |
D | octeon_mgmt.c | 127 unsigned int tx_next; member 991 p->tx_next = 0; in octeon_mgmt_open() 1312 p->tx_ring[p->tx_next] = re.d64; in octeon_mgmt_xmit() 1313 p->tx_next = (p->tx_next + 1) % OCTEON_MGMT_TX_RING_SIZE; in octeon_mgmt_xmit()
|
/drivers/infiniband/hw/hfi1/ |
D | sdma.c | 2435 struct sdma_txreq *tx, *tx_next; in sdma_send_txlist() local 2443 list_for_each_entry_safe(tx, tx_next, tx_list, list) { in sdma_send_txlist() 2476 list_for_each_entry_safe(tx, tx_next, tx_list, list) { in sdma_send_txlist()
|
/drivers/net/ethernet/marvell/ |
D | sky2.h | 2228 u16 tx_next; /* debug only */ member
|
D | sky2.c | 2025 sky2->tx_next = RING_NEXT(idx, sky2->tx_ring_size); in sky2_tx_complete() 4567 for (idx = sky2->tx_next; idx != sky2->tx_prod && idx < sky2->tx_ring_size; in sky2_debug_show()
|