Lines Matching refs:eskbp
268 u32 eskbp; member
383 static inline u32 grcan_txspace(size_t txsize, u32 txwr, u32 eskbp) in grcan_txspace() argument
386 u32 used = grcan_ring_sub(txwr, eskbp, txsize) / GRCAN_MSG_SIZE; in grcan_txspace()
474 priv->eskbp = grcan_read_reg(®s->txrd); in grcan_reset()
516 if (priv->eskbp == txrd) in catch_up_echo_skb()
518 i = priv->eskbp / GRCAN_MSG_SIZE; in catch_up_echo_skb()
530 priv->eskbp = grcan_ring_add(priv->eskbp, GRCAN_MSG_SIZE, in catch_up_echo_skb()
700 priv->eskbp)) in grcan_err()
834 u32 eskbp = priv->eskbp; in grcan_running_reset() local
848 priv->eskbp = eskbp; in grcan_running_reset()
867 if (grcan_txspace(priv->dma.tx.size, txwr, priv->eskbp) && in grcan_running_reset()
1310 if (grcan_txspace(dma->tx.size, txwr, priv->eskbp)) in grcan_txbug_workaround()
1382 space = grcan_txspace(dma->tx.size, txwr, priv->eskbp); in grcan_start_xmit()