Lines Matching full:tx_head
24 "%s: echo_skb[%u]=NULL tx_head=0x%08x tx_tail=0x%08x\n", in rkcanfd_tx_tail_is_eff()
26 priv->tx_head, priv->tx_tail); in rkcanfd_tx_tail_is_eff()
60 const unsigned int tx_head = rkcanfd_get_tx_head(priv); in rkcanfd_xmit_retry() local
61 const u32 reg_cmd = RKCANFD_REG_CMD_TX_REQ(tx_head); in rkcanfd_xmit_retry()
70 unsigned int tx_head, frame_len; in rkcanfd_start_xmit() local
84 "Stopping tx-queue (tx_head=0x%08x, tx_tail=0x%08x, tx_pending=%d)\n", in rkcanfd_start_xmit()
85 priv->tx_head, priv->tx_tail, in rkcanfd_start_xmit()
117 tx_head = rkcanfd_get_tx_head(priv); in rkcanfd_start_xmit()
118 reg_cmd = RKCANFD_REG_CMD_TX_REQ(tx_head); in rkcanfd_start_xmit()
127 err = can_put_echo_skb(skb, ndev, tx_head, frame_len); in rkcanfd_start_xmit()
131 WRITE_ONCE(priv->tx_head, priv->tx_head + 1); in rkcanfd_start_xmit()