Lines Matching refs:eskbp
266 u32 eskbp; member
381 static inline u32 grcan_txspace(size_t txsize, u32 txwr, u32 eskbp) in grcan_txspace() argument
384 u32 used = grcan_ring_sub(txwr, eskbp, txsize) / GRCAN_MSG_SIZE; in grcan_txspace()
472 priv->eskbp = grcan_read_reg(®s->txrd); in grcan_reset()
514 if (priv->eskbp == txrd) in catch_up_echo_skb()
516 i = priv->eskbp / GRCAN_MSG_SIZE; in catch_up_echo_skb()
526 priv->eskbp = grcan_ring_add(priv->eskbp, GRCAN_MSG_SIZE, in catch_up_echo_skb()
697 priv->eskbp)) in grcan_err()
831 u32 eskbp = priv->eskbp; in grcan_running_reset() local
845 priv->eskbp = eskbp; in grcan_running_reset()
864 if (grcan_txspace(priv->dma.tx.size, txwr, priv->eskbp) && in grcan_running_reset()
1293 if (grcan_txspace(dma->tx.size, txwr, priv->eskbp)) in grcan_txbug_workaround()
1365 space = grcan_txspace(dma->tx.size, txwr, priv->eskbp); in grcan_start_xmit()