Lines Matching defs:tx_next
166 unsigned int tx_next;
187 return (priv->tx_next & AT91_NEXT_MB_MASK) + AT91_MB_TX_FIRST;
192 return (priv->tx_next >> AT91_NEXT_PRIO_SHIFT) & 0xf;
251 priv->tx_next = priv->tx_echo = priv->rx_next = 0;
328 * We use the priv->tx_next as counter for the next transmission
332 * priv->tx_next = (prio << AT91_NEXT_PRIO_SHIFT) ||
385 * tx_next buffer prio and mailbox equals 0.
390 priv->tx_next++;
393 (priv->tx_next & AT91_NEXT_MASK) == 0)
662 * We iterate from priv->tx_echo to priv->tx_next and check if the
675 for (/* nix */; (priv->tx_next - priv->tx_echo) > 0; priv->tx_echo++) {
705 if ((priv->tx_next & AT91_NEXT_MASK) != 0 ||