Lines Matching full:tx_head
158 unsigned int tx_head; member
272 return (priv->tx_head & get_head_mb_mask(priv)) + get_mb_tx_first(priv); in get_tx_head_mb()
277 return (priv->tx_head >> get_head_prio_shift(priv)) & 0xf; in get_tx_head_prio()
359 priv->tx_head = priv->tx_tail = 0; in at91_setup_mailboxes()
463 * We use the priv->tx_head as counter for the next transmission
467 * priv->tx_head = (prio << get_next_prio_shift(priv)) |
514 * tx_head buffer prio and mailbox equals 0. in at91_start_xmit()
519 priv->tx_head++; in at91_start_xmit()
522 (priv->tx_head & get_head_mask(priv)) == 0) in at91_start_xmit()
646 * We iterate from priv->tx_tail to priv->tx_head and check if the
657 for (/* nix */; (priv->tx_head - priv->tx_tail) > 0; priv->tx_tail++) { in at91_irq_tx()
687 if ((priv->tx_head & get_head_mask(priv)) != 0 || in at91_irq_tx()