Searched refs:tx_next (Results 1 - 6 of 6) sorted by relevance

/drivers/net/ethernet/aeroflex/
H A Dgreth.c326 greth->tx_next = 0;
427 bdp = greth->tx_bd_base + greth->tx_next;
435 greth->tx_bufs_length[greth->tx_next] = skb->len & GRETH_BD_LEN;
438 if (greth->tx_next == GRETH_TXBD_NUM_MASK) {
442 greth->tx_next = NEXT_TX(greth->tx_next);
456 static inline u16 greth_num_free_bds(u16 tx_last, u16 tx_next) argument
458 if (tx_next < tx_last)
459 return (tx_last - tx_next) - 1;
461 return GRETH_TXBD_NUM - (tx_next
[all...]
H A Dgreth.h108 u16 tx_next; member in struct:greth_private
/drivers/net/can/
H A Dat91_can.c147 unsigned int tx_next; member in struct:at91_priv
280 return (priv->tx_next & get_next_mb_mask(priv)) + get_mb_tx_first(priv);
285 return (priv->tx_next >> get_next_prio_shift(priv)) & 0xf;
372 priv->tx_next = priv->tx_echo = 0;
467 * We use the priv->tx_next as counter for the next transmission
471 * priv->tx_next = (prio << get_next_prio_shift(priv)) |
518 * tx_next buffer prio and mailbox equals 0.
523 priv->tx_next++;
526 (priv->tx_next & get_next_mask(priv)) == 0)
851 * We iterate from priv->tx_echo to priv->tx_next an
[all...]
/drivers/net/ethernet/octeon/
H A Docteon_mgmt.c128 unsigned int tx_next; member in struct:octeon_mgmt
991 p->tx_next = 0;
1307 p->tx_ring[p->tx_next] = re.d64;
1308 p->tx_next = (p->tx_next + 1) % OCTEON_MGMT_TX_RING_SIZE;
/drivers/net/ethernet/marvell/
H A Dsky2.h2233 u16 tx_next; /* debug only */ member in struct:sky2_port
H A Dsky2.c2043 sky2->tx_next = RING_NEXT(idx, sky2->tx_ring_size);
4577 for (idx = sky2->tx_next; idx != sky2->tx_prod && idx < sky2->tx_ring_size;

Completed in 120 milliseconds