Searched refs:BXCAN_TX_MB_NUM (Results 1 – 1 of 1) sorted by relevance
33 #define BXCAN_TX_MB_NUM 3 macro161 struct bxcan_mb tx_mb[BXCAN_TX_MB_NUM]; /* 0x180 - tx mailbox */263 return priv->tx_head % BXCAN_TX_MB_NUM; in bxcan_get_tx_head()268 return priv->tx_tail % BXCAN_TX_MB_NUM; in bxcan_get_tx_tail()273 return BXCAN_TX_MB_NUM - (priv->tx_head - priv->tx_tail); in bxcan_get_tx_free()979 ndev = alloc_candev(sizeof(struct bxcan_priv), BXCAN_TX_MB_NUM); in bxcan_probe()