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

/drivers/net/can/c_can/
H A Dc_can.h76 unsigned int tx_next; member in struct:c_can_priv
H A Dc_can.c202 return (priv->tx_next & C_CAN_NEXT_MSG_OBJ_MASK) +
512 priv->tx_next++;
514 (priv->tx_next & C_CAN_NEXT_MSG_OBJ_MASK) == 0)
635 priv->tx_next = priv->tx_echo = 0;
687 * We iterate from priv->tx_echo to priv->tx_next and check if the
698 for (/* nix */; (priv->tx_next - priv->tx_echo) > 0; priv->tx_echo++) {
715 if (((priv->tx_next & C_CAN_NEXT_MSG_OBJ_MASK) != 0) ||
/drivers/net/ethernet/aeroflex/
H A Dgreth.h108 u16 tx_next; member in struct:greth_private
H A Dgreth.c321 greth->tx_next = 0;
422 bdp = greth->tx_bd_base + greth->tx_next;
430 greth->tx_bufs_length[greth->tx_next] = skb->len & GRETH_BD_LEN;
433 if (greth->tx_next == GRETH_TXBD_NUM_MASK) {
437 greth->tx_next = NEXT_TX(greth->tx_next);
487 greth->tx_skbuff[greth->tx_next] = skb;
496 if (greth->tx_next == GRETH_TXBD_NUM_MASK)
500 bdp = greth->tx_bd_base + greth->tx_next;
509 curr_tx = NEXT_TX(greth->tx_next);
[all...]
/drivers/net/can/
H A Dat91_can.c147 unsigned int tx_next; member in struct:at91_priv
279 return (priv->tx_next & get_next_mb_mask(priv)) + get_mb_tx_first(priv);
284 return (priv->tx_next >> get_next_prio_shift(priv)) & 0xf;
371 priv->tx_next = priv->tx_echo = 0;
462 * We use the priv->tx_next as counter for the next transmission
466 * priv->tx_next = (prio << get_next_prio_shift(priv)) |
513 * tx_next buffer prio and mailbox equals 0.
518 priv->tx_next++;
521 (priv->tx_next & get_next_mask(priv)) == 0)
844 * We iterate from priv->tx_echo to priv->tx_next an
[all...]
/drivers/net/ethernet/octeon/
H A Docteon_mgmt.c67 unsigned int tx_next; member in struct:octeon_mgmt
720 p->tx_next = 0;
982 p->tx_ring[p->tx_next] = re.d64;
983 p->tx_next = (p->tx_next + 1) % OCTEON_MGMT_TX_RING_SIZE;
/drivers/net/ethernet/marvell/
H A Dsky2.h2228 u16 tx_next; /* debug only */ member in struct:sky2_port
H A Dsky2.c2041 sky2->tx_next = RING_NEXT(idx, sky2->tx_ring_size);
4557 for (idx = sky2->tx_next; idx != sky2->tx_prod && idx < sky2->tx_ring_size;

Completed in 242 milliseconds