Lines Matching refs:AT91_MB_TX_FIRST
62 #define AT91_MB_TX_FIRST (AT91_MB_RX_LAST + 1)
63 #define AT91_MB_TX_LAST (AT91_MB_TX_FIRST + AT91_MB_TX_NUM - 1)
133 - (1 << AT91_MB_TX_FIRST))
187 return (priv->tx_next & AT91_NEXT_MB_MASK) + AT91_MB_TX_FIRST;
197 return (priv->tx_echo & AT91_NEXT_MB_MASK) + AT91_MB_TX_FIRST;
247 for (i = AT91_MB_TX_FIRST; i <= AT91_MB_TX_LAST; i++)
320 * We use the first TX mailbox (AT91_MB_TX_FIRST) with prio 0, then
323 * AT91_MB_TX_FIRST, but with prio 1, mailbox AT91_MB_TX_FIRST + 1
326 * again with mailbox AT91_MB_TX_FIRST prio 0.
329 * mailbox, but without the offset AT91_MB_TX_FIRST. The lower bits
333 * (mb - AT91_MB_TX_FIRST);
379 /* _NOTE_: substract AT91_MB_TX_FIRST offset from mb! */
380 can_put_echo_skb(skb, dev, mb - AT91_MB_TX_FIRST);
694 /* _NOTE_: substract AT91_MB_TX_FIRST offset from mb! */
695 can_get_echo_skb(dev, mb - AT91_MB_TX_FIRST);