Lines Matching defs:prio
290 unsigned int mb, enum at91_mb_mode mode, int prio)
292 at91_write(priv, AT91_MMR(mb), (mode << 24) | (prio << 16));
433 * We use the first TX mailbox (AT91_MB_TX_FIRST) with prio 0, then
434 * the next mailbox with prio 0, and so on, until all mailboxes are
436 * AT91_MB_TX_FIRST, but with prio 1, mailbox AT91_MB_TX_FIRST + 1
437 * prio 1. When we reach the last mailbox with prio 15, we have to
439 * again with mailbox AT91_MB_TX_FIRST prio 0.
445 * priv->tx_next = (prio << get_next_prio_shift(priv)) |
454 unsigned int mb, prio;
461 prio = get_tx_next_prio(priv);
476 set_mb_mode_prio(priv, mb, AT91_MB_MODE_TX, prio);
491 * of a prio+mb counter wrap around. This is the case if
492 * tx_next buffer prio and mailbox equals 0.