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

/linux-4.4.14/drivers/net/can/
H A Dat91_can.c189 static inline unsigned int get_mb_rx_last(const struct at91_priv *priv) get_mb_rx_last() function
201 return get_mb_rx_last(priv) - get_mb_rx_first(priv) + 1; get_mb_rx_num()
227 return get_mb_rx_last(priv) + 1; get_mb_tx_first()
257 return AT91_MB_MASK(get_mb_rx_last(priv) + 1) & get_irq_mb_rx()
337 for (i = get_mb_rx_first(priv); i < get_mb_rx_last(priv); i++) at91_setup_mailboxes()
339 set_mb_mode(priv, get_mb_rx_last(priv), AT91_MB_MODE_RX_OVRWR); at91_setup_mailboxes()
342 for (i = get_mb_rx_first(priv); i <= get_mb_rx_last(priv); i++) { at91_setup_mailboxes()
599 if (unlikely(mb == get_mb_rx_last(priv) && reg_msr & AT91_MSR_MMI)) at91_read_mb()
639 * About 3/4 of the mailboxes (get_mb_rx_first()...get_mb_rx_last())
715 quota > 0 && mb > get_mb_rx_last(priv)) { at91_poll_rx()

Completed in 42 milliseconds